:root {
    --black: #171b26;
    --white: #ffffff;
    --red: #e11d2e;
    --gray: #475467;
    --light-gray: #f5f6f8;
    --border: #eaecf0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    color: var(--black);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
}

.site-logo span {
    color: var(--red);
}

.main-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu a {
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
}

.primary-menu a:hover {
    color: var(--red);
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 7px;
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
}

.search-button:hover {
    border-color: var(--red);
    color: var(--red);
}

.mobile-menu-toggle {
    display: none;
    margin-left: auto;
    padding: 4px;
    background: transparent;
    border: 0;
    color: var(--black);
    font-size: 26px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: block;
    margin-bottom: 28px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    max-width: 600px;
    margin: 0 0 24px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero-description {
    max-width: 580px;
    margin: 0 0 32px;
    color: #344054;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 7px;
    font-weight: 600;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-secondary {
    border: 1px solid var(--black);
    color: var(--black);
}

.featured-placeholder {
    display: flex;
    min-height: 340px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--light-gray);
    color: var(--gray);
}

.story-category {
    display: block;
    margin-bottom: 14px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}

.hero-featured h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.25;
}

.read-time {
    color: var(--gray);
    font-size: 14px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .header-inner {
        min-height: 68px;
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        margin-left: 0;
        padding: 22px;
        background: #ffffff;
        border: 1px solid var(--border);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .main-navigation.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .header-actions {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .featured-placeholder {
        min-height: 250px;
    }
}

@media (max-width: 782px) {

    .admin-bar .site-header {
        top: 46px;
    }
}
/* FEATURED STORY */

.hero-story {
    width: 100%;
}

.featured-story-image {
    display: block;
    width: 100%;
    height: 340px;
    margin-bottom: 22px;
    object-fit: cover;
    border-radius: 14px;
}

.hero-story h2 a {
    color: var(--black);
    text-decoration: none;
}

.hero-story h2 a:hover {
    color: var(--red);
}

@media (max-width: 900px) {

    .featured-story-image {
        height: 280px;
    }
}
/* =========================
   TRENDING
========================= */

.trending-section {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-size: 36px;
    letter-spacing: -1px;
}

.section-heading p {
    margin: 0;
    color: var(--gray);
    font-size: 17px;
}

.trending-grid {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 36px;
}

.trending-featured-image {
    display: block;
    width: 100%;
    height: 380px;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 14px;
}

.trending-featured h3 {
    margin: 12px 0;
    font-size: 30px;
    line-height: 1.2;
}

.trending-featured h3 a,
.trending-card h3 a {
    color: var(--black);
}

.trending-featured h3 a:hover,
.trending-card h3 a:hover {
    color: var(--red);
}

.trending-small-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 24px;
}

.trending-card-image {
    display: block;
    width: 100%;
    height: 160px;
    margin-bottom: 16px;
    object-fit: cover;
    border-radius: 10px;
}

.trending-card h3 {
    margin: 10px 0;
    font-size: 21px;
    line-height: 1.3;
}

.trending-placeholder {
    display: flex;
    width: 100%;
    height: 380px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 14px;
    color: var(--gray);
}

.no-posts {
    color: var(--gray);
}

@media (max-width: 900px) {

    .trending-grid {
        grid-template-columns: 1fr;
    }

    .trending-small-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .trending-small-grid {
        grid-template-columns: 1fr;
    }

    .trending-featured-image {
        height: 280px;
    }
}
/* =========================
   LATEST STORIES
========================= */

.latest-section {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.latest-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.view-all-link {
    color: var(--red);
    font-size: 15px;
    font-weight: 700;
}

.view-all-link:hover {
    text-decoration: underline;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 28px;
}

.latest-card-image {
    display: block;
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    object-fit: cover;
    border-radius: 12px;
}

.latest-placeholder {
    display: flex;
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 12px;
    color: var(--gray);
}

.latest-card h3 {
    margin: 10px 0 12px;
    font-size: 22px;
    line-height: 1.3;
}

.latest-card h3 a {
    color: var(--black);
}

.latest-card h3 a:hover {
    color: var(--red);
}

.latest-meta {
    display: flex;
    gap: 8px;
    color: var(--gray);
    font-size: 13px;
}

@media (max-width: 900px) {

    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .latest-grid {
        grid-template-columns: 1fr;
    }

    .latest-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .latest-card-image,
    .latest-placeholder {
        height: 240px;
    }

}
/* =========================
   BLOG PAGE
========================= */

.blog-hero {
    padding: 80px 0 45px;
}

.blog-hero h1 {
    margin: 0 0 14px;
    font-size: 52px;
    letter-spacing: -2px;
}

.blog-hero p {
    margin: 0;
    color: var(--gray);
    font-size: 18px;
}

.blog-posts {
    padding: 20px 0 90px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 28px;
}

.blog-card-image {
    display: block;
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    object-fit: cover;
    border-radius: 12px;
}

.blog-placeholder {
    display: flex;
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 12px;
    color: var(--gray);
}

.blog-card h2 {
    margin: 10px 0 12px;
    font-size: 23px;
    line-height: 1.3;
}

.blog-card h2 a {
    color: var(--black);
}

.blog-card h2 a:hover {
    color: var(--red);
}

.blog-excerpt {
    margin: 0 0 14px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}

.blog-meta {
    color: var(--gray);
    font-size: 13px;
}

.blog-pagination {
    margin-top: 60px;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination .current {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.blog-pagination .current {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero h1 {
        font-size: 42px;
    }
}
/* =========================
   AI & TECHNOLOGY
========================= */

.ai-tech-section {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.ai-tech-grid {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 42px;
}


/* FEATURED STORY */

.ai-tech-featured-image {
    display: block;
    width: 100%;
    height: 390px;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 14px;
}

.ai-tech-placeholder {
    display: flex;
    width: 100%;
    height: 390px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 14px;
    color: var(--gray);
}

.ai-tech-featured h3 {
    margin: 12px 0;
    font-size: 31px;
    line-height: 1.2;
}

.ai-tech-featured h3 a {
    color: var(--black);
}

.ai-tech-featured h3 a:hover {
    color: var(--red);
}

.ai-tech-excerpt {
    max-width: 650px;
    margin: 0 0 16px;
    color: #475467;
    font-size: 16px;
    line-height: 1.65;
}


/* SMALL STORIES */

.ai-tech-small {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ai-tech-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    align-items: center;
}

.ai-tech-card-image {
    display: block;
    width: 180px;
    height: 125px;
    object-fit: cover;
    border-radius: 10px;
}

.ai-tech-card-placeholder {
    display: flex;
    width: 180px;
    height: 125px;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 10px;
    color: var(--gray);
    font-size: 12px;
}

.ai-tech-card-content .story-category {
    margin-bottom: 8px;
}

.ai-tech-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

.ai-tech-card h3 a {
    color: var(--black);
}

.ai-tech-card h3 a:hover {
    color: var(--red);
}


/* TABLET */

@media (max-width: 900px) {

    .ai-tech-grid {
        grid-template-columns: 1fr;
    }

    .ai-tech-small {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .ai-tech-card {
        display: block;
    }

    .ai-tech-card-image,
    .ai-tech-card-placeholder {
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .ai-tech-section {
        padding: 65px 0;
    }

    .ai-tech-featured-image,
    .ai-tech-placeholder {
        height: 280px;
    }

    .ai-tech-featured h3 {
        font-size: 26px;
    }

    .ai-tech-small {
        grid-template-columns: 1fr;
    }

    .ai-tech-card {
        display: grid;
        grid-template-columns: 120px 1fr;
    }

    .ai-tech-card-image,
    .ai-tech-card-placeholder {
        width: 120px;
        height: 95px;
        margin-bottom: 0;
    }

    .ai-tech-card h3 {
        font-size: 17px;
    }
}
/* =========================
   MONEY & BUSINESS
========================= */

.money-business-section {
    padding: 90px 0;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

.money-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.money-business-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.money-business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.money-business-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.money-business-placeholder {
    display: flex;
    width: 100%;
    height: 220px;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--gray);
}

.money-business-card .story-category {
    margin: 22px 22px 10px;
}

.money-business-card h3 {
    margin: 0 22px 12px;
    font-size: 23px;
    line-height: 1.3;
}

.money-business-card h3 a {
    color: var(--black);
}

.money-business-card h3 a:hover {
    color: var(--red);
}

.money-business-excerpt {
    margin: 0 22px 18px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}

.money-business-meta {
    display: flex;
    gap: 8px;
    margin: 0 22px 24px;
    color: var(--gray);
    font-size: 13px;
}

@media (max-width: 900px) {

    .money-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .money-business-section {
        padding: 65px 0;
    }

    .money-business-grid {
        grid-template-columns: 1fr;
    }

}
/* EXPLAINERS HEADING */

.explainers-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.explainers-heading h2 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.2;
}

.explainers-heading p {
    margin: 0;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.5;
}

.explainers-heading .view-all-link {
    flex-shrink: 0;
    margin-bottom: 3px;
}

@media (max-width: 600px) {

    .explainers-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }
}
/* =========================
   EXPLAINERS SECTION
========================= */

.explained-section,
.explainers-section {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}


/* HEADING */

.explained-heading,
.explainers-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.explained-heading h2,
.explainers-heading h2 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.2;
}

.explained-heading p,
.explainers-heading p {
    margin: 0;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.5;
}

.explained-heading .view-all-link,
.explainers-heading .view-all-link {
    flex-shrink: 0;
    margin-bottom: 3px;
}


/* CARD GRID */

.explained-grid,
.explainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* CARDS */

.explained-card,
.explainers-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 28px;
    background: #f8f9fb;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.explained-card:hover,
.explainers-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}


/* LABEL */

.explained-label,
.explainers-label {
    display: block;
    margin-bottom: 20px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}


/* TITLE */

.explained-card h3,
.explainers-card h3 {
    margin: 0 0 16px;
    font-size: 23px;
    line-height: 1.3;
}

.explained-card h3 a,
.explainers-card h3 a {
    color: var(--black);
    text-decoration: none;
}

.explained-card h3 a:hover,
.explainers-card h3 a:hover {
    color: var(--red);
}


/* DESCRIPTION */

.explained-card p,
.explainers-card p {
    margin: 0 0 25px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}


/* CARD FOOTER */

.explained-footer,
.explainers-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    color: var(--gray);
    font-size: 13px;
}

.explained-footer a,
.explainers-footer a {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}


/* TABLET */

@media (max-width: 1000px) {

    .explained-grid,
    .explainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .explained-section,
    .explainers-section {
        padding: 65px 0;
    }

    .explained-heading,
    .explainers-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }

    .explained-grid,
    .explainers-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   FREE TOOLS
========================= */

.tools-section {
    padding: 90px 0;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

.tools-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.tools-heading h2 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.2;
}

.tools-heading p {
    margin: 0;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.5;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: #d0d5dd;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.tool-icon {
    display: flex;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: center;
    background: #fff1f2;
    border-radius: 10px;
    font-size: 24px;
}

.tool-card h3 {
    margin: 0 0 12px;
    color: var(--black);
    font-size: 22px;
    line-height: 1.3;
}

.tool-card p {
    margin: 0 0 25px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}

.tool-link {
    margin-top: auto;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}


/* TABLET */

@media (max-width: 900px) {

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .tools-section {
        padding: 65px 0;
    }

    .tools-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   TOOL PAGE / BMI
========================= */

.tool-page-hero {
    padding: 70px 0 40px;
}

.tool-back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
}

.tool-back-link:hover {
    color: var(--red);
}

.tool-page-hero h1 {
    margin: 0 0 16px;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.tool-page-hero p {
    max-width: 650px;
    margin: 0;
    color: var(--gray);
    font-size: 18px;
    line-height: 1.6;
}


/* CALCULATOR */

.calculator-section {
    padding: 20px 0 80px;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.calculator-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}


/* UNIT TABS */

.calculator-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    padding: 5px;
    background: var(--light-gray);
    border-radius: 10px;
}

.bmi-unit-button {
    flex: 1;
    padding: 11px 16px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--gray);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.bmi-unit-button.active {
    background: #ffffff;
    color: var(--black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}


/* INPUTS */

.bmi-fields {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.input-with-unit {
    display: flex;
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    overflow: hidden;
}

.input-with-unit:focus-within {
    border-color: var(--red);
}

.input-with-unit input {
    flex: 1;
    min-width: 0;
    padding: 14px 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--black);
    font-size: 16px;
}

.input-with-unit span {
    padding: 0 15px;
    color: var(--gray);
    font-size: 14px;
}


/* BUTTONS */

.calculator-button {
    width: 100%;
    padding: 15px 20px;
    margin-top: 5px;
    border: 0;
    border-radius: 8px;
    background: var(--red);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.calculator-button:hover {
    opacity: 0.92;
}

.calculator-reset {
    width: 100%;
    margin-top: 10px;
    padding: 11px;
    border: 0;
    background: transparent;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
}


/* ERROR */

.calculator-error {
    margin: 12px 0 0;
    color: var(--red);
    font-size: 14px;
}


/* RESULT */

.calculator-result {
    margin-top: 28px;
    padding: 28px;
    text-align: center;
    background: #f8f9fb;
    border-radius: 12px;
}

.result-label {
    display: block;
    margin-bottom: 5px;
    color: var(--gray);
    font-size: 14px;
}

#bmi-number {
    display: block;
    margin-bottom: 8px;
    font-size: 54px;
    line-height: 1;
}

.result-category {
    display: block;
    margin-bottom: 12px;
    color: var(--red);
    font-size: 17px;
    font-weight: 800;
}

.calculator-result p {
    margin: 0;
    color: #475467;
    line-height: 1.6;
}


/* BMI INFORMATION */

.calculator-info {
    padding: 30px;
    background: #f8f9fb;
    border-radius: 16px;
}

.calculator-info h2 {
    margin: 0 0 22px;
    font-size: 26px;
}

.bmi-table > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.bmi-table span {
    color: #475467;
}

.bmi-table strong {
    color: var(--black);
}

.calculator-note {
    margin-top: 28px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
}

.calculator-note strong {
    display: block;
    margin-bottom: 7px;
}

.calculator-note p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}


/* CONTENT */

.tool-content {
    padding: 75px 0;
    border-top: 1px solid var(--border);
}

.tool-content-inner {
    max-width: 800px;
}

.tool-content h2 {
    margin: 40px 0 15px;
    font-size: 30px;
}

.tool-content h2:first-child {
    margin-top: 0;
}

.tool-content p {
    color: #475467;
    font-size: 17px;
    line-height: 1.8;
}

.formula-box {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fb;
    border-left: 4px solid var(--red);
    border-radius: 8px;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 900px) {

    .calculator-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .tool-page-hero {
        padding: 50px 0 30px;
    }

    .tool-page-hero h1 {
        font-size: 40px;
    }

    .calculator-card {
        padding: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* =========================
   AGE CALCULATOR
========================= */

.calculator-input {
    display: block;
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    color: var(--black);
    font-size: 16px;
    outline: none;
}

.calculator-input:focus {
    border-color: var(--red);
}

.age-result #age-main-result {
    display: block;
    margin: 8px 0 28px;
    font-size: 34px;
}

.age-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.age-result-grid > div {
    padding: 18px 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.age-result-grid strong {
    display: block;
    margin-bottom: 5px;
    font-size: 28px;
}

.age-result-grid span {
    color: var(--gray);
    font-size: 13px;
}

.age-extra-info {
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.age-extra-info p {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 10px 0;
    color: var(--gray);
}

.age-extra-info strong {
    color: var(--black);
}

@media (max-width: 500px) {

    .age-result-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   PERCENTAGE CALCULATOR
========================= */

.calculator-card h2 {
    margin: 0 0 22px;
    font-size: 24px;
}

.calculator-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

#percentage-result-number,
#change-result-number {
    display: block;
    margin: 8px 0;
    font-size: 46px;
    line-height: 1;
}
/* =========================
   TOOLS DIRECTORY
========================= */

.tools-directory {
    padding: 20px 0 90px;
}

.tools-page .tool-page-hero {
    padding-bottom: 45px;
}

.tools-page .tool-card h2 {
    margin: 0 0 12px;
    color: var(--black);
    font-size: 22px;
    line-height: 1.3;
}

.tool-card-coming {
    cursor: default;
}

.tool-card-coming:hover {
    transform: none;
}

.tool-coming-soon {
    margin-top: auto;
    color: var(--gray);
    font-size: 14px;
    font-weight: 700;
}
/* =========================
   DISCOUNT CALCULATOR
========================= */

#discount-final-price {
    display: block;
    margin: 8px 0 25px;
    font-size: 48px;
    line-height: 1;
}

.discount-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.discount-summary > div {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.discount-summary span {
    display: block;
    margin-bottom: 7px;
    color: var(--gray);
    font-size: 13px;
}

.discount-summary strong {
    font-size: 20px;
}

@media (max-width: 500px) {

    .discount-summary {
        grid-template-columns: 1fr;
    }

}
/* =========================
   WORD COUNTER
========================= */

.word-counter-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.word-counter-card label {
    display: block;
    margin-bottom: 12px;
    color: var(--black);
    font-size: 15px;
    font-weight: 700;
}

#word-counter-text {
    display: block;
    width: 100%;
    min-height: 320px;
    padding: 18px;
    resize: vertical;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    color: var(--black);
    background: #ffffff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
}

#word-counter-text:focus {
    border-color: var(--red);
}

.word-counter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.word-counter-stats > div {
    padding: 20px;
    text-align: center;
    background: #f8f9fb;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.word-counter-stats strong {
    display: block;
    margin-bottom: 6px;
    color: var(--black);
    font-size: 28px;
}

.word-counter-stats span {
    color: var(--gray);
    font-size: 13px;
}

.word-counter-actions {
    margin-top: 20px;
}

.word-counter-clear {
    width: auto;
    padding: 10px 0;
}

@media (max-width: 700px) {

    .word-counter-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 450px) {

    .word-counter-card {
        padding: 22px;
    }

    .word-counter-stats {
        grid-template-columns: 1fr;
    }

}
/* =========================
   COMPOUND INTEREST
========================= */

#compound-final-balance {
    display: block;
    margin: 8px 0 28px;
    font-size: 48px;
    line-height: 1;
}

.compound-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.compound-summary > div {
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.compound-summary span {
    display: block;
    margin-bottom: 8px;
    color: var(--gray);
    font-size: 13px;
}

.compound-summary strong {
    color: var(--black);
    font-size: 20px;
}

@media (max-width: 500px) {

    .compound-summary {
        grid-template-columns: 1fr;
    }
}
/* =========================
   NEWSLETTER
========================= */

.newsletter-section {
    padding: 90px 0;
}

.newsletter-box {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 70px;
    align-items: center;
    padding: 60px;
    background: #171b26;
    border-radius: 20px;
}

.newsletter-label {
    display: block;
    margin-bottom: 18px;
    color: #ff5a68;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.newsletter-content h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.newsletter-content p {
    max-width: 560px;
    margin: 0;
    color: #cbd0d9;
    font-size: 17px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 17px;
    border: 1px solid #3d4350;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: var(--black);
    font-size: 15px;
}

.newsletter-form input:focus {
    border-color: var(--red);
}

.newsletter-form button {
    padding: 15px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--red);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.newsletter-form button:hover {
    opacity: 0.92;
}

.newsletter-note {
    margin: 12px 0 0;
    color: #98a2b3;
    font-size: 13px;
}

.newsletter-message {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: 14px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

@media (max-width: 800px) {

    .newsletter-box {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px;
    }

}

@media (max-width: 550px) {

    .newsletter-section {
        padding: 65px 0;
    }

    .newsletter-box {
        padding: 30px 22px;
    }

    .newsletter-content h2 {
        font-size: 32px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}
/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 70px 0 25px;
    background: #10131a;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--red);
}

.footer-brand p {
    max-width: 300px;
    margin: 0;
    color: #98a2b3;
    line-height: 1.6;
}

.footer-column h3 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 15px;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #98a2b3;
    font-size: 14px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid #2a2f39;
}

.footer-bottom p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

@media (max-width: 800px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 500px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}
/* NEWSLETTER STATUS */

.newsletter-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.newsletter-message.is-success {
    color: #86efac;
}

.newsletter-message.is-error {
    color: #fecaca;
}

.newsletter-form button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}
/* =========================
   SINGLE ARTICLE
========================= */

.single-hero {
    padding: 80px 0 45px;
}

.single-header-inner {
    max-width: 900px;
}

.single-hero h1 {
    margin: 12px 0 20px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.single-excerpt {
    max-width: 780px;
    margin: 0 0 22px;
    color: #475467;
    font-size: 20px;
    line-height: 1.6;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--gray);
    font-size: 14px;
}

.single-featured-wrap {
    margin-bottom: 55px;
}

.single-featured-image {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: 16px;
}


/* CONTENT */

.single-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    gap: 70px;
    align-items: start;
    padding-bottom: 85px;
}

.single-content {
    font-size: 18px;
    line-height: 1.85;
}

.single-content h2 {
    margin: 48px 0 18px;
    font-size: 32px;
    line-height: 1.25;
}

.single-content h3 {
    margin: 36px 0 15px;
    font-size: 25px;
}

.single-content p {
    margin: 0 0 24px;
    color: #344054;
}

.single-content ul,
.single-content ol {
    margin: 0 0 26px;
    padding-left: 25px;
}

.single-content li {
    margin-bottom: 10px;
}

.single-content blockquote {
    margin: 35px 0;
    padding: 22px 28px;
    background: #f8f9fb;
    border-left: 4px solid var(--red);
    border-radius: 8px;
}

.single-content img {
    border-radius: 12px;
}


/* SIDEBAR */

.single-sidebar {
    position: sticky;
    top: 110px;
}

.single-newsletter-box {
    padding: 28px;
    background: #171b26;
    border-radius: 16px;
}

.single-newsletter-box h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.2;
}

.single-newsletter-box p {
    margin: 0 0 20px;
    color: #cbd0d9;
    line-height: 1.6;
}


/* SHARE */

.single-share {
    margin-top: 50px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.single-share > span {
    display: block;
    margin-bottom: 14px;
    font-weight: 700;
}

.share-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-links a {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
}

.share-links a:hover {
    border-color: var(--red);
    color: var(--red);
}


/* RELATED */

.related-posts {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.related-image {
    display: block;
    width: 100%;
    height: 210px;
    margin-bottom: 16px;
    object-fit: cover;
    border-radius: 12px;
}

.related-card h3 {
    margin: 10px 0 0;
    font-size: 22px;
    line-height: 1.3;
}

.related-card h3 a {
    color: var(--black);
}

.related-card h3 a:hover {
    color: var(--red);
}


/* TABLET */

@media (max-width: 1000px) {

    .single-content-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .single-hero {
        padding: 55px 0 35px;
    }

    .single-hero h1 {
        font-size: 40px;
    }

    .single-excerpt {
        font-size: 18px;
    }

    .single-content {
        font-size: 17px;
    }

    .single-content h2 {
        font-size: 28px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   CATEGORY PAGE
========================= */

.category-hero {
    padding: 80px 0 45px;
}

.category-hero h1 {
    margin: 0 0 14px;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.category-hero p,
.category-description {
    max-width: 700px;
    margin: 0;
    color: var(--gray);
    font-size: 18px;
    line-height: 1.6;
}

.category-description p {
    margin: 0;
}

.category-posts {
    padding: 20px 0 90px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 28px;
}

.category-card-image {
    display: block;
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    object-fit: cover;
    border-radius: 12px;
}

.category-placeholder {
    display: flex;
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 12px;
    color: var(--gray);
}

.category-card h2 {
    margin: 10px 0 12px;
    font-size: 23px;
    line-height: 1.3;
}

.category-card h2 a {
    color: var(--black);
}

.category-card h2 a:hover {
    color: var(--red);
}

.category-excerpt {
    margin: 0 0 14px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}

.category-meta {
    display: flex;
    gap: 8px;
    color: var(--gray);
    font-size: 13px;
}

.category-pagination {
    margin-top: 60px;
}

.category-pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-pagination a,
.category-pagination .current {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.category-pagination .current {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
}

@media (max-width: 900px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-hero {
        padding: 55px 0 35px;
    }

    .category-hero h1 {
        font-size: 42px;
    }

}
/* =========================
   SEARCH PAGE
========================= */

.search-hero {
    padding: 80px 0 45px;
}

.search-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.search-results {
    padding: 20px 0 90px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 28px;
}

.search-card-image,
.search-placeholder {
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.search-card-image {
    display: block;
    object-fit: cover;
}

.search-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--gray);
}

.search-card h2 {
    margin: 10px 0 12px;
    font-size: 23px;
    line-height: 1.3;
}

.search-card h2 a {
    color: var(--black);
}

.search-card h2 a:hover {
    color: var(--red);
}

.search-card p {
    margin: 0 0 14px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}

.search-meta {
    display: flex;
    gap: 8px;
    color: var(--gray);
    font-size: 13px;
}

.search-pagination {
    margin-top: 60px;
}

.search-pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-pagination a,
.search-pagination .current {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.search-pagination .current {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
}

.search-empty {
    padding: 50px 0;
}

.search-empty h2 {
    margin-bottom: 10px;
    font-size: 32px;
}

.search-empty p {
    margin-bottom: 25px;
    color: var(--gray);
}

@media (max-width: 900px) {

    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-hero {
        padding: 55px 0 35px;
    }

    .search-hero h1 {
        font-size: 38px;
    }
}
/* =========================
   HEADER SEARCH
========================= */

.header-actions {
    position: relative;
}

.header-search-form {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    z-index: 1200;

    display: flex;
    width: 380px;
    padding: 10px;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.header-search-form[hidden] {
    display: none;
}

.header-search-form input {
    flex: 1;
    min-width: 0;

    padding: 11px 13px;

    border: 1px solid #d0d5dd;
    border-radius: 7px 0 0 7px;
    outline: none;

    font-size: 14px;
}

.header-search-form input:focus {
    border-color: var(--red);
}

.header-search-form button {
    padding: 11px 17px;

    border: 0;
    border-radius: 0 7px 7px 0;

    background: var(--red);
    color: #ffffff;

    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 600px) {

    .header-search-form {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;

        width: auto;
    }
}
/* =========================
   404 PAGE
========================= */

.error-page {
    padding: 110px 0;
}

.error-page-inner {
    max-width: 760px;
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: 15px;
    color: var(--red);
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.error-page h1 {
    margin: 0 0 18px;
    font-size: 46px;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.error-page p {
    max-width: 650px;
    margin: 0 auto 32px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.7;
}

.error-search {
    display: flex;
    max-width: 560px;
    margin: 0 auto 25px;
    gap: 10px;
}

.error-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
}

.error-search input:focus {
    border-color: var(--red);
}

.error-search button {
    padding: 14px 22px;
    border: 0;
    border-radius: 8px;
    background: var(--red);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {

    .error-page {
        padding: 75px 0;
    }

    .error-code {
        font-size: 64px;
    }

    .error-page h1 {
        font-size: 36px;
    }

    .error-search {
        flex-direction: column;
    }
}
/* =========================
   ABOUT PAGE
========================= */

.about-hero {
    padding: 90px 0 65px;
}

.about-hero-inner {
    max-width: 900px;
}

.about-hero h1 {
    max-width: 850px;
    margin: 0 0 24px;
    font-size: clamp(44px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about-hero p {
    max-width: 760px;
    margin: 0;
    color: #475467;
    font-size: 20px;
    line-height: 1.7;
}

.about-content {
    padding: 40px 0 90px;
    border-top: 1px solid var(--border);
}

.about-content-inner {
    max-width: 1000px;
}

.about-content-inner > h2 {
    margin: 55px 0 16px;
    font-size: 32px;
}

.about-content-inner > h2:first-child {
    margin-top: 0;
}

.about-content-inner > p {
    max-width: 800px;
    color: #475467;
    font-size: 17px;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 30px 0 60px;
}

.about-card {
    padding: 28px;
    background: #f8f9fb;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.about-card > span {
    display: block;
    margin-bottom: 18px;
    font-size: 28px;
}

.about-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.about-card p {
    margin: 0;
    color: #475467;
    line-height: 1.6;
}

.about-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-top: 70px;
    padding: 40px;

    background: #171b26;
    border-radius: 16px;
}

.about-cta h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 28px;
}

.about-cta p {
    margin: 0;
    color: #cbd0d9;
}

@media (max-width: 850px) {

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 550px) {

    .about-hero {
        padding: 60px 0 45px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding: 28px;
    }
}
/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
    padding: 90px 0 60px;
}

.contact-hero-inner {
    max-width: 800px;
}

.contact-hero h1 {
    margin: 0 0 18px;
    font-size: 60px;
    line-height: 1.05;
    letter-spacing: -2px;
}

.contact-hero p {
    margin: 0;
    max-width: 650px;
    color: #475467;
    font-size: 19px;
    line-height: 1.7;
}

.contact-section {
    padding: 30px 0 90px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-info h2 {
    margin-top: 0;
    font-size: 32px;
}

.contact-info > p {
    margin-bottom: 35px;
    color: #475467;
    line-height: 1.7;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-card > span {
    font-size: 25px;
}

.contact-info-card strong {
    display: block;
    margin-bottom: 6px;
}

.contact-info-card p {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-card {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0,0,0,.05);
}

.contact-textarea {
    display: block;
    width: 100%;
    padding: 14px 15px;
    resize: vertical;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}

.contact-textarea:focus {
    border-color: var(--red);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
}

.contact-response {
    margin: 15px 0 0;
    font-size: 14px;
}

.contact-response.success {
    color: #067647;
}

.contact-response.error {
    color: var(--red);
}

@media (max-width: 800px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 550px) {

    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-hero h1 {
        font-size: 44px;
    }

    .contact-form-card {
        padding: 22px;
    }
}
/* =========================
   POLICY / LEGAL PAGES
========================= */

.policy-hero {
    padding: 90px 0 55px;
    border-bottom: 1px solid var(--border);
}

.policy-container {
    max-width: 850px;
}

.policy-hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(44px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.policy-intro {
    max-width: 700px;
    margin: 0;
    color: #475467;
    font-size: 20px;
    line-height: 1.65;
}

.policy-content {
    padding: 60px 0 100px;
}

.policy-content p {
    margin: 0 0 22px;
    color: #475467;
    font-size: 17px;
    line-height: 1.8;
}

.policy-content h2 {
    margin: 48px 0 16px;
    color: var(--black);
    font-size: 28px;
    line-height: 1.25;
}

.policy-contact-box {
    margin-top: 60px;
    padding: 34px;
    background: #f8f9fb;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.policy-contact-box h2 {
    margin-top: 0;
}

.policy-contact-box p {
    max-width: 650px;
}

.policy-updated {
    margin-top: 40px !important;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-size: 14px !important;
}

@media (max-width: 600px) {

    .policy-hero {
        padding: 60px 0 40px;
    }

    .policy-content {
        padding: 45px 0 75px;
    }

    .policy-content h2 {
        font-size: 25px;
    }

    .policy-contact-box {
        padding: 24px;
    }
}
/* =========================
   ADVERTISE PAGE
========================= */

.advertise-hero {
    padding: 90px 0 70px;
}

.advertise-hero-inner {
    max-width: 900px;
}

.advertise-hero h1 {
    max-width: 880px;
    margin: 10px 0 24px;
    font-size: clamp(44px, 6vw, 66px);
    line-height: 1.06;
    letter-spacing: -2px;
}

.advertise-hero p {
    max-width: 720px;
    margin: 0 0 30px;
    color: #475467;
    font-size: 19px;
    line-height: 1.7;
}

.advertise-content {
    padding: 65px 0 100px;
    border-top: 1px solid var(--border);
}

.advertise-container {
    max-width: 1000px;
}

.advertise-container > h2 {
    margin: 55px 0 16px;
    font-size: 32px;
}

.advertise-container > h2:first-child {
    margin-top: 0;
}

.advertise-container > p {
    max-width: 800px;
    color: #475467;
    font-size: 17px;
    line-height: 1.8;
}

.advertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 30px 0 60px;
}

.advertise-card {
    padding: 28px;
    background: #f8f9fb;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.advertise-card > span {
    display: block;
    margin-bottom: 18px;
    font-size: 28px;
}

.advertise-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.advertise-card p {
    margin: 0;
    color: #475467;
    line-height: 1.65;
}

.advertise-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-top: 70px;
    padding: 40px;

    background: #171b26;
    border-radius: 16px;
}

.advertise-cta h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: 30px;
}

.advertise-cta p {
    margin: 0;
    color: #cbd0d9;
}

@media (max-width: 850px) {

    .advertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advertise-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 550px) {

    .advertise-hero {
        padding: 60px 0 45px;
    }

    .advertise-grid {
        grid-template-columns: 1fr;
    }

    .advertise-cta {
        padding: 28px;
    }
}
.footer-email {
    display: inline-block;
    margin-top: 12px;
    color: #cbd0d9;
}

.footer-email:hover {
    color: #ffffff;
}
.policy-email {
    color: #e63b32;
    font-weight: 600;
    text-decoration: none;
}

.policy-email:hover {
    text-decoration: underline;
}
/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 70px 0 25px;
    background: #10131b;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}

.footer-logo span {
    color: #e83b32;
}

.footer-tagline {
    margin: 14px 0 8px;
    color: #98a2b3;
    font-size: 16px;
    line-height: 1.6;
}

.footer-email {
    display: inline-block;
    color: #d0d5dd;
    font-size: 15px;
    text-decoration: none;
}

.footer-email:hover {
    color: #ffffff;
}


/* FOOTER COLUMNS */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.footer-column a {
    display: block;
    margin-bottom: 14px;
    color: #98a2b3;
    font-size: 14px;
    text-decoration: none;
}

.footer-column a:hover {
    color: #ffffff;
}


/* SOCIAL BUTTONS */

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    color: #d0d5dd;
    background: transparent;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;
    border-color: #e83b32;
    background: rgba(232,59,50,0.10);
}

.footer-social svg {
    flex-shrink: 0;
}


/* FOOTER BOTTOM */

.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}


/* TABLET */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        margin-top: 45px;
    }
}
.tool-related-guide {
    margin-top: 28px;
    padding: 20px 22px;
    background: #f8f9fb;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.tool-related-guide strong {
    display: block;
    margin-bottom: 6px;
    color: #171b26;
    font-size: 16px;
}

.tool-related-guide p {
    margin: 0;
    color: #475467;
    line-height: 1.6;
}

.tool-related-guide a {
    color: #e83b32;
    font-weight: 600;
    text-decoration: none;
}

.tool-related-guide a:hover {
    text-decoration: underline;
}
.tool-related-guide {
    margin-top: 28px;
    margin-bottom: 36px;
    padding: 20px 22px;
    background: #f8f9fb;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}