/**
 * Association Multi-Page Architecture & Monetization Stylesheet
 * Integrates responsive multi-page layouts, zero-CLS ad containers,
 * corporate partner ribbons, vendor directories, career boards, and
 * editorial insights across all 4 visual templates.
 *
 * Monetized by Pentfield Technologies for Community Empowerment.
 */

/* ==========================================================================
   1. Pentfield Technologies Programmatic Ad Containers (Zero-CLS)
   ========================================================================== */
.pentfield-ad-container {
    width: 100%;
    margin: 24px auto;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.pentfield-ad-disclosure {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pentfield-ad-unit-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    position: relative;
}

/* Specific Slot Sizes & Zero-CLS Minimum Heights */
.leaderboard-box {
    min-height: 90px;
    max-width: 970px;
    margin: 0 auto;
}

.rectangle-box {
    min-height: 280px;
    max-width: 336px;
    margin: 0 auto;
}

.skyscraper-box {
    min-height: 600px;
    max-width: 300px;
    margin: 0 auto;
}

.pentfield-ad-placeholder {
    width: 100%;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    text-align: center;
}

.pentfield-ad-placeholder .ad-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pentfield-ad-placeholder .ad-category-indicator {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.pentfield-ad-placeholder .ad-notice {
    font-size: 11px;
    color: #64748b;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.pentfield-ad-placeholder .ad-cta-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.pentfield-ad-placeholder .ad-cta-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* ==========================================================================
   2. Global Corporate Partner Ribbon
   ========================================================================== */
.pentfield-sponsor-ribbon {
    background: #0f172a;
    color: #f8fafc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

.sponsor-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.sponsor-ribbon-title {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #94a3b8;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sponsor-logos-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sponsor-logo-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 6px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sponsor-logo-item:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: #ffffff;
}

.sponsor-tier-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sponsor-tier-badge.tier-platinum {
    background: #e0e7ff;
    color: #3730a3;
}

.sponsor-tier-badge.tier-gold {
    background: #fef3c7;
    color: #92400e;
}

.sponsor-tier-badge.tier-silver {
    background: #f1f5f9;
    color: #475569;
}

.sponsor-become-link {
    color: #60a5fa !important;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.sponsor-become-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* ==========================================================================
   3. Multi-Page Hero Banner & Breadcrumbs
   ========================================================================== */
.association-page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 50px 0 40px 0;
    position: relative;
    border-bottom: 3px solid #2563eb;
}

.association-page-header .page-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,0.25);
    border: 1px solid rgba(147,197,253,0.3);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.association-page-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.association-page-header p.page-lead {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0 0 16px 0;
    max-width: 800px;
    line-height: 1.6;
}

.page-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
}

.page-breadcrumbs a {
    color: #93c5fd;
    text-decoration: none;
}

.page-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Main Container Layout */
.association-multipage-body {
    padding: 50px 0;
    background: #f8fafc;
    min-height: 600px;
}

/* ==========================================================================
   4. Editorial & Industry Insights (Articles Engine)
   ========================================================================== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.insight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.insight-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.insight-card-cat {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight-card-read {
    font-size: 11px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

.insight-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: #0f172a;
}

.insight-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.insight-card-title a:hover {
    color: #2563eb;
}

.insight-card-summary {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex: 1;
}

.insight-card-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.insight-author {
    font-weight: 600;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.insight-read-more-link {
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.insight-read-more-link:hover {
    text-decoration: underline;
}

/* Long-Form Article Reading Layout */
.article-reading-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.article-body-content {
    font-size: 16px;
    line-height: 1.8;
    color: #1e293b;
}

.article-body-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 36px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.article-body-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 28px 0 12px 0;
}

.article-body-content p {
    margin-bottom: 20px;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body-content li {
    margin-bottom: 8px;
}

/* ==========================================================================
   5. Certified Industry Vendor Directory
   ========================================================================== */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.vendor-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.vendor-card:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 16px rgba(37,99,235,0.08);
}

.vendor-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.vendor-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.vendor-badge-verified {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.vendor-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex: 1;
}

.vendor-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    font-size: 12px;
    color: #64748b;
}

.vendor-details-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   6. Career & Opportunity Board
   ========================================================================== */
.career-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.career-item-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.career-main-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.career-meta-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
}

.career-pill {
    background: #f1f5f9;
    color: #334155;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.career-pill.pill-full-time {
    background: #eff6ff;
    color: #1d4ed8;
}

/* ==========================================================================
   7. Membership Tiers & Sponsorship Pricing Tables
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.tier-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    position: relative;
    transition: transform 0.2s;
}

.tier-card.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}

.tier-card-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 12px;
}

.tier-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.tier-price {
    font-size: 30px;
    font-weight: 800;
    color: #1e3a8a;
    margin: 12px 0;
}

.tier-price span {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.tier-benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex: 1;
}

.tier-benefits-list li {
    font-size: 13px;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tier-benefits-list li i {
    color: #16a34a;
    font-size: 14px;
    margin-top: 3px;
}

/* ==========================================================================
   8. Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .association-page-header h1 {
        font-size: 24px;
    }
    .article-reading-container {
        padding: 20px;
    }
    .career-item-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .leaderboard-box {
        min-height: 50px;
    }
}

/* ==========================================================================
   9. Executive Council & Governance Officer Cards (Uncompressed & Spacious)
   ========================================================================== */
.exec-officer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.exec-officer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.exec-officer-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.exec-officer-col-img {
    flex: 0 0 38%;
    max-width: 38%;
    position: relative;
    background: #0f172a;
    padding: 0 !important;
}

.exec-officer-col-content {
    flex: 0 0 62%;
    max-width: 62%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 0 !important;
}

.exec-officer-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 240px;
    background: #f1f5f9;
    overflow: hidden;
}

.exec-officer-img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.exec-officer-card:hover .exec-officer-img {
    transform: scale(1.04);
}

.exec-officer-rank-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.exec-officer-body {
    padding: 24px 22px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
}

.exec-officer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--theme-accent, #2563eb);
    border: 1px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 10px;
    line-height: 1.3;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
}

.exec-officer-badge i {
    font-size: 11px;
    flex-shrink: 0;
}

.exec-officer-name {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 6px 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.exec-officer-credentials {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    word-break: break-word;
}

.exec-officer-credentials i {
    color: #94a3b8;
    font-size: 13px;
    flex-shrink: 0;
}

.exec-officer-bio {
    font-size: 13.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}

.exec-officer-status {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 991px) and (min-width: 768px) {
    .exec-officer-col-img {
        flex: 0 0 42%;
        max-width: 42%;
    }
    .exec-officer-col-content {
        flex: 0 0 58%;
        max-width: 58%;
    }
    .exec-officer-body {
        padding: 20px 18px;
    }
    .exec-officer-name {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .exec-officer-col-img,
    .exec-officer-col-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .exec-officer-img-wrap {
        min-height: 240px;
        max-height: 280px;
    }
    .exec-officer-body {
        padding: 20px 16px;
    }
    .exec-officer-name {
        font-size: 18px;
    }
}

