/* =============================================================
   Instagram Reels section — [wplt_instagram_reels] shortcode
   ============================================================= */

.wplt-ig-reels {
    padding: 64px 24px 56px;
    background: var(--pc-footer);
    color: #fff;
}

/* ── Header ── */

.wplt-ig-reels__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 36px;
}

.wplt-ig-reels__heading-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wplt-ig-reels__logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.wplt-ig-reels__logo svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.wplt-ig-reels__title {
    font-size: clamp(20px, 3.5vw, 26px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.wplt-ig-reels__handle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 6px 14px;
    border-radius: 20px;
    transition: color 0.2s, border-color 0.2s;
}

.wplt-ig-reels__handle:hover,
.wplt-ig-reels__handle:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
}

/* ── Reel grid ── */

.wplt-ig-reels__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .wplt-ig-reels__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .wplt-ig-reels__grid[data-count="3"],
    .wplt-ig-reels__grid[data-count="4"] {
        grid-template-columns: repeat(4, 1fr);
    }

    .wplt-ig-reels__grid[data-count="2"] {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
}

/* ── Each embed wrapper ── */

.wplt-ig-reels__item {
    display: flex;
    justify-content: center;
}

.wplt-ig-reels__item .instagram-media {
    border-radius: 12px !important;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
}

/* ── Follow CTA ── */

.wplt-ig-reels__footer {
    text-align: center;
    margin-top: 40px;
}

.wplt-ig-reels__follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
    color: #fff;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(220, 39, 67, .35);
}

.wplt-ig-reels__follow-btn:hover,
.wplt-ig-reels__follow-btn:focus-visible {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 39, 67, .45);
}
