/* Featured Blog Card - Two Equal Columns */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 64px);
    align-items: start;
    padding: clamp(10px, 1.2vw, 12px);
    border-radius: clamp(16px, 2vw, 20px);
}

/* Content on the left (first column) */
.blog-featured-content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 24px);
    min-width: 0;
    align-self: start;
}

/* Image on the right (second column) */
.blog-featured-image {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: clamp(200px, 20vw, 258px);
    border-radius: clamp(10px, 1.2vw, 12px);
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    align-self: stretch;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.blog-featured-image:hover,
.blog-featured-image:focus {
    opacity: 0.95;
    transform: translateY(-2px);
    outline: none;
}

.blog-featured-image:focus-visible {
    outline: 2px solid rgba(181, 191, 255, 0.5);
    outline-offset: 4px;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: clamp(10px, 1.2vw, 12px);
    display: block;
    pointer-events: none;
}

.blog-featured-label {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
}

.blog-featured-label svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

.blog-featured-label span {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.1px;
    background: linear-gradient(138.91deg, #ffbfb5 22.107%, #c4b5ff 55.634%, #b5bfff 84.734%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.blog-featured-tags,
.blog-side-tags {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-tag-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.blog-tag-link:hover,
.blog-tag-link:focus {
    opacity: 0.8;
    outline: none;
}

.blog-tag-link:focus-visible {
    outline: 2px solid rgba(181, 191, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

.blog-tag {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: linear-gradient(to bottom, rgba(232, 232, 235, 0) 0%, rgba(232, 232, 235, 0.02) 100%);
    border: 1px solid rgba(235, 235, 238, 0.05);
    border-radius: 999px;
    padding: 0 12px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.1px;
    color: #9f9cb0;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

a.blog-tag:hover {
    border-color: rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
}

.blog-featured-top {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 24px);
}

.blog-featured-title {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: clamp(28px, 2.5vw, 32px);
    line-height: clamp(35px, 3.2vw, 40px);
    letter-spacing: 0.35px;
    color: #d4d4de;
    margin: 0;
}

.blog-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-featured-title a:hover,
.blog-featured-title a:focus {
    opacity: 0.8;
    outline: none;
}

.blog-featured-title a:focus-visible {
    outline: 2px solid rgba(181, 191, 255, 0.5);
    outline-offset: 4px;
    border-radius: 4px;
}

.blog-featured-author,
.blog-side-author {
    display: flex;
    gap: 8px;
    align-items: center;
}

.blog-author-avatar {
    width: 24px;
    height: 24px;
    background: rgba(11, 10, 21, 0.6);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.blog-author-info {
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.1px;
}

.blog-author-name {
    color: #d4d4de;
}

.blog-author-date {
    color: #9f9cb0;
    opacity: 0.8;
}

/* Side image styles (not featured) */
.blog-side-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: clamp(200px, 20vw, 258px);
    border-radius: clamp(10px, 1.2vw, 12px);
    flex-shrink: 1;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

/* Side image img styles */
.blog-side-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

.blog-side-image:hover,
.blog-side-image:focus {
    opacity: 0.95;
    transform: translateY(-2px);
    outline: none;
}

.blog-side-image:focus-visible {
    outline: 2px solid rgba(181, 191, 255, 0.5);
    outline-offset: 4px;
}

.blog-image-gradient {
    display: none;
}

/* Divider */
.blog-divider {
    height: 4px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-divider::before {
    content: '';
    width: 100%;
    height: 1px;
    background: url("data:image/svg+xml,%3Csvg width='1132' height='1' viewBox='0 0 1132 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H1132' stroke='%23EBEBEE' stroke-opacity='0.1'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

/* Side Blog Cards */
.blog-side-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(24px, 3vw, 32px);
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    box-sizing: border-box;
}

.blog-side-card {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 24px);
    padding: clamp(10px, 1.2vw, 12px) clamp(10px, 1.2vw, 12px) clamp(20px, 2.5vw, 24px) clamp(10px, 1.2vw, 12px);
    border-radius: clamp(16px, 2vw, 20px);
    height: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.blog-side-content {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 16px);
    padding: 0;
    flex: 1;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
}

.blog-side-top {
    display: grid;
    grid-template-rows: auto auto;
    gap: clamp(16px, 2vw, 20px);
    flex: 1;
    min-height: 0;
}

.blog-side-excerpt {
    grid-row: 2;
}

.blog-side-title {
    grid-row: 1;
    align-self: start;
}

.blog-side-excerpt {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.1px;
    color: #9f9cb0;
    margin: 0;
}

.blog-side-title {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: clamp(18px, 1.8vw, 20px);
    line-height: clamp(22px, 2.2vw, 24px);
    letter-spacing: 0.35px;
    color: #d4d4de;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-side-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-side-title a:hover {
    opacity: 0.8;
}

.blog-side-bottom {
    display: flex;
    gap: clamp(8px, 1vw, 12px);
    align-items: flex-start;
    justify-content: space-between;
}

.blog-side-bottom .blog-side-author {
    flex: 1 0 0;
}

.blog-read-more {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-read-more:hover {
    opacity: 0.8;
}

.blog-read-more span {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.1px;
    background: linear-gradient(138.91deg, #ffbfb5 22.107%, #c4b5ff 55.634%, #b5bfff 84.734%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.blog-read-more svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #b5bfff;
}

/* Browse All Button */
.blog-browse-all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(32px, 4vw, 40px);
}

/* Empty State */
.blog-posts-empty {
    text-align: center;
    padding: 60px 20px;
    color: #d4d4de;
}

.blog-posts-empty p {
    margin-bottom: 24px;
    font-size: 18px;
}

/* Blog Posts Section */
.blog-posts-section {
    background: var(--bg-surface-primary, #0B0A15);
    position: relative;
    z-index: 1; /* Above fixed particles background */
}

/* Responsive Design */
/* Featured card stays side-by-side from 768px and up */
/* Only switch to column layout on mobile (< 768px) */

/* Responsive breakpoint for side cards - ensure they don't overflow */
@media (max-width: 1000px) and (min-width: 769px) {
    .blog-featured-card {
        grid-template-columns: 1fr 1fr;
        gap: clamp(32px, 4vw, 48px);
    }

    .blog-side-cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: clamp(16px, 2vw, 24px);
    }

    .blog-side-card {
        min-width: 0;
    }

    .blog-side-image {
        height: clamp(180px, 18vw, 220px);
    }
}

/* Breakpoint at 768px to switch to single column */
@media (max-width: 768px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-side-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .blog-posts-section {
        padding: clamp(60px, 10vw, 80px) clamp(16px, 4vw, 24px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .blog-posts-section .section-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .blog-posts-section .section-content .container {
        width: 100%;
        max-width: 100%;
        padding-left: clamp(16px, 4vw, 24px);
        padding-right: clamp(16px, 4vw, 24px);
        box-sizing: border-box;
    }

    .blog-posts-section .section-header .container {
        flex-direction: column;
        gap: clamp(16px, 3vw, 24px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .blog-posts-layout {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: clamp(24px, 4vw, 32px);
        box-sizing: border-box;
    }

    /* Featured Card - Mobile */
    .blog-featured-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: clamp(16px, 2.5vw, 20px);
        padding: clamp(10px, 1.5vw, 12px);
        box-sizing: border-box;
    }

    .blog-featured-content {
        grid-column: auto;
        width: 100%;
        gap: clamp(16px, 2.5vw, 20px);
        order: 1;
    }

    .blog-featured-image {
        grid-column: auto;
        order: 2;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: clamp(140px, 25vw, 158px);
        aspect-ratio: 327 / 158;
        box-sizing: border-box;
    }

    .blog-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }

    .blog-featured-title {
        font-size: clamp(20px, 3.5vw, 24px);
        line-height: clamp(24px, 4vw, 28px);
        letter-spacing: 0.35px;
    }

    .blog-featured-top {
        gap: clamp(16px, 2.5vw, 20px);
    }

    .blog-featured-label {
        gap: clamp(4px, 0.8vw, 6px);
    }

    .blog-featured-label svg {
        width: clamp(16px, 2.2vw, 18px);
        height: clamp(16px, 2.2vw, 18px);
    }

    .blog-featured-label span {
        font-size: clamp(12px, 1.8vw, 14px);
        line-height: clamp(18px, 2.8vw, 21px);
    }

    .blog-tag {
        padding: 0 clamp(10px, 1.5vw, 12px);
        height: clamp(24px, 3.2vw, 26px);
        font-size: clamp(12px, 1.8vw, 14px);
        line-height: clamp(18px, 2.8vw, 21px);
    }

    /* Side Cards - Mobile */
    .blog-side-cards {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 32px);
        width: 100%;
    }

    .blog-side-card {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: clamp(16px, 2.5vw, 20px);
        padding: clamp(10px, 1.5vw, 12px) clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 24px) clamp(10px, 1.5vw, 12px);
        box-sizing: border-box;
    }

    .blog-side-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: clamp(140px, 25vw, 158px);
        aspect-ratio: 327 / 158;
        order: 1;
        box-sizing: border-box;
    }

    .blog-side-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blog-side-content {
        order: 2;
        width: 100%;
        gap: clamp(14px, 2vw, 16px);
    }

    .blog-side-top {
        gap: clamp(16px, 2.5vw, 20px);
    }

    .blog-side-excerpt {
        font-size: clamp(12px, 1.8vw, 14px);
        line-height: clamp(18px, 2.8vw, 21px);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
    }

    .blog-side-title {
        font-size: clamp(14px, 2.2vw, 16px);
        line-height: clamp(20px, 3.2vw, 24px);
        letter-spacing: 0.1px;
        min-height: auto;
    }

    .blog-side-bottom {
        align-items: center;
        gap: clamp(8px, 1.5vw, 12px);
    }

    /* Browse All Button - Mobile */
    .blog-browse-all {
        margin-top: clamp(32px, 5vw, 40px);
        width: 100%;
    }

    .blog-browse-all .btn-outline {
        width: 100%;
        max-width: 327px;
    }
}

/* ============================================
   Promoter Blog Section
   ============================================ */

.promoter-blog-section {
    position: relative;
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--bg-surface-primary, #0B0A15);
    z-index: 1; /* Above fixed particles background */
}

.promoter-blog-section .section-content {
    width: 100%;
}

/* Section Header */
.promoter-blog-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 4vw, 32px);
    margin-bottom: clamp(40px, 6vw, 64px);
    text-align: center;
}

.promoter-blog-label {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.promoter-blog-label svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    display: block;
}

.promoter-blog-label span {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.1px;
    background: linear-gradient(138.91deg, #ffbfb5 22.107%, #c4b5ff 55.634%, #b5bfff 84.734%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.promoter-blog-title {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: clamp(40px, 5vw, 56px);
    line-height: clamp(48px, 6vw, 64px);
    letter-spacing: 0.196px;
    color: #ebebee;
    margin: 0;
    text-align: center;
}

/* Blog Cards Grid */
.promoter-blog-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 3vw, 32px);
    width: 100%;
    margin-bottom: clamp(32px, 4vw, 40px);
}

.promoter-blog-card {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 24px);
    padding: clamp(10px, 1.2vw, 12px) clamp(10px, 1.2vw, 12px) clamp(20px, 2.5vw, 24px) clamp(10px, 1.2vw, 12px);
    border-radius: clamp(16px, 2vw, 20px);
}

.promoter-blog-image {
    display: block;
    width: 100%;
    height: clamp(200px, 20vw, 258px);
    border-radius: clamp(10px, 1.2vw, 12px);
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.promoter-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.promoter-blog-image:hover,
.promoter-blog-image:focus {
    opacity: 0.95;
    transform: translateY(-2px);
    outline: none;
}

.promoter-blog-image:focus-visible {
    outline: 2px solid rgba(181, 191, 255, 0.5);
    outline-offset: 4px;
}

.promoter-blog-content {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vw, 16px);
    flex: 1;
    min-height: 0;
}

.promoter-blog-tags {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.promoter-blog-top {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 20px);
    flex: 1;
    min-height: 0;
}

.promoter-blog-excerpt {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.1px;
    color: #9f9cb0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promoter-blog-title-card {
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 500;
    font-size: clamp(18px, 2vw, 20px);
    line-height: clamp(22px, 2.5vw, 24px);
    letter-spacing: 0.35px;
    color: #d4d4de;
    margin: 0;
}

.promoter-blog-title-card a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.promoter-blog-title-card a:hover {
    opacity: 0.8;
}

.promoter-blog-bottom {
    display: flex;
    gap: clamp(8px, 1vw, 12px);
    align-items: flex-start;
    justify-content: space-between;
}

.promoter-blog-author {
    flex: 1 0 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.promoter-blog-browse-all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(32px, 4vw, 40px);
}

/* Empty State */
.promoter-blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #d4d4de;
    grid-column: 1 / -1;
}

.promoter-blog-empty p {
    margin-bottom: 24px;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .promoter-blog-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(20px, 2.5vw, 24px);
    }
}

@media (max-width: 767px) {
    .promoter-blog-section {
        padding: clamp(60px, 10vw, 80px) clamp(16px, 4vw, 24px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .promoter-blog-section .section-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .promoter-blog-section .container {
        width: 100%;
        max-width: 100%;
        padding-left: clamp(16px, 4vw, 24px);
        padding-right: clamp(16px, 4vw, 24px);
        box-sizing: border-box;
    }

    .promoter-blog-header {
        gap: clamp(20px, 3vw, 24px);
        margin-bottom: clamp(32px, 5vw, 40px);
    }

    .promoter-blog-title {
        font-size: clamp(32px, 6vw, 40px);
        line-height: clamp(40px, 7vw, 48px);
    }

    .promoter-blog-layout {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 32px);
        width: 100%;
    }

    .promoter-blog-card {
        width: 100%;
        max-width: 100%;
        gap: clamp(16px, 2.5vw, 20px);
        padding: clamp(10px, 1.5vw, 12px);
        box-sizing: border-box;
    }

    .promoter-blog-image {
        width: 100%;
        height: auto;
        min-height: clamp(140px, 25vw, 158px);
        aspect-ratio: 327 / 158;
    }

    .promoter-blog-content {
        gap: clamp(14px, 2vw, 16px);
    }

    .promoter-blog-top {
        gap: clamp(16px, 2.5vw, 20px);
    }

    .promoter-blog-excerpt {
        font-size: clamp(12px, 1.8vw, 14px);
        line-height: clamp(18px, 2.8vw, 21px);
    }

    .promoter-blog-title-card {
        font-size: clamp(16px, 2.2vw, 18px);
        line-height: clamp(20px, 2.8vw, 22px);
    }

    .promoter-blog-browse-all {
        margin-top: clamp(32px, 5vw, 40px);
        width: 100%;
    }

    .promoter-blog-browse-all .btn-outline {
        width: 100%;
        max-width: 327px;
    }
}
