/* Face of Nigeria page styling */
:root {
    --face-green: #0b6623;
    --face-green-light: #def6e5;
    --face-dark: #10212b;
    --face-gray: #4b5563;
    --face-gold: #f4c95d;
}

/* Guest Layout Fixes */
.page-margin .row.guest-layout {
    margin-left: -15px;
    margin-right: -15px;
    display: block;
}

.page-margin .row.guest-layout::before,
.page-margin .row.guest-layout::after {
    content: "";
    display: table;
    clear: both;
}

.guest-leftcol {
    float: left;
    width: 16.66666667%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    position: relative;
    min-height: 1px;
}

.guest-main-col {
    float: left;
    width: 83.33333333%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    position: relative;
    min-height: 1px;
}

/* Ensure content doesn't overflow */
.guest-main-col .wow_content {
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.guest-main-col * {
    max-width: 100%;
    box-sizing: border-box;
}

.guest-main-col img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .guest-leftcol,
    .guest-main-col {
        width: 100%;
        float: none;
    }
}

.face-page {
    position: relative;
}

/* Face Hero - Foundation Colors */
.face-hero {
    background: linear-gradient(135deg, #0f5132 0%, #198754 60%, #0d6efd 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 48px 38px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.face-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 55%);
    pointer-events: none;
}

.face-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.face-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.face-hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.92);
}

.face-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Management Links Section */
.face-management-section {
    margin-bottom: 32px;
}

.face-management-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.face-management-links .btn {
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.face-management-links .btn-primary {
    background: #0f5132;
    color: #ffffff;
    border: 1px solid #0f5132;
}

.face-management-links .btn-primary:hover {
    background: #0d4228;
    border-color: #0d4228;
}

.face-management-links .btn-outline-primary {
    background: transparent;
    color: #0f5132;
    border: 1px solid #0f5132;
}

.face-management-links .btn-outline-primary:hover {
    background: #0f5132;
    color: #ffffff;
}

/* Section Header */
.face-section-header {
    margin-bottom: 24px;
}

.face-section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #10321d;
}

.face-section-header p {
    font-size: 16px;
    color: #516371;
    margin: 0;
}

/* Benefit Card Styles */
.benefit-card {
    text-align: center;
}

/* FAQ Styles */
.face-faq {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.face-faq-item {
    padding: 20px;
    background: #f7faf9;
    border-radius: 12px;
    border-left: 4px solid #198754;
}

.face-faq-item h3 {
    font-size: 20px;
    font-weight: 650;
    color: #10321d;
    margin-bottom: 10px;
}

.face-faq-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #46555f;
    margin: 0;
}

.face-btn-outline {
    background: transparent;
    border: 1px solid #f0fdf4;
    color: #f0fdf4;
    transition: all 0.2s ease;
}

.face-btn-outline:hover {
    background: #f0fdf4;
    color: var(--face-green);
}

.face-section {
    background: #ffffff;
    border: 1px solid #e4f1e8;
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 26px;
    box-shadow: 0 10px 26px rgba(16, 33, 43, 0.06);
}

.face-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--face-dark);
    margin-bottom: 12px;
}

.face-section p.section-intro {
    font-size: 16px;
    color: var(--face-gray);
    margin-bottom: 20px;
}

.face-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.face-card {
    background: var(--face-green-light);
    border: 1px solid rgba(11, 102, 35, 0.12);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.face-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(11, 102, 35, 0.18);
}

.face-card h3 {
    margin: 0;
    font-size: 18px;
    color: var(--face-dark);
}

.face-card p {
    margin: 0;
    color: var(--face-gray);
    line-height: 1.55;
}

.face-card span.meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--face-green);
}

.face-cta-link {
    font-weight: 600;
    color: var(--face-green);
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.face-leaderboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.leaderboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(16, 33, 43, 0.08);
    position: relative;
}

.leaderboard-card::before {
    content: attr(data-rank);
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 28px;
    font-weight: 700;
    color: rgba(11, 102, 35, 0.12);
}

.leaderboard-votes {
    font-weight: 600;
    color: var(--face-gold);
}

.face-hall-of-fame {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.face-hall-card {
    background: linear-gradient(135deg, #fff7e0 0%, #fde6b5 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 120, 0.4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.face-story-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.face-story-card {
    background: #f9fbff;
    border: 1px solid rgba(16, 33, 43, 0.08);
    border-radius: 16px;
    padding: 20px;
}

.face-comment-box {
    background: #f4faf6;
    border: 1px solid #dbeee1;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.face-comment-box textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid #cde1d5;
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    resize: vertical;
}

.face-comment-box button {
    align-self: flex-end;
    background: var(--face-green);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.face-comment-box button:hover {
    background: #0e7b2c;
}

.face-newsletter {
    background: linear-gradient(135deg, #ffffff 0%, #e4f6ea 100%);
    border: 1px solid #d2e8d8;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.face-newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.face-newsletter input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid #bbddc9;
    font-size: 14px;
}

.face-newsletter button {
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--face-dark);
    color: #ffffff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.face-newsletter button:hover {
    background: #17354a;
}

.face-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.face-footer-links a {
    padding: 8px 16px;
    background: #f0f7f2;
    color: var(--face-green);
    border-radius: 999px;
    border: 1px solid rgba(11, 102, 35, 0.18);
    font-weight: 600;
}

/* Expanded Content Styles */
.face-summary {
    margin: 24px 0;
    padding: 20px;
    background: #f9fafb;
    border-left: 4px solid var(--face-green);
    border-radius: 8px;
}

.face-summary .lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--face-dark);
    margin: 0;
    font-weight: 500;
}

.face-full-story {
    margin: 24px 0;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    line-height: 1.8;
    color: var(--face-dark);
    font-size: 16px;
}

.face-full-story p {
    margin-bottom: 16px;
}

.face-full-story p:last-child {
    margin-bottom: 0;
}

.face-story {
    margin: 24px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    line-height: 1.7;
    color: var(--face-dark);
    font-size: 16px;
}

.face-quote {
    margin: 32px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f4faf6 0%, #e4f6ea 100%);
    border-left: 5px solid var(--face-green);
    border-radius: 8px;
    font-size: 20px;
    font-style: italic;
    color: var(--face-dark);
    line-height: 1.6;
    position: relative;
}

.face-quote::before {
    content: '"';
    font-size: 48px;
    color: var(--face-green);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: Georgia, serif;
}

.story-summary {
    font-size: 16px;
    line-height: 1.7;
    color: var(--face-dark);
    margin-bottom: 16px;
    font-weight: 500;
}

.story-full-content {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    line-height: 1.8;
    color: var(--face-dark);
    font-size: 15px;
    border: 1px solid rgba(16, 33, 43, 0.1);
}

.story-full-content p {
    margin-bottom: 14px;
}

.story-full-content p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for expanded content */
@media (max-width: 768px) {
    .face-summary .lead {
        font-size: 16px;
    }

    .face-full-story {
        font-size: 15px;
        padding: 20px;
    }

    .face-quote {
        font-size: 18px;
        padding: 20px 24px;
    }

    .story-full-content {
        font-size: 14px;
        padding: 16px;
    }
}

/* Newspaper Sources Styles */
.newspaper-sources {
    margin-top: 12px;
    padding: 12px;
    background: #f0f7f2;
    border-radius: 8px;
    border-left: 3px solid var(--face-green);
}

.newspaper-sources-title {
    font-size: 13px;
    color: var(--face-dark);
    margin-bottom: 8px;
    margin-top: 0;
}

.newspaper-sources-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.newspaper-sources-list li {
    font-size: 12px;
    color: var(--face-gray);
    line-height: 1.6;
    margin-bottom: 4px;
}

.newspaper-sources-list li:last-child {
    margin-bottom: 0;
}

/* Image Styles */
.leaderboard-profile-image {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 2px solid rgba(11, 102, 35, 0.1);
}

.hall-profile-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 2px solid rgba(11, 102, 35, 0.1);
}

.story-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(16, 33, 43, 0.1);
}

.face-profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    margin: 20px 0;
    border: 2px solid rgba(11, 102, 35, 0.15);
    box-shadow: 0 8px 24px rgba(16, 33, 43, 0.12);
}

.face-hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    margin: 20px 0;
    border: 2px solid rgba(11, 102, 35, 0.15);
    box-shadow: 0 8px 24px rgba(16, 33, 43, 0.12);
}

.image-attribution {
    font-size: 12px;
    color: var(--face-gray);
    font-style: italic;
    margin-top: 6px;
    margin-bottom: 12px;
    padding: 8px;
    background: #f9fafb;
    border-radius: 6px;
    border-left: 3px solid var(--face-green);
}

.face-attribution-details {
    margin-top: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.face-attribution-details h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--face-dark);
}

.face-attribution-details h4 {
    font-size: 16px;
    margin: 16px 0 8px 0;
    color: var(--face-green);
    font-weight: 600;
}

.attribution-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.attribution-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.face-attribution-details p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--face-gray);
    line-height: 1.6;
}

.face-attribution-details a {
    color: var(--face-green);
    text-decoration: none;
    font-weight: 600;
}

.face-attribution-details a:hover {
    text-decoration: underline;
}

/* Video Styles */
.face-video,
.story-video {
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 33, 43, 0.12);
}

.face-video iframe,
.story-video iframe {
    width: 100%;
    height: auto;
    min-height: 400px;
    border: none;
    display: block;
}

.story-video {
    margin-bottom: 16px;
}

.face-hall-card img,
.leaderboard-card img {
    transition: transform 0.3s ease;
}

.face-hall-card:hover img,
.leaderboard-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .face-hero {
        padding: 32px 20px;
    }
    .face-hero h1 {
        font-size: 28px;
    }
    .face-section {
        padding: 22px;
    }
    .leaderboard-profile-image {
        max-width: 150px;
        height: 150px;
    }
    .hall-profile-image {
        max-width: 250px;
    }
    .face-hero-image {
        max-width: 100%;
    }
    .face-video iframe,
    .story-video iframe {
        min-height: 250px;
    }
}


