/*
Theme Name: Faizan e Haram Academy
Description: Academy theme with Elementor Pro Theme Builder locations and a responsive navy and amber design.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: faizan-e-haram
License: GNU General Public License v2 or later
*/

:root {
    --fzh-navy: #003771;
    --fzh-night: #0b1730;
    --fzh-blue: #1f305c;
    --fzh-gold: #ea9903;
    --fzh-cream: #fcf8ef;
    --fzh-muted: #4d5d74;
    --fzh-line: #e3e9f1;
    --fzh-shell: 1180px;
}

body {
    margin: 0;
    color: var(--fzh-night);
    background: white;
    font: 16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

#fzh-main {
    min-height: 40vh;
}

.fzh-shell {
    box-sizing: border-box;
    width: min(var(--fzh-shell),calc(100% - 48px));
    margin-inline: auto;
}

.fzh-header,.fzh-footer {
    color: #fff;
    background: var(--fzh-night);
}

.fzh-header a,.fzh-footer a {
    color: inherit;
    text-decoration: none;
}

.fzh-header a:hover,.fzh-footer a:hover {
    color: #ffbf57;
}

.fzh-topline {
    border-bottom: 1px solid #ffffff20;
    color: #e1ebf7;
    font-size: .78rem;
    letter-spacing: .025em;
}

.fzh-topline>.fzh-shell {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-block: 7px;
}

.fzh-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fzh-brand,.fzh-header .custom-logo-link {
    display: block;
    flex: 0 1 222px;
}

.fzh-brand img,.fzh-header .custom-logo {
    display: block;
    width: 100%;
    max-width: 222px;
    height: auto;
}

.fzh-menu,.fzh-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.fzh-menu {
    display: flex;
    align-items: center;
    gap: clamp(12px,2vw,28px);
    font-size: .9rem;
    font-weight: 600;
}

.fzh-menu li {
    position: relative;
}

.fzh-menu .sub-menu {
    padding: 12px 16px;
    list-style: none;
    background: var(--fzh-night);
    min-width: 150px;
}

.fzh-menu [aria-current="page"] {
    color: #ffbf57;
}

.fzh-toggle {
    display: none;
    border: 1px solid #ffffff57;
    color: white;
    background: transparent;
    padding: 8px 14px;
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
}

.fzh-btn,.fzh-header .fzh-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 11px 17px;
    background: var(--fzh-gold);
    color: var(--fzh-night);
    text-decoration: none;
    font-weight: 750;
    white-space: nowrap;
}

.fzh-btn:hover,.fzh-header .fzh-btn:hover {
    background: #ffba47;
    color: var(--fzh-night);
}

.fzh-skip {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 99999;
    padding: 12px;
    background: white;
    color: var(--fzh-night);
    transform: translateY(-200%);
}

.fzh-skip:focus {
    transform: none;
}

.fzh-header :focus-visible,.fzh-footer :focus-visible,#fzh-main :focus-visible {
    outline: 3px solid #c56e00;
    outline-offset: 4px;
}

.fzh-footer {
    padding: 54px 0 0;
}

.fzh-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .75fr 1fr;
    gap: 40px;
}

.fzh-footer img {
    max-width: min(230px,100%);
    height: auto;
}

.fzh-footer h2 {
    margin: 0 0 14px;
    color: #ffbf57;
    font-size: 1rem;
}

.fzh-footer p,.fzh-footer li {
    color: #d4dfed;
}

.fzh-footer li+li {
    margin-top: 5px;
}

.fzh-footer-end {
    margin-top: 34px;
    border-top: 1px solid #ffffff25;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 16px;
    color: #c6d2e2;
    font-size: .85rem;
}

.fzh-entry {
    padding-block: clamp(40px,7vw,95px);
    overflow-wrap: anywhere;
}

.fzh-entry h1,:is(.fzh-page-design,.elementor) .fzh-display .elementor-heading-title {
    font-family: Georgia,serif;
    font-weight: 500;
    font-size: clamp(2.65rem,6vw,5.35rem);
    line-height: 1.04;
    letter-spacing: -.042em;
    margin: 0;
}

.fzh-entry>img,.fzh-post-card img {
    max-width: 100%;
    height: auto;
}

.fzh-entry a:not(.fzh-btn) {
    color: var(--fzh-navy);
}

.fzh-kicker {
    color: #865008;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .78rem;
    font-weight: 800;
}

.fzh-welcome {
    padding: clamp(30px,6vw,65px);
    background: var(--fzh-cream);
    border-radius: 24px;
    margin-bottom: 36px;
}

.fzh-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,275px),1fr));
    gap: 20px;
    margin: 24px 0;
}

.fzh-post-card {
    border: 1px solid var(--fzh-line);
    padding: 20px;
    border-radius: 12px;
    min-width: 0;
}

.fzh-post-card h2 {
    font-size: 1.25rem;
}

:is(.fzh-page-design,.elementor) .fzh-section,:is(.fzh-page-design,.elementor) .fzh-hero,:is(.fzh-page-design,.elementor) .fzh-banner,:is(.fzh-page-design,.elementor) .fzh-page-intro {
    --container-max-width: 1180px;
    --padding-inline-start: 24px;
    --padding-inline-end: 24px;
}

:is(.fzh-page-design,.elementor) .fzh-hero {
    --padding-block-start: 72px;
    --padding-block-end: 74px;
    overflow: hidden;
    color: white;
    background: radial-gradient(ellipse at 82% 12%,#174a83 0,transparent 57%),linear-gradient(119deg,#0b1730,#003771);
}

:is(.fzh-page-design,.elementor) .fzh-hero>.e-con-inner {
    display: grid;
    grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr);
    align-items: center;
    gap: clamp(30px,6vw,78px);
}

:is(.fzh-page-design,.elementor) .fzh-hero-copy,:is(.fzh-page-design,.elementor) .fzh-hero-art,:is(.fzh-page-design,.elementor) .fzh-form-layout>.e-con-inner>.e-con {
    --width: 100%;
    --gap: 17px;
    --padding-block-start: 0px;
    --padding-block-end: 0px;
    --padding-inline-start: 0px;
    --padding-inline-end: 0px;
}

:is(.fzh-page-design,.elementor) .fzh-hero .elementor-heading-title,:is(.fzh-page-design,.elementor) .fzh-banner .elementor-heading-title {
    color: white;
}

:is(.fzh-page-design,.elementor) .fzh-display em {
    color: #ffbd58;
    font-style: normal;
}

:is(.fzh-page-design,.elementor) .fzh-eyebrow .elementor-heading-title {
    font: 800 .77rem/1.5 system-ui,sans-serif;
    text-transform: uppercase;
    letter-spacing: .19em;
    color: #905200;
}

:is(.fzh-page-design,.elementor) .fzh-hero .fzh-eyebrow .elementor-heading-title,:is(.fzh-page-design,.elementor) .fzh-banner .fzh-eyebrow .elementor-heading-title {
    color: #ffc66b;
}

:is(.fzh-page-design,.elementor) .fzh-lead {
    max-width: 620px;
    font-size: clamp(1rem,1.7vw,1.18rem);
    color: var(--fzh-muted);
}

:is(.fzh-page-design,.elementor) .fzh-hero .fzh-lead,:is(.fzh-page-design,.elementor) .fzh-banner .fzh-lead {
    color: #e0eaf6;
}

:is(.fzh-page-design,.elementor) .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

:is(.fzh-page-design,.elementor) .fzh-hero-art {
    position: relative;
    height: auto;
    align-self: center;
    border: 1px solid #eaaa526e;
    border-radius: 48% 48% 18px 18px / 31% 31% 18px 18px;
    padding: 10px!important;
    background: #ffffff13;
}

:is(.fzh-page-design,.elementor) .fzh-hero-art img {
    display: block;
    width: 100%;
    height: clamp(320px,39vw,490px);
    object-fit: cover;
    object-position: center 42%;
    border-radius: 48% 48% 11px 11px / 31% 31% 11px 11px;
}

:is(.fzh-page-design,.elementor) .fzh-actions.e-con {
    flex-flow: row wrap;
    gap: 12px;
    --padding-inline-start: 0px;
    --padding-inline-end: 0px;
    --padding-block-start: 0px;
    --padding-block-end: 0px;
    --flex-direction: row;
    --flex-wrap: wrap;
    --gap: 12px;
}

:is(.fzh-page-design,.elementor) .fzh-actions>.elementor-widget {
    width: auto;
    flex: 0 0 auto;
}

:is(.fzh-page-design,.elementor) .fzh-lead p {
    margin: 0;
}

:is(.fzh-page-design,.elementor) .fzh-action .elementor-button,:is(.fzh-page-design,.elementor) .fzh-form-card .elementor-button {
    background: var(--fzh-gold);
    color: #0b1730;
    border-radius: 8px;
    font: 750 .95rem/1.25 system-ui,sans-serif;
    padding: 14px 19px;
}

:is(.fzh-page-design,.elementor) .fzh-action .elementor-button:hover,:is(.fzh-page-design,.elementor) .fzh-form-card .elementor-button:hover {
    background: #ffbc54;
}

:is(.fzh-page-design,.elementor) .fzh-hero .fzh-outline .elementor-button {
    background: transparent;
    border: 1px solid #b4cbe880;
    color: white;
}

:is(.fzh-page-design,.elementor) .fzh-hero .fzh-outline .elementor-button:hover {
    background: #ffffff17;
}

:is(.fzh-page-design,.elementor) .fzh-section {
    --padding-block-start: 68px;
    --padding-block-end: 70px;
    --gap: 19px;
}

:is(.fzh-page-design,.elementor) .fzh-page-intro {
    --padding-block-start: 62px;
    --padding-block-end: 64px;
    --gap: 15px;
    background: var(--fzh-cream);
    border-bottom: 1px solid #efe6d5;
}

:is(.fzh-page-design,.elementor) .fzh-page-intro .elementor-heading-title,:is(.fzh-page-design,.elementor) .fzh-section .fzh-heading .elementor-heading-title {
    color: var(--fzh-night);
}

:is(.fzh-page-design,.elementor) .fzh-heading .elementor-heading-title {
    font: 500 clamp(2rem,4vw,3.35rem)/1.12 Georgia,serif;
    letter-spacing: -.028em;
}

:is(.fzh-page-design,.elementor) .fzh-soft {
    background: #f5f8fc;
}

:is(.fzh-page-design,.elementor) .fzh-banner {
    --padding-block-start: 55px;
    --padding-block-end: 57px;
    background: var(--fzh-navy);
    color: white;
}

:is(.fzh-page-design,.elementor) .fzh-form-layout>.e-con-inner {
    display: grid;
    grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
    align-items: start;
    gap: clamp(25px,5vw,70px);
}

:is(.fzh-page-design,.elementor) .fzh-form-card {
    padding: clamp(18px,4vw,40px)!important;
    background: white;
    border: 1px solid var(--fzh-line);
    border-radius: 18px;
    box-shadow: 0 12px 34px #15305c0c;
}

:is(.fzh-page-design,.elementor) .fzh-form-card .elementor-field-label {
    font-weight: 650;
    color: var(--fzh-night);
}

:is(.fzh-page-design,.elementor) .fzh-form-card .elementor-field-textual {
    background: #f8faff;
    color: var(--fzh-night);
    border: 1px solid #a9b7cc;
    border-radius: 7px;
    min-height: 43px;
    padding: 9px 12px;
}

:is(.fzh-page-design,.elementor) .fzh-form-card .elementor-field-type-acceptance {
    font-size: .88rem;
}

.fzh-feature-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}

.fzh-feature-grid>div,.fzh-faq details {
    padding: 21px;
    background: white;
    border: 1px solid var(--fzh-line);
    border-radius: 14px;
}

.fzh-feature-grid strong {
    display: block;
    color: var(--fzh-navy);
    font-size: 1.12rem;
}

.fzh-feature-grid p,.fzh-faq p {
    margin: 8px 0 0;
    color: var(--fzh-muted);
}

.fzh-faq details+details {
    margin-top: 10px;
}

.fzh-faq summary {
    cursor: pointer;
    font-weight: 700;
}

.fzh-fees details {
    background: white;
    border: 1px solid var(--fzh-line);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.fzh-fees summary {
    cursor: pointer;
    color: var(--fzh-navy);
    font-weight: 750;
}

.fzh-fee-scroll {
    overflow-x: auto;
}

.fzh-fees table {
    width: 100%;
    min-width: 450px;
    border-collapse: collapse;
    margin-top: 13px;
    text-align: start;
}

.fzh-fees th,.fzh-fees td {
    text-align: start;
    padding: 9px;
    border-bottom: 1px solid var(--fzh-line);
}

@media(min-width:941px) {
    .fzh-menu .sub-menu {
        display: none;
        position: absolute;
        z-index: 10;
        inset-inline-start: 0;
    }
    .fzh-menu li:hover>.sub-menu,.fzh-menu li:focus-within>.sub-menu {
        display: block;
    }
}

@media(max-width:940px) {
    .fzh-header-inner {
        flex-wrap: wrap;
        padding-block: 13px;
        min-height: 0;
        gap: 10px;
    }
    .fzh-toggle:not([hidden]) {
        display: block;
    }
    .fzh-navigation {
        order: 3;
        width: 100%;
    }
    .fzh-navigation.fzh-nav-ready:not(.fzh-nav-open) {
        display: none;
    }
    .fzh-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }
    .fzh-menu a {
        display: block;
        padding: 8px 0;
    }
    .fzh-menu .sub-menu {
        padding-block: 0;
    }
}

@media(max-width:767px) {
    :is(.fzh-page-design,.elementor) .fzh-hero>.e-con-inner,:is(.fzh-page-design,.elementor) .fzh-form-layout>.e-con-inner {
        grid-template-columns: 1fr;
    }
    :is(.fzh-page-design,.elementor) .fzh-hero {
        --padding-block-start: 48px;
        --padding-block-end: 50px;
    }
    :is(.fzh-page-design,.elementor) .fzh-section,:is(.fzh-page-design,.elementor) .fzh-page-intro {
        --padding-block-start: 42px;
        --padding-block-end: 46px;
    }
    :is(.fzh-page-design,.elementor) .fzh-hero-art {
        max-width: 450px;
        width: 100%;
        justify-self: center;
    }
    .fzh-feature-grid,.fzh-footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media(max-width:480px) {
    .fzh-topline a,.fzh-header-cta {
        display: none!important;
    }
    .fzh-shell {
        width: calc(100% - 32px);
    }
    .fzh-header .fzh-brand,.fzh-header .custom-logo-link {
        flex-basis: 185px;
    }
}

:is(.fzh-page-design,.elementor) .fzh-section.fzh-banner .fzh-heading .elementor-heading-title {
    color: white;
}
