/*
Theme Name: APR Child
Template: kadence
Version: 1.0
Text Domain: apr-child
*/

/* ==========================================
   RESET
========================================== */

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-size:16px;
    line-height:1.7;
    color:#2d2d2d;
    background:#faf8f4;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

:root{

    --apr-primary:#1f3b5b;
    --apr-secondary:#b55b3d;
    --apr-accent:#c68a2d;

    --apr-light:#faf8f4;
    --apr-white:#ffffff;

    --apr-text:#2b2b2b;
    --apr-muted:#6d6d6d;

    --apr-radius:18px;

    --apr-shadow:
        0 12px 40px rgba(0,0,0,.08);

}

/* ==========================================
   LAYOUT
========================================== */

.apr-container{

    width:min(1200px,92%);
    margin:auto;

}

.apr-section{

    padding:90px 0;

}

.apr-section-header{

    text-align:center;
    margin-bottom:60px;

}

.apr-section-header h2{

    font-size:clamp(2rem,4vw,3rem);
    color:var(--apr-primary);
    margin-bottom:15px;

}

.apr-section-header p{

    max-width:700px;
    margin:auto;
    color:var(--apr-muted);

}
/* ==========================================
   HERO
========================================== */

.apr-hero{

    background:linear-gradient(135deg,#1f3b5b 0%,#2d547f 100%);
    color:#fff;
    padding:120px 0;

}

.apr-hero-content{

    max-width:760px;

}

.apr-badge{

    display:inline-block;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(8px);

    padding:10px 18px;

    border-radius:100px;

    font-size:.9rem;

    letter-spacing:.05em;

    text-transform:uppercase;

    margin-bottom:28px;

}

.apr-hero h1{

    font-size:clamp(2.8rem,6vw,5rem);

    line-height:1.1;

    margin:0 0 30px;

    font-weight:800;

}

.apr-lead{

    font-size:1.3rem;

    max-width:720px;

    opacity:.92;

    margin-bottom:45px;

}

/* ==========================================
   BUTTONS
========================================== */

.apr-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.apr-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    border-radius:999px;

    font-weight:700;

    transition:.3s;

}

.apr-btn-primary{

    background:var(--apr-secondary);

    color:#fff;

}

.apr-btn-primary:hover{

    background:#a44b2e;

    transform:translateY(-3px);

    box-shadow:var(--apr-shadow);

}

.apr-btn-secondary{

    border:2px solid rgba(255,255,255,.4);

    color:#fff;

}

.apr-btn-secondary:hover{

    background:#fff;

    color:var(--apr-primary);

}

/* ==========================================
   STATYSTYKI
========================================== */

.apr-stats{

    background:#ffffff;

    padding:70px 0;

    box-shadow:0 8px 40px rgba(0,0,0,.04);

}

.apr-stat-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:35px;

}

.apr-stat{

    text-align:center;

}

.apr-stat strong{

    display:block;

    font-size:3rem;

    color:var(--apr-secondary);

    line-height:1;

    margin-bottom:12px;

}

.apr-stat span{

    color:var(--apr-muted);

    font-size:1rem;

}
/* ==========================================
   KATEGORIE
========================================== */

.apr-category-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.apr-category-card{

    background:#ffffff;

    padding:40px 30px;

    border-radius:var(--apr-radius);

    box-shadow:0 10px 35px rgba(0,0,0,.06);

    transition:all .35s ease;

    position:relative;

    overflow:hidden;

}

.apr-category-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:6px;

    height:100%;

    background:var(--apr-secondary);

    transform:scaleY(0);

    transform-origin:top;

    transition:.35s;

}

.apr-category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(0,0,0,.12);

}

.apr-category-card:hover::before{

    transform:scaleY(1);

}

.apr-icon{

    width:72px;

    height:72px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

    border-radius:50%;

    background:#f4efe7;

    margin-bottom:25px;

}

.apr-category-card h3{

    margin:0 0 15px;

    color:var(--apr-primary);

    font-size:1.5rem;

}

.apr-category-card p{

    margin:0;

    color:var(--apr-muted);

}

/* ==========================================
   POLECANY REPORTAŻ
========================================== */

.apr-featured{

    padding:100px 0;

    background:#f3efe8;

}

.apr-featured-grid{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:60px;

    align-items:center;

}

.apr-featured-image img{

    width:100%;

    border-radius:24px;

    box-shadow:var(--apr-shadow);

}

.apr-label{

    display:inline-block;

    padding:8px 16px;

    border-radius:999px;

    background:#e6d6c8;

    color:var(--apr-secondary);

    font-weight:700;

    margin-bottom:20px;

}

.apr-featured-content h2{

    font-size:clamp(2rem,4vw,3.2rem);

    color:var(--apr-primary);

    margin:0 0 25px;

}

.apr-featured-content p{

    color:var(--apr-muted);

    font-size:1.1rem;

    margin-bottom:35px;

}
/* ==========================================
   REPORTAŻE
========================================== */

.apr-post-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.apr-post-card{

    background:#ffffff;

    border-radius:var(--apr-radius);

    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,.07);

    transition:.35s;

}

.apr-post-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 55px rgba(0,0,0,.12);

}

.apr-post-thumb{

    display:block;

    overflow:hidden;

}

.apr-post-thumb img{

    width:100%;

    aspect-ratio:16/10;

    object-fit:cover;

    transition:transform .5s;

}

.apr-post-card:hover .apr-post-thumb img{

    transform:scale(1.06);

}

.apr-post-content{

    padding:30px;

}

.apr-post-meta{

    margin-bottom:15px;

}

.apr-date{

    font-size:.9rem;

    color:var(--apr-secondary);

    font-weight:600;

}

.apr-post-content h3{

    margin:0 0 18px;

    font-size:1.5rem;

    line-height:1.3;

}

.apr-post-content h3 a{

    color:var(--apr-primary);

}

.apr-post-content p{

    color:var(--apr-muted);

    margin-bottom:24px;

}

.apr-read-more{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:var(--apr-secondary);

    font-weight:700;

    transition:.3s;

}

.apr-read-more:hover{

    transform:translateX(6px);

}

/* ==========================================
   O PROJEKCIE
========================================== */

.apr-about{

    padding:110px 0;

    background:#ffffff;

}

.apr-about-grid{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:70px;

    align-items:start;

}

.apr-about h2{

    font-size:clamp(2rem,4vw,3.2rem);

    color:var(--apr-primary);

    margin:0 0 30px;

}

.apr-about p{

    color:var(--apr-muted);

    margin-bottom:24px;

}

.apr-value-list{

    display:grid;

    gap:24px;

}

.apr-value-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

    padding:24px;

    background:#faf8f4;

    border-radius:18px;

    transition:.3s;

}

.apr-value-item:hover{

    background:#ffffff;

    transform:translateX(8px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.apr-value-icon{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--apr-primary);

    color:#ffffff;

    font-size:1.5rem;

    flex-shrink:0;

}

.apr-value-item h3{

    margin:0 0 10px;

    color:var(--apr-primary);

}

.apr-value-item p{

    margin:0;

}
/* ==========================================
   CTA
========================================== */

.apr-cta{

    padding:120px 0;

    background:linear-gradient(135deg,var(--apr-primary),#305983);

    color:#ffffff;

}

.apr-cta-box{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.apr-cta .apr-label{

    background:rgba(255,255,255,.15);

    color:#ffffff;

}

.apr-cta h2{

    font-size:clamp(2.2rem,5vw,3.8rem);

    margin:25px 0;

    line-height:1.15;

}

.apr-cta p{

    max-width:720px;

    margin:0 auto 40px;

    font-size:1.15rem;

    opacity:.92;

}

.apr-cta .apr-buttons{

    justify-content:center;

}

.apr-cta .apr-btn-secondary{

    border-color:rgba(255,255,255,.6);

}

/* ==========================================
   NEWSLETTER
========================================== */

.apr-newsletter{

    padding:100px 0;

    background:#f5f2ec;

}

.apr-newsletter-box{

    max-width:760px;

    margin:auto;

    text-align:center;

}

.apr-newsletter-box h2{

    font-size:clamp(2rem,4vw,3rem);

    color:var(--apr-primary);

    margin-bottom:20px;

}

.apr-newsletter-box p{

    color:var(--apr-muted);

    margin-bottom:35px;

}

.apr-newsletter-form{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    justify-content:center;

}

.apr-newsletter-form input{

    flex:1;

    min-width:280px;

    padding:18px 22px;

    border:none;

    border-radius:999px;

    background:#ffffff;

    font-size:1rem;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.apr-newsletter-form input:focus{

    outline:none;

    box-shadow:0 0 0 3px rgba(181,91,61,.25);

}

.apr-newsletter-form button{

    padding:18px 36px;

    border:none;

    border-radius:999px;

    background:var(--apr-secondary);

    color:#ffffff;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.apr-newsletter-form button:hover{

    background:#a44b2e;

    transform:translateY(-2px);

}

/* ==========================================
   ANIMACJE
========================================== */

.apr-category-card,
.apr-post-card,
.apr-value-item,
.apr-btn{

    transition:all .3s ease;

}

.apr-btn:active{

    transform:scale(.98);

}

::selection{

    background:var(--apr-secondary);

    color:#ffffff;

}
/* ==========================================
   RESPONSYWNOŚĆ
========================================== */

@media (max-width: 1024px){

    .apr-featured-grid{

        grid-template-columns:1fr;

        gap:50px;

    }

    .apr-about-grid{

        grid-template-columns:1fr;

        gap:50px;

    }

    .apr-hero{

        padding:90px 0;

    }

    .apr-section{

        padding:70px 0;

    }

    .apr-featured{

        padding:80px 0;

    }

    .apr-about{

        padding:80px 0;

    }

    .apr-cta{

        padding:90px 0;

    }

}

@media (max-width:768px){

    .apr-container{

        width:94%;

    }

    .apr-hero{

        text-align:center;

    }

    .apr-hero-content{

        margin:auto;

    }

    .apr-buttons{

        justify-content:center;

    }

    .apr-stat-grid{

        grid-template-columns:repeat(2,1fr);

        gap:25px;

    }

    .apr-category-grid{

        grid-template-columns:1fr;

    }

    .apr-post-grid{

        grid-template-columns:1fr;

    }

    .apr-newsletter-form{

        flex-direction:column;

    }

    .apr-newsletter-form input{

        width:100%;

        min-width:100%;

    }

    .apr-newsletter-form button{

        width:100%;

    }

    .apr-featured-content{

        text-align:center;

    }

    .apr-post-content{

        padding:25px;

    }

}

@media (max-width:480px){

    .apr-hero{

        padding:70px 0;

    }

    .apr-badge{

        font-size:.8rem;

    }

    .apr-lead{

        font-size:1.05rem;

    }

    .apr-stat-grid{

        grid-template-columns:1fr;

    }

    .apr-stat strong{

        font-size:2.3rem;

    }

    .apr-category-card{

        padding:30px 24px;

    }

    .apr-value-item{

        flex-direction:column;

        text-align:center;

    }

    .apr-value-icon{

        margin:auto;

    }

    .apr-cta h2{

        font-size:2rem;

    }

}

/* ==========================================
   KONIEC STYLE.CSS
========================================== */
/* =====================================================
   HERO
===================================================== */

.apr-hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    background:#071b33;
    overflow:hidden;
}

.apr-hero-overlay{
    width:100%;
    padding:100px 0;
}

.apr-container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

.apr-hero-content{
    max-width:700px;
}
.apr-kicker{
    color:#F2E2C4;
    font-size:18px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:20px;
}

.apr-hero h1{
    font-size:72px;
    line-height:1.05;
    color:#F2E2C4;
    font-weight:800;
    margin-bottom:30px;
}

.apr-lead{
    font-size:28px;
    line-height:1.6;
    color:#f3f3f3;
    max-width:700px;
    margin-bottom:50px;
}
/* ==================================================
   NAJNOWSZE REPORTAŻE
================================================== */

.apr-latest-reports{
    padding:100px 0;
    background:#f7f4ef;
}

.section-header{
    max-width:720px;
    margin:0 auto 60px;
    text-align:center;
}

.section-kicker{
    display:inline-block;
    margin-bottom:15px;

    font-size:.85rem;
    letter-spacing:2px;
    text-transform:uppercase;

    color:#8b6b43;
}

.section-header h2{
    font-size:3rem;
    margin-bottom:20px;
    color:#1d2d44;
}

.section-header p{
    font-size:1.15rem;
    line-height:1.8;
    color:#555;
}

.apr-report-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:35px;
}

.apr-report-card{

    background:#fff;

    overflow:hidden;

    border-radius:16px;

    box-shadow:
    0 18px 45px rgba(0,0,0,.08);

    transition:.35s;
}

.apr-report-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 30px 70px rgba(0,0,0,.14);
}

.report-image{

    height:320px;

    background:
    linear-gradient(
    rgba(8,23,42,.15),
    rgba(8,23,42,.55));

    background-color:#8b6b43;
}

.report-content{

    padding:30px;
}

.report-content h3{

    margin-bottom:18px;

    font-size:1.5rem;

    color:#1d2d44;
}

.report-content p{

    line-height:1.8;

    color:#555;

    margin-bottom:22px;
}

.report-content a{

    text-decoration:none;

    font-weight:600;

    color:#8b6b43;
}
/* ==================================================
   NAJNOWSZE REPORTAŻE
================================================== */

.apr-latest-reports{
    padding:100px 0;
    background:#f7f4ef;
}

.section-header{
    max-width:720px;
    margin:0 auto 60px;
    text-align:center;
}

.section-kicker{
    display:inline-block;
    margin-bottom:15px;

    font-size:.85rem;
    letter-spacing:2px;
    text-transform:uppercase;

    color:#8b6b43;
}

.section-header h2{
    font-size:3rem;
    margin-bottom:20px;
    color:#1d2d44;
}

.section-header p{
    font-size:1.15rem;
    line-height:1.8;
    color:#555;
}

.apr-report-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:35px;
}

.apr-report-card{

    background:#fff;

    overflow:hidden;

    border-radius:16px;

    box-shadow:
    0 18px 45px rgba(0,0,0,.08);

    transition:.35s;
}

.apr-report-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 30px 70px rgba(0,0,0,.14);
}

.report-image{

    height:320px;

    background:
    linear-gradient(
    rgba(8,23,42,.15),
    rgba(8,23,42,.55));

    background-color:#8b6b43;
}

.report-content{

    padding:30px;
}

.report-content h3{

    margin-bottom:18px;

    font-size:1.5rem;

    color:#1d2d44;
}

.report-content p{

    line-height:1.8;

    color:#555;

    margin-bottom:22px;
}

.report-content a{

    text-decoration:none;

    font-weight:600;

    color:#8b6b43;
}
/* ==========================================
   Delikatne dopracowanie kart reportaży
========================================== */

.apr-report-card{
    border:1px solid rgba(0,0,0,.05);
}

.report-image{
    height:380px;
}

.report-content{
    padding:35px;
}

.report-content h3{
    font-size:1.7rem;
    line-height:1.3;
}

.report-content p{
    font-size:1rem;
    color:#666;
}

.report-content a{
    display:inline-block;
    margin-top:8px;
    letter-spacing:.5px;
}
/* ==========================================
   Delikatne dopracowanie sekcji
========================================== */

.apr-latest-reports{
    padding:120px 0;
}

.apr-container{
    max-width:1280px;
    margin:0 auto;
    padding:0 30px;
}
/* ==========================================
   REPORTAŻ TYGODNIA
========================================== */

.apr-featured-report {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;

    background: #ffffff;
    border-radius: 18px;
    padding: 40px;

    box-shadow: 0 15px 35px rgba(0,0,0,.08);

    margin-top: 40px;
}

.apr-featured-image {
    width: 100%;
}

.apr-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;

    background: linear-gradient(135deg,#d9d2c4,#bca98a);

    border-radius: 14px;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;
    font-size:1.3rem;
    font-weight:700;
    letter-spacing:1px;
}

.apr-featured-content h3{
    font-size:2rem;
    line-height:1.2;
    margin:15px 0 20px;
}

.apr-featured-location{
    color:#8c6b3f;
    font-weight:600;
    margin:0;
}

.apr-featured-lead{
    font-size:1.1rem;
    line-height:1.8;
    color:#555;
    margin-bottom:30px;
}

.apr-featured-author{
    border-left:4px solid #b88646;
    padding-left:18px;
    margin-bottom:30px;

    color:#444;
}

.apr-featured-author strong{
    font-size:1.1rem;
}

@media (max-width:900px){

    .apr-featured-report{

        grid-template-columns:1fr;

        padding:25px;

        gap:30px;
    }

}
