/* === Anigdha Italy — Static Pages (Sidebar, Banner, CF7) === */

/* ═══════════════════════════════════════
   STATIC PAGES — Sidebar
   ═══════════════════════════════════════ */

.page-sidebar .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-sidebar .wpcf7 label {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #4A4F55;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-sidebar .wpcf7 input[type="text"],
.page-sidebar .wpcf7 input[type="email"],
.page-sidebar .wpcf7 input[type="tel"],
.page-sidebar .wpcf7 input[type="url"],
.page-sidebar .wpcf7 input[type="number"] {
    height: 48px;
    border: 1px solid #EDEFF1;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.page-sidebar .wpcf7 input[type="text"]:focus,
.page-sidebar .wpcf7 input[type="email"]:focus,
.page-sidebar .wpcf7 input[type="tel"]:focus {
    border-color: #C82935;
}

.page-sidebar .wpcf7 select {
    height: 48px;
    border: 1px solid #EDEFF1;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%234A4F55'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    width: 100%;
    box-sizing: border-box;
}

.page-sidebar .wpcf7 textarea {
    border: 1px solid #EDEFF1;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    color: #16181A;
    background: #F8F9FA;
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
    height: 100px;
}

.page-sidebar .wpcf7 textarea:focus {
    border-color: #C82935;
}

.page-sidebar .wpcf7 input[type="submit"] {
    height: 50px;
    background: #C82935;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    margin-top: 4px;
}

.page-sidebar .wpcf7 input[type="submit"]:hover {
    background: #16181A;
}

.page-sidebar .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    margin: 8px 0 0;
    padding: 10px;
    border-radius: 4px;
}

.page-sidebar .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #C82935;
}

/* ═══════════════════════════════════════
   PAGE STATS STRIP — Between banner and description
   ═══════════════════════════════════════ */

.page-stats-strip {
    display: flex;
    width: 100%;
}

.page-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
}

.page-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.page-stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.page-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 2px;
}

/* ═══════════════════════════════════════
   PAGE DESCRIPTION — Full-width above content
   ═══════════════════════════════════════ */

.page-description {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 40px 0;
}

.page-description h1 { font-size: var(--heading-h1); font-weight: 700; color: #000; margin: 0 0 18px; letter-spacing: -1.2px; }
.page-description h2 { font-size: var(--heading-h2); font-weight: 700; color: #CE1126; margin: 0 0 16px; letter-spacing: -0.8px; }
.page-description h3 { font-size: var(--heading-h3); font-weight: 700; color: #008C45; margin: 0 0 14px; }
.page-description h4 { font-size: var(--heading-h4); font-weight: 700; color: #000; margin: 0 0 12px; }
.page-description h5 { font-size: var(--heading-h5); font-weight: 700; color: #000; margin: 0 0 10px; }
.page-description h6 { font-size: var(--heading-h6); font-weight: 700; color: #000; margin: 0 0 10px; }

.page-description p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #000;
    margin: 0;
    padding: 16px 18px;
}

/* ═══════════════════════════════════════
   SIDEBAR — Layout & Cards
   ═══════════════════════════════════════ */

.page-body {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 40px 40px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    font-family: 'Poppins', sans-serif;
}

.page-sidebar {
    align-self: flex-start;
    order: 2;
    flex-shrink: 0;
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: 'Poppins', sans-serif;
}

.page-sidebar-card {
    background: #fff;
    border: 1px solid #EDEFF1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16,27,51,0.06);
}

.page-sidebar-flag {
    height: 4px;
    display: flex;
}

.page-sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px 6px;
}

.page-sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(200,41,53,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-sidebar-card-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #16181A;
}

.page-sidebar-card-subtitle {
    margin: 0;
    font-size: 15px;
    color: #7A8189;
    padding: 0 28px;
}

.page-sidebar-form {
    padding: 20px 28px 28px;
}

/* Counsellor card */
.page-sidebar-counsellor {
    background: #16181A;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
}

.page-sidebar-counsellor-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(200,41,53,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.page-sidebar-counsellor-title {
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.page-sidebar-counsellor-text {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.page-sidebar-call {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    margin-bottom: 10px;
    text-decoration: none;
}

.page-sidebar-email {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
    gap: 8px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.page-sidebar-email:hover {
    border-color: #C82935;
    color: #fff;
}


/* ═══════════════════════════════════════
   PAGE ARTICLE — Layout
   ═══════════════════════════════════════ */

.page-article {
    flex: 1;
    min-width: 0;
    order: 1;
    background: #FFFFFF;
    border: 1px solid #EDEFF1;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(22,24,26,0.04);
}


/* ═══════════════════════════════════════
   PAGE BANNER
   ═══════════════════════════════════════ */

.page-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #16181A;
}

.page-banner-img {
    position: absolute;
    inset: 0;
}

.page-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22,24,26,0.88) 0%, rgba(22,24,26,0.65) 60%, rgba(22,24,26,0.35) 100%);
}

.page-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
}

.page-banner-content h1 {
    margin: 0 0 16px;
    font-size: var(--banner-h1);
    font-weight: 700;
    color: #fff;
    letter-spacing: -1.5px;
    text-align: left;
    max-width: 720px;
    line-height: 1.1;
}

.page-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.page-banner-eyebrow::before {
    content: '';
    width: 36px;
    height: 2px;
    background: #038D44;
    display: block;
}

.page-banner-eyebrow span {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #038D44;
    text-transform: uppercase;
}

.page-banner-subtitle {
    margin: 0 0 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    line-height: 1.7;
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.page-banner .breadcrumb a:hover {
    color: #fff !important;
}

.page-banner .breadcrumb .sep {
    opacity: .5;
}

.page-banner .breadcrumb .current {
    color: #038D44;
}


/* Page content styling moved to content.css */

/* Table scroll wrapper — JS-driven arrows */
.table-scroll-wrap {
    margin: 24px 0;
}

.table-scroll-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.table-scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #EDEFF1;
    background: #fff;
    color: #16181A;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.table-scroll-btn:hover {
    background: #C82935;
    border-color: #C82935;
    color: #fff;
}

.table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide the default scrollbar */
.table-scroll-container::-webkit-scrollbar {
    height: 0;
    display: none;
}

.table-scroll-container {
    scrollbar-width: none;
}

/* Page table, WP block, first-heading styles moved to content.css */


/* ═══════════════════════════════════════
   PAGE TEMPLATE — Responsive
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
    .page-banner {
        height: auto !important;
        min-height: 280px !important;
    }

    .page-banner-content {
        padding: 0 40px !important;
    }

    .page-stats-strip {
        flex-wrap: wrap;
    }

    .page-stat {
        flex: 1 1 calc(50% - 0px);
        padding: 14px 20px;
    }

    .page-description {
        padding: 30px 24px 0;
    }

    .page-body {
        padding: 60px 24px 80px;
    }

    .page-body {
        flex-direction: column;
    }

    .page-sidebar {
        position: static;
        width: 100%;
        order: 2;
    }

    .page-article {
        order: 1;
        margin-bottom: 40px;
        max-width: 100%;
        overflow-x: auto;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: auto !important;
        min-height: 280px !important;
    }

    .page-banner-content {
        padding: 0 24px !important;
    }

    .page-banner-content h1 {
        font-size: 28px !important;
        letter-spacing: -0.5px !important;
    }

    .page-stats-strip {
        flex-wrap: wrap;
    }

    .page-stat {
        flex: 1 1 100%;
        padding: 14px 20px;
        border-right: none !important;
    }

    .page-stat-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .page-stat-value {
        font-size: 15px;
    }

    .page-stat-label {
        font-size: 11px;
    }

    .page-description {
        padding: 24px 20px 0;
    }

    .page-description p {
        padding: 22px 24px;
        font-size: 15px;
    }

    .page-body {
        padding: 48px 20px 64px;
    }

    .page-article {
        padding: 24px;
    }

    /* Content responsive moved to content.css */
}

@media (max-width: 480px) {
    .page-banner {
        height: auto !important;
        min-height: 280px !important;
    }

    .page-banner-content {
        padding: 0 16px !important;
    }

    .page-banner-content h1 {
        font-size: 24px !important;
        letter-spacing: -0.3px !important;
    }

    .page-stat-value {
        font-size: 14px;
    }

    .page-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 8px;
    }

    .page-stat {
        padding: 12px 16px;
        gap: 10px;
    }

    .page-description {
        padding: 20px 16px 0;
    }

    .page-description p {
        padding: 20px 20px;
        font-size: 14.5px;
    }

    .page-body {
        padding: 36px 16px 48px;
    }

    .page-article {
        padding: 20px;
    }

    /* Content responsive moved to content.css */
}
