.btn {
    padding: 14px 25px;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.5s;
    text-align: center;
}

section {
    margin: auto;
    margin-top: 3%;
    margin-bottom: 5%;
}

.hero-container {
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.hero-header .label {
    display: block;
    padding-bottom: 10px;
    font-style: italic;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-header h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(26px, 4vw, 35px);
    line-height: 1.1;
}

.hero-header h3 {
    margin-bottom: 3px;
}

.hero-content p {
    max-width: 95%;
    margin: 0 0 15px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

.hero-image {
    min-height: 75dvh;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Content */

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}


/* Button */

.hero-button {
    align-self: flex-start;
    padding: 14px 25px;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.5s;
}

.hero-button:hover {
    background: var(--accent);
}


/* =========================
   POST CARD IMAGE
========================= */
.sector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sector-header .label {
    display: block;
    padding-bottom: 10px;
    font-style: italic;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.sector-header h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(26px, 4vw, 50px);
    line-height: 1.1;
}


.sector-header p {
    width: 100%;
    margin: 0 0 10px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

.post-card-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #eee;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

/* =========================
   LATEST POSTS
========================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    background: var(--white);
    border: 1px solid #e7e2d8;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.post-card-content {
    padding: 15px;
}

.post-card h2 {
    margin: 3px 0;
    font-size: 20px;
    line-height: 1.3;
}

.post-card h2 a {
    color: var(--text);
    text-decoration: none;
}

.post-card h2 a:hover {
    color: var(--secondary);
}

.post-card p {
    color: var(--muted-text);
    font-size: 14px;
    line-height: 1.7;
}

.read-more {
    font-size: 15px;
    padding: 10px 20px;
}

.read-more:hover {
    scale: .8;
}

/* Archieves */
.archives-container {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 1rem;
}

.label {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.archives-content h2 {
    margin: 10px 0 5px;
    color: var(--text);
    font-size: clamp(38px, 5vw, 45px);
    line-height: 1.1;
}

.archives-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.archives-button {
    display: inline-block;
    padding: 14px 25px;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
    border-radius: 10px;
}

.archives-button:hover {
    scale: .9;
}


.archives-visual {
    position: relative;
    min-height: 500px;
    width: 100%;
}

.archive-year {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background-color: var(--secondary);
    width: 155px;
    height: 150px;
    color: var(--primary);
}

.archive-year span {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.archive-year strong {
    font-size: 32px;
    font-weight: 800;
}

/* Main historical image */
.archive-year-three {
    top: 60px;
    left: 15%;
    width: 60%;
    height: 350px;
    padding: 0;
    transform: rotate(-5deg);
}

.archive-year-three img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-year-three span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    padding: 5%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* Archive 2026 */
.archive-year-one {
    top: 5%;
    right: 15%;
    transform: rotate(6deg);
    z-index: 2;
    background-color: var(--text-light);
}

/* History 1857 */
.archive-year-two {
    bottom: 25%;
    left: 5%;
    transform: rotate(-8deg);
    z-index: 3;
    background: var(--accent);

}

/* People collection */
.archive-year-four {
    top: 165px;
    right: 5%;
    transform: rotate(5deg);
    z-index: 4;
    background-color: var(--muted-text);
}

.archive-year-four strong {
    font-size: 21px;
}

/* Places collection */
.archive-year-five {
    bottom: 10%;
    right: 18%;
    transform: rotate(-4deg);
    z-index: 5;
}

.archive-year-five strong {
    font-size: 20px;
}

/* =========================================
   DID YOU KNOW
========================================= */

.did-you-know {
    padding: 100px 7%;
    background: #ffffff;
}

.did-you-know-container {
    max-width: 1200px;
    margin: auto;
}


/* Heading */

.did-you-know-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.did-you-know-heading>span {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.did-you-know-heading h2 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
}

.did-you-know-heading p {
    margin: 0;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}


/* Facts */

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fact-card {
    position: relative;
    padding: 35px 28px;
    min-height: 300px;
    background: var(--primary);
    border: 1px solid rgba(197, 118, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(31, 31, 31, 0.08);
}


/* Number */

.fact-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(197, 118, 0, 0.3);
    font-size: 13px;
    font-weight: 700;
}


/* Icon */

.fact-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: #ffffff;
    font-size: 18px;
}


/* Content */

.fact-card h3 {
    margin: 0 0 15px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.3;
}

.fact-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 700px) {
    section {
        margin-bottom: 10%;
    }

    .hero-container {
        width: 95%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sector-header .label {
        padding-bottom: 10px;
        font-size: 12px;
    }

    .hero-image {
        height: 100px;
    }

    .hero-content h1 {
        font-size: 25px;
        margin-bottom: 1%;
    }

    .hero-content h3 {
        width: 98%;
        font-size: 13px;
    }

    .hero-content p {
        width: 98%;
        margin: 0 0 10px;
        color: var(--text-light);
        font-size: 13px;
        line-height: 1.5;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .latest-posts {
        margin-top: 15%;
        margin-bottom: 0;
    }

    .read-more {
        width: 28%;
        font-size: 10px;
        border-radius: 8px;
        padding: 8px 1px;
    }


    .archives-container {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .archives-section {
        padding: 10% 5%;
        height: 100%;
        margin-bottom: 20%;
    }

    .archives-visual {
        min-height: 360px;
    }

    .archive-year {
        width: 120px;
        height: 100px;
    }

    .archive-year-three {
        left: 2%;
        top: 65px;
        width: 95%;
        height: 300px;
    }

    .archive-year-one {
        padding: 16px;
        top: 90px;
    }

    .archive-year strong,
    .archive-year-two strong {
        font-size: 15px;
    }

    .archive-year-two {
        padding: 16px;
        bottom: 20px;
        left: 0;
    }

    .archive-year-four {
        bottom: 0;
        right: 0px;
        padding: 16px;
    }

    .archive-year-five {
        right: -5%;
        top: 280px;
        padding: 16px;
    }


    .did-you-know {
        padding: 70px 5%;
    }

    .did-you-know-heading {
        margin-bottom: 40px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .fact-card {
        min-height: auto;
    }
}