/* Display Ads Page Styles */

/* Breadcrumb */
.display-ads-breadcrumb span {
    color: #0A0A0A !important;
}

/* Leaderboard Ad */
.display-ads-leaderboard {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

/* Hero Section */
.display-ads-hero {
    margin-top: 40px;
    margin-bottom: 40px;
}

.display-ads-hero h1 {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    color: #0A0A0A;
    text-align: left;
    margin-bottom: 20px;
}

.display-ads-hero p {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #666666;
    text-align: left;
    max-width: 900px;
    margin: 0;
}

/* Content Section */
.display-ads-content {
    margin: 3rem auto;
}

/* Display Ad Box */
.display-ad-box {
    background: white;
    border: 1px solid #E5E5EB;
    border-radius: 5px;
    padding: 30px;
    margin-bottom: 2rem;
}

.display-ad-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.display-ad-number {
    width: 40px;
    height: 40px;
    background: #00388B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.display-ad-number span {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: white;
}

.display-ad-title {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -0.015em;
    color: #000;
    margin: 0;
}

.display-ad-image {
    margin-bottom: 30px;
    text-align: center;
}

.display-ad-image img {
    max-width: 100%;
    height: auto;
}

/* Features */
.display-ad-feature {
    margin-bottom: 25px;
}

.display-ad-feature:last-child {
    margin-bottom: 0;
}

.display-ad-feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.display-ad-feature-title {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #000;
    margin: 0;
}

.display-ad-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.display-ad-feature-text {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #666666;
    margin: 0;
}

/* Display Ad Options Table */
.display-ad-options {
    margin-top: 3rem;
}

.display-ad-options-title {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    color: #000;
    margin-bottom: 20px;
}

.display-ad-table {
    border: 2px solid #E5E5EB;
    border-radius: 8px;
    overflow: hidden;
}

.display-ad-table-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
}

.display-ad-table-header-row {
    background: #F0F4FF;
}

.display-ad-table-header-row .display-ad-table-cell {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    color: #000;
}

.display-ad-table-row:nth-child(odd):not(.display-ad-table-header-row) {
    background: #F0F4FF;
}

.display-ad-table-row:nth-child(even) {
    background: white;
}

.display-ad-table-cell {
    padding: 25px 20px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #404040;
}

.display-ad-table-cell-first {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    color: #000;
}

.display-ad-table-row:not(.display-ad-table-header-row) .display-ad-table-cell:not(.display-ad-table-cell-first) {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #404040;
}

.display-ad-table-row:not(:last-child) {
    border-bottom: 1px solid #E5E5EB;
}

/* Responsive */
@media (max-width: 768px) {
    .display-ads-hero h1 {
        font-size: 32px;
    }
    
    .display-ads-hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .display-ad-box {
        padding: 20px;
    }

    .display-ad-header {
        flex-direction: row;
        align-items: center;
    }

    .display-ad-title {
        font-size: 16px;
    }

    .display-ad-feature-title {
        font-size: 16px;
        line-height: 24px;
    }

    .display-ad-feature-text {
        font-size: 16px;
        line-height: 24px;
    }

    .display-ad-table {
        border: none;
        border-radius: 0;
    }

    .display-ad-table-header-row {
        display: none;
    }

    .display-ad-table-row {
        grid-template-columns: 1fr;
        margin-bottom: 1.5rem;
        border: 1px solid #E5E5EB;
        border-radius: 8px;
        overflow: hidden;
    }

    .display-ad-table-row:last-child {
        margin-bottom: 0;
    }

    .display-ad-table-cell {
        border-bottom: 1px solid #E5E5EB;
        font-size: 14px;
        line-height: 20px;
        padding: 12px 15px;
        display: block;
    }

    .display-ad-table-cell:last-child {
        border-bottom: none;
    }

    .display-ad-table-cell::before {
        content: attr(data-label) ": ";
        font-weight: 700;
        display: block;
        margin-bottom: 5px;
        color: #000;
    }

    .display-ad-table-cell-first::before {
        content: "";
        display: none;
    }

    .display-ad-options-title {
        font-size: 16px;
        line-height: 22px;
    }

    .display-ad-table-cell-first {
        font-size: 16px;
        line-height: 22px;
        background: #F0F4FF;
    }
}

