/* ==========================================================================
   AMKAS Nepal — premium inner pages
   About · Programs · Campaigns · Shelter · Publications · Media · Gallery ·
   Contact · Donate · Support · Detail pages. Loads after premium.css.
   ========================================================================== */

/* ---------- Shared building blocks ---------- */
main .theme-story-heading {
    margin-bottom: 56px;
}
.theme-publications-section,
.theme-media-stories,
.theme-about-purpose,
.theme-events-section {
    background: var(--p-sand);
}

/* Soft white-card base used by many tiles */
.theme-helping-hand,
.theme-about-principle,
.theme-coverage-card,
.theme-objective-card,
.theme-team-card,
.theme-publication-item,
.theme-blog-card,
main .theme-content-card,
.theme-detail-grid .supporters-info,
.theme-detail-sidebar .ct-panel {
    border: 1px solid var(--p-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--p-shadow-sm);
    transition:
        transform var(--p-t, 0.4s var(--p-ease)),
        box-shadow 0.5s ease,
        border-color 0.35s ease,
        background-color 0.35s ease;
}
.theme-helping-hand:hover,
.theme-about-principle:hover,
.theme-coverage-card:hover,
.theme-objective-card:hover,
.theme-team-card:hover,
.theme-publication-item:hover,
.theme-blog-card:hover,
main .theme-content-card:hover {
    transform: translateY(-6px);
    border-color: rgba(92, 197, 255, 0.55);
    box-shadow: var(--p-shadow-lg);
}

/* Icon chips */
.theme-helping-hand .helping-hand-info,
.theme-about-principle .helping-hand-info,
.theme-contact-grid .helping-hand-info,
.theme-coverage-icon,
.theme-publication-icon {
    background: linear-gradient(145deg, var(--p-sky-soft), #cdeaff);
    color: var(--p-sky-deep);
    border-radius: 18px;
    transition: transform var(--p-t, 0.4s var(--p-ease)), background 0.35s ease, color 0.35s ease;
}
.theme-helping-hand:hover .helping-hand-info,
.theme-about-principle:hover .helping-hand-info,
.theme-contact-grid .helping-hand:hover .helping-hand-info,
.theme-coverage-card:hover .theme-coverage-icon,
.theme-publication-item:hover .theme-publication-icon {
    background: linear-gradient(145deg, var(--p-deep), #0a5568);
    color: #fff;
    transform: rotate(-6deg) scale(1.06);
}

/* Heading typography inside cards */
.theme-helping-hand .helping-hand-content h3,
.theme-about-principle h3,
.theme-coverage-card h3,
.theme-team-card h3,
.theme-publication-content h2,
.theme-blog-card-content h3,
.theme-detail-grid .democracy-sec h2,
.theme-program-detail-heading h2,
.theme-program-article .democracy-sec h3,
.theme-campaign-band h2,
.theme-booking-intro h2,
.theme-donate-copy h2,
.theme-goals-layout .about-content h2,
.theme-event-detail .supporters-content h2 {
    font-family: var(--p-display) !important;
    font-weight: 600 !important;
    letter-spacing: -0.015em;
}
.theme-about-principle h3,
.theme-blog-card-content h3,
.theme-coverage-card h3,
.theme-publication-content h2 {
    font-size: 22px;
    line-height: 1.3;
}
.theme-helping-hand p,
.theme-about-principle p,
.theme-coverage-card p,
.theme-blog-card-content p,
.theme-detail-grid .democracy-sec p,
.theme-program-detail-heading p {
    font-family: var(--p-sans) !important;
    color: var(--p-muted) !important;
}

/* Eyebrow labels */
.theme-about-principle .helping-hand-content > span,
.theme-event-detail .supporters-content span,
.theme-campaign-band span,
.theme-booking-intro > span,
.theme-donate-copy > span,
.theme-goals-layout .about-content > span {
    font: 700 12px var(--p-sans) !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
}

/* Category / tag pills */
.theme-program-grid .education-info span,
.theme-program-cards .education-info > span,
.theme-detail-category,
.theme-program-detail-heading .contry,
.theme-archive-campaigns .health-sec .content-info span,
.theme-campaign-grid .content-info > span {
    border-radius: 999px !important;
    padding: 7px 14px !important;
    background: var(--p-sky-soft) !important;
    color: var(--p-sky-deep) !important;
    font: 700 11px var(--p-sans) !important;
    letter-spacing: 0.1em;
}

/* Text-link arrows in cards */
.theme-publication-link,
.theme-blog-card-link,
.theme-coverage-card a,
.theme-detail-all,
.theme-detail-sidebar li a,
.theme-content-card a {
    font-family: var(--p-sans) !important;
    transition: color 0.25s ease, gap var(--p-t, 0.4s var(--p-ease));
}
.theme-publication-link > span,
.theme-blog-card-link > span {
    border-radius: 50%;
    transition: background-color 0.3s ease, transform var(--p-t, 0.4s var(--p-ease));
}
.theme-publication-link:hover > span,
.theme-blog-card-link:hover > span {
    transform: translateX(5px);
}
.theme-publication-link:hover,
.theme-blog-card-link:hover {
    gap: 14px;
}

/* ---------- About ---------- */
.theme-about-mission {
    padding: 110px 0;
}
.theme-about-mission-grid {
    gap: 30px;
}
.theme-about-principle {
    padding: 44px;
    gap: 26px;
}
.theme-objective-card {
    border-radius: 26px;
}
.theme-objective-card .education-info span {
    border-radius: 16px;
    background: linear-gradient(145deg, var(--p-deep), #0a5568);
    color: #fff;
    font-family: var(--p-display);
}
.theme-objective-card p {
    font: 600 16px/1.65 var(--p-sans);
    color: var(--p-deep);
}
.theme-goals-layout {
    padding: 64px;
    border-radius: 36px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(92, 197, 255, 0.3), transparent 50%),
        linear-gradient(135deg, var(--p-deeper), var(--p-deep));
    box-shadow: var(--p-shadow-lg);
}
.theme-goals-layout .about-content h2 {
    color: #fff;
}
.theme-goals-layout .health-service li {
    padding-left: 36px;
    font-family: var(--p-sans);
}
.theme-goals-layout .health-service li:before {
    display: grid;
    place-items: center;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(92, 197, 255, 0.2);
    font-size: 12px;
}
.theme-goals-layout .about-content:before {
    display: none;
}

/* Team */
.theme-team-tabs {
    gap: 8px;
    padding: 6px;
    width: fit-content;
    margin-inline: auto;
    border: 1px solid var(--p-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--p-shadow-sm);
}
.theme-team-tabs .tab-btn {
    padding: 11px 24px;
    border-radius: 999px;
    font: 700 13px var(--p-sans);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.theme-team-tabs .tab-btn.bg-primary {
    background: var(--p-deep) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px -8px rgba(0, 37, 48, 0.6);
}
.theme-team-card {
    border-radius: 26px;
}
.theme-team-photo {
    background: linear-gradient(160deg, #dff3ff, #f1faff);
}
.theme-team-photo img {
    transition: transform 1s var(--p-ease);
}
.theme-team-card:hover .theme-team-photo img {
    transform: scale(1.06);
}
.theme-team-card .organization-content {
    border-bottom: 0;
    position: relative;
}
.theme-team-card .organization-content:after {
    content: "";
    position: absolute;
    left: 22px;
    bottom: 0;
    width: 36px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--p-sky);
    transition: width var(--p-t, 0.4s var(--p-ease));
}
.theme-team-card:hover .organization-content:after {
    width: calc(100% - 44px);
}
.theme-team-card h3 {
    font-size: 19px;
    color: var(--p-deep);
}

/* ---------- Programs ---------- */
.theme-filter-nav {
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 56px;
    padding: 6px;
    border: 1px solid var(--p-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--p-shadow-sm);
}
.theme-filter-nav button {
    padding: 11px 24px;
    border-radius: 999px;
    background: transparent;
    font: 700 13px var(--p-sans);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.theme-filter-nav button:hover {
    background: var(--p-sky-soft);
}
.theme-filter-nav button.active,
.theme-filter-nav button.bg-primary {
    background: var(--p-deep);
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(0, 37, 48, 0.6);
}
.theme-campaign-band {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background:
        radial-gradient(circle at 12% 120%, rgba(255, 255, 255, 0.5), transparent 45%),
        linear-gradient(120deg, #8fd8ff, var(--p-sky) 50%, #3fb4f5);
}
.theme-campaign-band:before {
    content: "";
    position: absolute;
    right: -120px;
    top: -160px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, 0.18);
}
.theme-campaign-band-inner {
    position: relative;
}
.theme-campaign-band h2 {
    font-size: clamp(30px, 3.6vw, 48px);
    color: var(--p-deeper);
}
.theme-campaign-band p {
    color: #123f50;
}

/* ---------- Campaigns ---------- */
.theme-archive-campaigns .health-sec,
.theme-campaign-grid .health-sec {
    border: 1px solid var(--p-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--p-shadow-sm);
    transition: transform var(--p-t, 0.4s var(--p-ease)), box-shadow 0.5s ease;
}
.theme-archive-campaigns .health-sec:hover {
    transform: translateY(-8px);
    box-shadow: var(--p-shadow-lg);
}
.theme-campaign-grid .img-info {
    display: block;
    overflow: hidden;
}
.theme-campaign-grid .img-info img {
    transition: transform 1s var(--p-ease);
}
.theme-campaign-grid .health-sec:hover .img-info img {
    transform: scale(1.07);
}
.theme-campaign-grid .content-info {
    background: #fff;
    color: var(--p-deep);
}
.theme-campaign-grid .content-info h3 {
    font: 600 24px/1.3 var(--p-display);
    letter-spacing: -0.015em;
}
.theme-campaign-grid .content-info a {
    color: var(--p-sky-deep);
    font-family: var(--p-sans);
    text-decoration: none;
}

/* ---------- Publications & Media ---------- */
.theme-publication-item,
.theme-blog-card {
    border-radius: 26px;
}
.theme-publication-icon {
    width: 60px;
    height: 60px;
}
.theme-publication-date {
    font: 700 12px var(--p-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.theme-blog-card-image {
    background: linear-gradient(135deg, #dff3ff, #f1faff);
}
.theme-blog-card-image img {
    transition: transform 1s var(--p-ease);
}
.theme-blog-date {
    font-family: var(--p-sans);
}
.theme-coverage-card {
    padding: 36px;
    border-radius: 26px;
    background: #fff;
}
.theme-coverage-icon {
    width: 58px;
    height: 58px;
}

/* ---------- Gallery ---------- */
.theme-gallery-grid .theme-gallery-item {
    border-radius: 24px;
}

/* ---------- Contact / Support / Donate ---------- */
.theme-contact-heading {
    padding: 80px 0 10px;
}
.theme-contact-details {
    padding: 56px 0 80px;
}
.theme-contact-grid {
    gap: 28px;
}
.theme-contact-grid .helping-hand {
    padding: 32px;
    border: 1px solid var(--p-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--p-shadow-sm);
    transition: transform var(--p-t, 0.4s var(--p-ease)), box-shadow 0.5s ease, border-color 0.35s ease;
}
.theme-contact-grid .helping-hand:hover {
    transform: translateY(-6px);
    border-color: rgba(92, 197, 255, 0.55);
    box-shadow: var(--p-shadow-lg);
}
.theme-contact-grid .helping-hand-info {
    width: 60px;
    height: 60px;
}
.theme-contact-grid .helping-hand-content h3 {
    font-size: 20px;
    color: var(--p-deep);
}
.theme-contact-grid .helping-hand-content p,
.theme-contact-grid .helping-hand-content a {
    font-family: var(--p-sans);
    color: var(--p-sky-deep);
}
.theme-contact-form-section {
    padding: 0 0 120px;
}
.theme-booking-area {
    position: relative;
    overflow: hidden;
    gap: 70px;
    padding: 72px;
    border-radius: 36px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(92, 197, 255, 0.3), transparent 50%),
        linear-gradient(135deg, var(--p-deeper), var(--p-deep));
    box-shadow: var(--p-shadow-lg);
}
.theme-booking-intro h2,
.theme-donate-copy h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.15;
}
.theme-booking-intro p,
.theme-donate-copy p {
    font-family: var(--p-sans);
    color: rgba(255, 255, 255, 0.8);
}
.booking-info {
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
}
.booking-info fieldset {
    gap: 18px;
}
.booking-info label {
    font: 600 13px var(--p-sans);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
}
.booking-info input,
.booking-info textarea,
.booking-info select {
    margin-top: 8px;
    padding: 15px 16px;
    border: 1.5px solid transparent !important;
    border-radius: 14px !important;
    background: #fff;
    color: var(--p-deep);
    font: 500 15px var(--p-sans);
}
.booking-info button {
    padding: 16px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7fd3ff, var(--p-sky) 55%, #3fb4f5);
    font: 700 14px var(--p-sans);
    text-transform: none;
    box-shadow: 0 14px 30px -12px rgba(92, 197, 255, 0.7);
    transition: transform var(--p-t, 0.4s var(--p-ease)), box-shadow var(--p-t, 0.4s var(--p-ease));
}
.booking-info button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px -12px rgba(92, 197, 255, 0.8);
}
.booking-info button:active {
    transform: scale(0.98);
}

.theme-donate-section {
    padding: 90px 0 30px;
}
.theme-donate-copy {
    border-radius: 32px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(92, 197, 255, 0.3), transparent 50%),
        linear-gradient(135deg, var(--p-deeper), var(--p-deep));
    box-shadow: var(--p-shadow-lg);
}
.theme-donate-options .theme-helping-hand {
    padding: 34px;
    border: 1px solid var(--p-line);
    border-radius: 26px;
    background: #fff;
}
.theme-donate-options a {
    font-family: var(--p-sans);
}

/* ---------- Shelter (Tailwind-based page) ---------- */
.bg-surface-container-low {
    background: var(--p-sand) !important;
}
main .theme-content-card {
    padding: 28px;
}
main .theme-content-card p {
    color: var(--p-muted);
}

/* ---------- Detail pages (program / campaign / event / blog) ---------- */
.theme-program-detail {
    padding: 80px 0 120px;
}
.theme-detail-grid {
    gap: 48px;
}
.theme-detail-grid .supporters-info {
    border-radius: 30px;
    box-shadow: var(--p-shadow);
}
.theme-detail-grid .supporters-img {
    overflow: hidden;
}
.theme-detail-grid .supporters-img img {
    transition: transform 1.2s var(--p-ease);
}
.theme-detail-grid .supporters-info:hover .supporters-img img {
    transform: scale(1.03);
}
.theme-detail-grid .democracy-sec {
    padding: 48px;
}
.theme-program-article .theme-program-detail-heading,
.theme-event-detail .supporters-content {
    background: linear-gradient(160deg, var(--p-sky-soft), #f6fbff);
}
.theme-detail-grid .democracy-sec h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    color: var(--p-deep);
}
.theme-detail-grid .democracy-sec p {
    font-size: 17px;
    line-height: 1.85;
}
.theme-detail-sidebar {
    position: sticky;
    top: 130px;
    gap: 28px;
}
.theme-detail-sidebar .ct-panel {
    padding: 30px;
}
.theme-detail-sidebar h2 {
    font: 600 22px var(--p-display);
    letter-spacing: -0.01em;
}
.theme-detail-sidebar li {
    border-color: var(--p-line);
}
.theme-detail-sidebar li a:hover {
    color: var(--p-deep);
}
.theme-blog-detail-content p {
    font-family: var(--p-sans);
    font-size: 18px;
    line-height: 1.9;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .theme-detail-sidebar {
        position: static;
    }
}
@media (max-width: 900px) {
    .theme-about-mission {
        padding: 70px 0;
    }
    .theme-about-principle {
        padding: 28px;
    }
    .theme-goals-layout {
        padding: 34px 26px;
        border-radius: 28px;
    }
    .theme-booking-area {
        padding: 30px 22px;
        gap: 36px;
        border-radius: 28px;
    }
    .booking-info {
        padding: 22px;
    }
    .theme-donate-section {
        padding: 60px 0 20px;
    }
    .theme-detail-grid .democracy-sec {
        padding: 28px 22px;
    }
    .theme-program-detail {
        padding: 50px 0 80px;
    }
    .theme-contact-heading {
        padding: 56px 0 6px;
    }
    .theme-contact-form-section {
        padding-bottom: 80px;
    }
    .theme-filter-nav,
    .theme-team-tabs {
        border-radius: 26px;
        justify-content: center;
    }
    .theme-campaign-band {
        padding: 64px 0;
    }
}
@media (hover: none) {
    .theme-helping-hand:hover,
    .theme-about-principle:hover,
    .theme-coverage-card:hover,
    .theme-objective-card:hover,
    .theme-team-card:hover,
    .theme-publication-item:hover,
    .theme-blog-card:hover,
    .theme-archive-campaigns .health-sec:hover,
    .theme-contact-grid .helping-hand:hover {
        transform: none;
    }
}

/* ==========================================================================
   Inquiry form hardening (contact / support / program inquiry)
   ========================================================================== */
.theme-booking-area {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
}
.theme-booking-intro,
.booking-aria {
    min-width: 0;
    position: relative;
}
.booking-info {
    display: block;
    width: 100%;
    margin: 0;
}
.booking-info fieldset {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.booking-info label {
    display: block;
    min-width: 0;
}
.booking-info input,
.booking-info textarea,
.booking-info select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}
.booking-info textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}
.booking-info input:focus,
.booking-info textarea:focus {
    border-color: var(--p-sky) !important;
    box-shadow: 0 0 0 4px rgba(92, 197, 255, 0.35) !important;
}
.booking-info input[aria-invalid="true"],
.booking-info textarea[aria-invalid="true"] {
    border-color: #e5604f !important;
    box-shadow: 0 0 0 4px rgba(229, 96, 79, 0.25);
}
.booking-info button {
    justify-self: start;
    cursor: pointer;
}
.theme-inquiry-success,
.theme-inquiry-errors {
    margin-bottom: 20px;
    padding: 16px 20px;
    border-radius: 16px;
    font-family: var(--p-sans);
}
.theme-inquiry-errors p {
    margin: 0 0 6px;
    font-weight: 700;
}
.theme-booking-intro {
    min-width: 0;
}
.theme-booking-intro h2 {
    color: #fff;
    overflow-wrap: anywhere;
}
.theme-booking-intro p a,
.theme-booking-link {
    color: #8fd6ff;
    overflow-wrap: anywhere;
}
.theme-booking-intro p a:hover,
.theme-booking-link:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .theme-booking-area {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }
    .booking-info button {
        justify-self: stretch;
        width: 100%;
    }
}

/* Form card: solid white surface with dark labels (always readable) */
.booking-info {
    padding: 40px;
    border: 1px solid var(--p-line);
    border-radius: 28px;
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 30px 60px -24px rgba(0, 20, 28, 0.55);
}
.booking-info label {
    color: var(--p-deep) !important;
    font: 700 13px var(--p-sans);
    letter-spacing: 0.02em;
}
.booking-info input,
.booking-info textarea,
.booking-info select {
    border: 1.5px solid var(--p-line) !important;
    background: var(--p-sand);
    color: var(--p-ink);
}
.booking-info input:hover,
.booking-info textarea:hover {
    border-color: rgba(92, 197, 255, 0.8) !important;
}
.booking-info input:focus,
.booking-info textarea:focus {
    background: #fff;
}
.booking-info ::placeholder {
    color: #8aa0a8;
}
.booking-info button {
    color: var(--p-deeper);
}
@media (max-width: 900px) {
    .booking-info {
        padding: 26px 22px;
        border-radius: 24px;
    }
}
