/*
Theme Name: KBP Dark Magazine
Theme URI: https://kabarbonekpersebaya.com/
Author: Alterna Inc
Author URI: https://google.com
Description: A premium, ultra-fast, dynamic dark-mode sports magazine theme built exclusively for Kabar Bonek Persebaya. Fully integrated with native WordPress Customize, Menus, Widgets, and custom Lapangbola Liga 1 scraping.
Version: 1.0.0
Text Domain: kbp-dark-magazine
*/

/* --- DESIGN TOKENS (CSS VARIABLES) --- */
:root {
    --bg-primary: #121214;
    --bg-card: #18181c;
    --bg-header: #0e0e11;
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-accent: #00e676; /* Persebaya Vibrant Green */
    --color-accent-hover: #00c853;
    --color-border: #27272a;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Lora', Georgia, Cambria, "Times New Roman", Times, serif;
    --max-width: 1240px;
    --border-radius: 12px;
    --transition-smooth: all 0.25s ease-in-out;
}

/* --- RESET & GLOBAL STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo h1 {
    font-size: 26px;
    color: var(--color-text-main);
    letter-spacing: 1px;
    font-weight: 800;
}

.site-logo span {
    color: var(--color-accent);
}

/* --- DROP-DOWN SUBMENU IMPLEMENTATION --- */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    display: inline-block;
}

/* Submenu dropdown layout */
.main-navigation ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 999;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.main-navigation ul li:hover > ul {
    display: flex;
}

.main-navigation ul li ul li {
    width: 100%;
}

.main-navigation ul li ul a {
    text-transform: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    display: block;
    width: 100%;
}

.main-navigation ul li ul a:hover {
    background-color: rgba(255,255,255,0.03);
    color: var(--color-accent);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 18px;
}

/* --- BREAKING NEWS TICKER --- */
.ticker-wrap {
    background-color: #16161a;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 8px 15px;
    overflow: hidden;
    margin: 20px 0 10px 0;
}

.ticker-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.ticker-label {
    background-color: var(--color-accent);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 15px;
    white-space: nowrap;
}

.ticker-content-wrapper {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    animation: ticker-slide 30s linear infinite;
    gap: 40px;
    white-space: nowrap;
}

.ticker-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.ticker-item:hover {
    color: var(--color-accent);
}

@keyframes ticker-slide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --- HOMEPAGE HERO GRID --- */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 25px;
    margin: 30px 0;
}

.hero-large-card {
    position: relative;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 480px;
    border: 1px solid var(--color-border);
}

.hero-large-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: var(--transition-smooth);
}

.hero-large-card:hover img {
    transform: scale(1.02);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
}

.category-badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-meta {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- SIDEBAR MATCH CARD --- */
.hero-match-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #00c853);
}

.match-card-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 25px;
}

.match-teams-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 40%;
}

.match-team i {
    font-size: 36px;
    margin-bottom: 8px;
}

.match-team-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.match-vs {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-accent);
    background-color: rgba(0, 230, 118, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
}

.match-card-details {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

.match-card-venue {
    font-weight: 600;
    color: #fff;
    margin-top: 4px;
}

/* --- SECTION GENERAL STYLING --- */
.section-title {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 800;
    border-left: 5px solid var(--color-accent);
    padding-left: 15px;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title span {
    font-size: 12px;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: none;
}

/* --- NEWS UPDATE GRID (6 CARDS) --- */
.news-update-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.post-card-vertical {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.post-card-vertical:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 230, 118, 0.25);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-card-vertical:hover .card-img-wrap img {
    transform: scale(1.03);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.card-title a {
    color: #fff;
}

.card-title a:hover {
    color: var(--color-accent);
}

.card-excerpt {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-meta {
    margin-top: auto;
    font-size: 11px;
    color: var(--color-text-muted);
    display: flex;
    gap: 10px;
}

/* --- CREATIVE KABAR BONEK SECTION --- */
.kabar-bonek-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

.bonek-large-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--color-border);
}

.bonek-large-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: var(--transition-smooth);
}

.bonek-large-card:hover img {
    transform: scale(1.02);
}

.bonek-large-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.bonek-list-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bonek-mini-card {
    display: flex;
    gap: 15px;
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.bonek-mini-card:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}

.bonek-mini-card img {
    width: 90px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.bonek-mini-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bonek-mini-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

/* --- YOUTUBE CHANNEL WIDGET SECTION --- */
.youtube-section {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    padding: 30px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.youtube-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--color-border);
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- NEXT MATCH SECTION --- */
.next-match-section {
    background: linear-gradient(135deg, #18181c 0%, #1e1e24 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
}

.match-center-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px 0;
}

.big-team-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.big-team-logo i {
    font-size: 64px;
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
    margin-bottom: 15px;
}

.big-team-logo.opponent i {
    color: #ff3d00;
    text-shadow: 0 0 20px rgba(255, 61, 0, 0.3);
}

.big-team-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.big-match-info {
    width: 40%;
}

.big-match-vs {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.big-match-time {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.big-match-stadium {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-header);
    border-top: 1px solid var(--color-border);
    padding: 40px 0 20px;
    margin-top: 50px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-widget-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    .hero-grid, .kabar-bonek-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-update-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header layout */
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    .header-right {
        margin-top: 5px;
    }

    /* Grids to single column */
    .hero-grid, .news-update-grid, .kabar-bonek-row {
        grid-template-columns: 1fr;
    }
    .hero-large-card {
        height: 320px;
    }
    .hero-title {
        font-size: 22px;
    }
    
    .match-center-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    /* Footer layout */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* --- COMMENTS SECTION STYLING (DARK MODE & PREMIUM) --- */
#respond {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    font-family: var(--font-sans);
}

#reply-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#reply-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.logged-in-as {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.logged-in-as a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.logged-in-as a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

#commentform {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form-comment {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form-comment label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
}

#commentform textarea {
    background-color: #1e1e24;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 15px;
    color: #f3f4f6;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#commentform textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.15);
}

.comment-form-author, .comment-form-email, .comment-form-url {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.comment-form-fields-wrapper {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .comment-form-fields-wrapper {
        flex-direction: column;
        gap: 15px;
    }
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
    background-color: #1e1e24;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 15px;
    color: #f3f4f6;
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.15);
}

.form-submit {
    margin-top: 10px;
}

#commentform input[type="submit"] {
    background-color: var(--color-accent);
    color: #121214;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.1s ease;
}

#commentform input[type="submit"]:hover {
    background-color: var(--color-accent-hover);
    color: #121214;
}

#commentform input[type="submit"]:active {
    transform: scale(0.98);
}

/* --- EXISTING COMMENTS LIST STYLING --- */
.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comment-body {
    background-color: #18181c;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-author img.avatar {
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: #202024;
}

.comment-author .fn {
    font-style: normal;
    font-weight: 600;
    color: #fff;
}

.comment-metadata a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--color-accent);
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #e5e7eb;
}

.comment-content p {
    margin: 0;
}

.reply {
    margin-top: 15px;
    text-align: right;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.reply a:hover {
    color: var(--color-accent-hover);
}


/* --- SOCIAL FEEDS SECTION --- */
.social-feeds-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 992px) {
    .social-feeds-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* YouTube Grid */
.youtube-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .youtube-videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.yt-video-card {
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.yt-video-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.yt-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.yt-thumbnail-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    overflow: hidden;
}

.yt-thumbnail-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yt-video-card:hover .yt-thumbnail-wrap img {
    transform: scale(1.05);
}

.yt-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.25s ease, background-color 0.25s ease;
}

.yt-video-card:hover .yt-play-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
}

.yt-play-overlay i {
    font-size: 32px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.25s ease;
}

.yt-video-card:hover .yt-play-overlay i {
    transform: scale(1.1);
    color: var(--color-accent);
}

.yt-video-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    padding: 12px;
    margin: 0;
    color: var(--color-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px; /* Approx 2 lines */
}

/* Instagram Widget */
.instagram-widget-card {
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 20px;
}

.ig-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ig-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ig-meta-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ig-handle {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.ig-sub {
    font-size: 12px;
    color: var(--color-text-muted);
}

.ig-follow-btn {
    background-color: #0095f6;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.ig-follow-btn:hover {
    background-color: #1877f2;
}

.ig-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ig-photo-item {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Square */
    border-radius: 6px;
    overflow: hidden;
    display: block;
}

.ig-photo-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.25s ease;
}

.ig-photo-item:hover .ig-photo-overlay {
    opacity: 1;
}

.ig-photo-overlay span {
    display: flex;
    align-items: center;
    gap: 4px;
}
