/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Nada
Description: Child theme for FLPD website
Version: 1.0.0
Text Domain: kadence-child
*/
/*
Theme Name: Kadence Child
Template: kadence
...
*/

/* HOMEPAGE CSS STARTS HERE */
.flpd-home {
    background: #f5f6f7;
    color: #111827;
}

/* rest of CSS */
/* CATEGORY ARCHIVE */

.flpd-category-page {
    background: #f5f6f7;
}



.flpd-category-content {
    padding: 70px 0;
}

.flpd-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.flpd-category-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
    transition: 0.2s ease;
}

.flpd-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
}

.flpd-category-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #111827;
    overflow: hidden;
}

.flpd-category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.25s ease;
}

.flpd-category-card:hover .flpd-category-thumb img {
    transform: scale(1.04);
}

.flpd-category-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #d8b26e;
    font-weight: 700;
}

.flpd-category-card-content {
    padding: 26px;
}

.flpd-category-post-title {
    font-size: 25px;
    line-height: 1.45;
    margin: 0 0 12px;
}

.flpd-category-post-title a {
    color: #111827;
    text-decoration: none;
}

.flpd-category-post-title a:hover {
    color: #9b1c31;
}

.flpd-category-meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 14px;
}

.flpd-category-excerpt {
    color: #374151;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.flpd-read-more {
    color: #9b1c31;
    font-weight: 700;
    text-decoration: none;
}

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

.flpd-pagination {
    margin-top: 50px;
    text-align: center;
}

.flpd-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flpd-pagination .page-numbers {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111827;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
}

.flpd-pagination .page-numbers.current,
.flpd-pagination .page-numbers:hover {
    background: #9b1c31;
    color: #fff;
}



@media (max-width: 1000px) {
    .flpd-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .flpd-category-content {
        padding: 35px 0;
    }

    .flpd-category-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .flpd-category-card-content {
        padding: 20px;
    }

    .flpd-category-post-title {
        font-size: 22px;
    }
}
.flpd-home {
    background: #f5f6f7;
    color: #111827;
}

.flpd-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.flpd-hero {
    background: linear-gradient(135deg, #111827 0%, #2b1114 100%);
    color: #fff;
    padding: 90px 0;
}



.flpd-kicker {
    color: #9b1c31;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.flpd-hero .flpd-kicker {
    color: #d8b26e;
}



.flpd-hero-description {
    font-size: 19px;
    line-height: 1.8;
    color: #e5e7eb;
}

.flpd-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.flpd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.flpd-btn-primary {
    background: #9b1c31;
    color: #fff;
}

.flpd-btn-primary:hover {
    background: #7c1628;
    color: #fff;
}

.flpd-btn-secondary {
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
}

.flpd-btn-secondary:hover {
    background: #fff;
    color: #111827;
}

.flpd-btn-light {
    background: #fff;
    color: #9b1c31;
}

.flpd-hand-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 35px;
    border-radius: 24px;
    text-align: center;
}

.flpd-hand-card img {
    max-width: 260px;
    height: auto;
}

.flpd-mission,
.flpd-section,
.flpd-contact-cta {
    padding: 70px 0;
}

.flpd-section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 35px;
}

.flpd-section-heading h2,
.flpd-section-top h2,
.flpd-archive-cta h2,
.flpd-contact-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin: 0;
    color: #111827;
}

.flpd-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.flpd-mission-card,
.flpd-post-card,
.flpd-news-item {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(15,23,42,0.06);
}

.flpd-mission-card h3 {
    font-size: 24px;
    margin-top: 0;
    color: #9b1c31;
}

.flpd-section-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 32px;
}

.flpd-view-all {
    color: #9b1c31;
    font-weight: 700;
    text-decoration: none;
}

.flpd-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.flpd-post-card {
    padding: 0;
    overflow: hidden;
}

.flpd-post-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #111827;
}

.flpd-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flpd-post-content {
    padding: 24px;
}

.flpd-post-date,
.flpd-news-date {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.flpd-post-card h3,
.flpd-news-item h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 12px;
}

.flpd-post-card h3 a,
.flpd-news-item h3 a {
    color: #111827;
    text-decoration: none;
}

.flpd-post-card h3 a:hover,
.flpd-news-item h3 a:hover {
    color: #9b1c31;
}

.flpd-archive-cta {
    background: #9b1c31;
    color: #fff;
    padding: 70px 0;
}

.flpd-archive-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.flpd-archive-cta h2,
.flpd-archive-cta .flpd-kicker {
    color: #fff;
}

.flpd-archive-cta p {
    max-width: 720px;
    color: #f3f4f6;
}

.flpd-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.flpd-gallery-section {
    background: #fff;
}

.flpd-gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.flpd-gallery-card {
    position: relative;
    display: block;
    min-height: 230px;
    border-radius: 18px;
    overflow: hidden;
    background: #111827;
    color: #fff;
    text-decoration: none;
}

.flpd-gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    opacity: 0.78;
    transition: 0.2s ease;
}

.flpd-gallery-card:hover img {
    transform: scale(1.04);
    opacity: 0.6;
}

.flpd-gallery-card span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    font-weight: 700;
    font-size: 18px;
    z-index: 2;
}

.flpd-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #d8b26e;
    font-weight: 700;
}

.flpd-contact-cta {
    text-align: center;
    background: #f5f6f7;
}

.flpd-contact-cta p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .flpd-hero-inner,
    .flpd-mission-grid,
    .flpd-post-grid,
    .flpd-news-list,
    .flpd-gallery-preview {
        grid-template-columns: 1fr;
    }

    .flpd-hero {
        padding: 60px 0;
    }

    .flpd-section-top,
    .flpd-archive-inner {
        display: block;
    }

    .flpd-view-all {
        display: inline-block;
        margin-top: 12px;
    }

    .flpd-gallery-preview {
        gap: 14px;
    }
}
.flpd-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.flpd-lightbox.is-open {
    display: flex;
}

.flpd-lightbox-img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
}

.flpd-lightbox-close,
.flpd-lightbox-prev,
.flpd-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 42px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flpd-lightbox-close:hover,
.flpd-lightbox-prev:hover,
.flpd-lightbox-next:hover {
    background: #9b1c31;
}

.flpd-lightbox-close {
    top: 24px;
    right: 24px;
}

.flpd-lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.flpd-lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

body.flpd-lightbox-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .flpd-lightbox {
        padding: 18px;
    }

    .flpd-lightbox-close,
    .flpd-lightbox-prev,
    .flpd-lightbox-next {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .flpd-lightbox-close {
        top: 14px;
        right: 14px;
    }

    .flpd-lightbox-prev {
        left: 10px;
    }

    .flpd-lightbox-next {
        right: 10px;
    }
}
/* ARCHIVE / CATEGORY BANNER */

.flpd-archive-banner {
    background: #eef2f5;
    padding: 80px 20px;
    text-align: center;
}

.flpd-archive-banner h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.flpd-banner-kicker {
    color: #9b1c31;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}


/* CLEANER HOMEPAGE HERO */

.flpd-hero {
    background: linear-gradient(135deg, #111827 0%, #2b1114 100%);
    color: #fff;
    padding: 70px 0;
}

.flpd-hero-inner {
    display: grid;
    grid-template-columns: 1fr ;
  
    align-items: center;
}

.flpd-hero h1 {
    color: #fff;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    margin: 0 0 22px;
}

.flpd-hero-description {
    font-size: 18px;
    line-height: 1.75;
    color: #e5e7eb;
    margin-bottom: 0;
}

.flpd-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.flpd-hero-image {
    display: flex;
    justify-content: center;
}

.flpd-hand-card {
    width: 100%;
    max-width: 340px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 28px;
    border-radius: 22px;
    text-align: center;
}

.flpd-hand-card img {
    max-width: 230px;
    height: auto;
}

@media (max-width: 900px) {
    .flpd-hero {
        padding: 55px 0;
    }

    .flpd-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .flpd-hero-image {
        justify-content: flex-start;
    }

    .flpd-hand-card {
        max-width: 240px;
        padding: 20px;
    }

    .flpd-hand-card img {
        max-width: 180px;
    }

    .flpd-hero h1 {
        font-size: 40px;
    }
}
/* HEADER CLEANUP */

.site-branding a.custom-logo-link img,
.custom-logo-link img {
    max-width: 210px;
    height: auto;
}

.site-header,
.site-main-header-wrap {
    background: #fff;
}

@media (max-width: 900px) {
    .site-branding a.custom-logo-link img,
    .custom-logo-link img {
        max-width: 160px;
    }
}
/* PAGE TITLE BANNER - KADENCE */

.entry-hero.page-hero-section,
.entry-hero,
.entry-hero-container-inner {
    background: #eef2f5 !important;
}

.entry-hero.page-hero-section {
    min-height: 190px !important;
    padding: 25px 20px !important;
    display: flex !important;
    align-items: center !important;
}

.entry-hero-container-inner {
    width: 100% !important;
}

.entry-header.page-title {
    text-align: center !important;
}

.entry-header.page-title .entry-title,
.entry-hero h1,
.page .entry-title {
    color: #111827 !important;
    font-size: clamp(34px, 5vw, 54px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
}

/* optional small line above page title */
.entry-header.page-title::before {
    content: "Memory • Justice • Truth";
    display: block;
    color: #9b1c31;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* remove extra empty space under page title */
.content-area {
    margin-top: 0 !important;
}

.site-main {
    padding-top: 0;
}
/* CUSTOM ARCHIVE BANNER */

.flpd-archive-banner {
    background: #eef2f5;
    padding: 75px 20px;
    text-align: center;
}

.flpd-archive-banner h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
}

.flpd-banner-kicker {
    color: #9b1c31;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}
/* ARCHIVE FEATURED IMAGES - fixed height */

.flpd-category-thumb {
    height: 260px !important;
    aspect-ratio: auto !important;
}

.flpd-category-thumb img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Kadence/default archive images if used anywhere */
.archive .post-thumbnail,
.archive .post-thumbnail img,
.category .post-thumbnail,
.category .post-thumbnail img,
.archive .entry-image,
.archive .entry-image img,
.category .entry-image,
.category .entry-image img {
    height: 260px !important;
    object-fit: cover !important;
    object-position: center center !important;
}
    .site-footer-row-container-inner{background: #000;
    color: #fff;}
    .entry-hero.page-hero-section .entry-header {
    min-height: 20px;
}