/* ================================================================
   pages.css — Styles specific to WordPress pages (not posts)
   Loaded only on pages via wp_enqueue_style
   Pages inherit post typography from .post-content.entry-content
   This file handles page-specific layout overrides only
   ================================================================ */

/* Page title */
h1.techi-page-title {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #111827;
}

/* Page content container - centers content like posts */
.techi-page-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

/* Sidebar page layout overrides */
.techi-sidebar-temp .techi-page-title {
    text-align: left;
}

/* Contact icons (contact page) */
.contact-us-icons img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

/* Social icons */
.is-style-logos-only {
    gap: 1rem;
}
.is-style-logos-only a svg {
    width: 24px;
    height: 24px;
}

/* Interested/contribute section (legacy pages) */
.interested-section > div {
    flex: 1;
}
.interested-section .text-last h4 {
    color: #2d2d2d;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}
.interested-section .text-last p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}
.interested-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}
.interested-section .divider-svg-main {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.interested-section .divider-svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color, #00b0ae);
    opacity: 0.7;
}
.interested-section .text-last {
    padding: 0 20px;
}
.interested-section .text-last > div {
    margin-bottom: 20px;
}
.interested-section .text h6 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}
.interested-section .border-dark {
    border-color: #e0e0e0 !important;
}

/* Related policies section links */
.techi-page-content .related-policies-section a,
.techi-page-content .wp-block-list a {
    color: var(--primary-accessible, #008785);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.techi-page-content .related-policies-section a:hover,
.techi-page-content .wp-block-list a:hover {
    color: var(--primary-accessible-hover, #006b6a);
}

/* Old about page classes (legacy, kept for backward compat) */
.about-us-page h5 {
    font-size: 18px;
    font-weight: 600;
}
.about-us-page h5 a {
    color: var(--primary-color, #00b0ae);
}
.about-us-page h5 a:hover {
    text-decoration: underline;
}
.about-us-side-img img {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 1520px) {
    .about-us-side-img img {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 991px) {
    .about-us-side-img img {
        width: 300px;
        height: 300px;
    }
    .about-us-page h5 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    h1.techi-page-title {
        font-size: 1.75rem;
    }
    .interested-section .border-dark {
        display: none;
    }
    .interested-section > div:last-child > div > div:last-child {
        display: none;
    }
    .interested-section .text-last > div {
        margin-bottom: 15px;
    }
    .interested-section .text-last h4 {
        font-size: 20px;
    }
    .about-us-page .row .col-6 {
        width: 100%;
        margin-bottom: 15px;
    }
    .about-us-page h5 {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    h1.techi-page-title {
        font-size: 1.5rem;
    }
}
