/* Free Resources, Grammar Sheets and Level Test pages. Scoped to .htla-free. */
.htla-free{--sec:clamp(20px,calc(10.9px + 2.33vw),40px);font-family:var(--body);color:#2E3B4C;font-size:17px;line-height:1.6}
.htla-free *{box-sizing:border-box}
.htla-free :where(h1,h2,h3,p){margin:0}
.htla-free .fr-wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.htla-free .fr-hero{background:radial-gradient(900px 420px at 50% 0%,rgba(227,194,135,.26),transparent 62%),var(--cream);padding:calc(var(--sec) + 18px) 0 calc(var(--sec) + 6px);text-align:center}
.htla-free .fr-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sage)}
.htla-free .fr-eyebrow::before{content:"";width:28px;height:2px;background:var(--gold);border-radius:2px}
.htla-free .fr-ar{font-family:var(--arabic);font-size:24px;font-weight:700;color:var(--gold-ink);margin-top:8px}
.htla-free .fr-hero h1{font-family:var(--display);font-size:clamp(34px,4.4vw,56px);line-height:1.1;color:var(--navy);margin-top:6px;letter-spacing:-.015em}
.htla-free .fr-hero h1 em{color:var(--sage)}
.htla-free .fr-lead{font-size:18px;color:var(--grey);max-width:660px;margin:14px auto 0}
.htla-free .fr-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
.htla-free .fr-btn>.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:999px;border:1.5px solid var(--gold);background:var(--gold);color:var(--navy);font-weight:700;font-size:16px;box-shadow:0 10px 24px rgba(212,154,58,.30);transition:transform .2s,background-color .2s}
.htla-free .fr-btn>.wp-block-button__link:hover{background:#E0AA4E;transform:translateY(-2px)}
.htla-free .fr-btn--line>.wp-block-button__link{background:transparent;border-color:var(--navy);box-shadow:none}
.htla-free .fr-btn--line>.wp-block-button__link:hover{background:var(--navy);color:#fff}
.htla-free .fr-btn--light>.wp-block-button__link{background:transparent;border-color:rgba(255,255,255,.45);color:#fff;box-shadow:none}
.htla-free .fr-btn--light>.wp-block-button__link:hover{background:#fff;color:var(--navy)}
.htla-free .fr-sec{padding:var(--sec) 0;background:var(--paper)}
.htla-free .fr-sec--tight{padding-top:0}
.htla-free .fr-sec--test{background:linear-gradient(var(--cream) 0 120px,var(--paper) 120px);padding-top:0}
.htla-free .fr-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.htla-free .fr-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px 24px;transition:transform .2s,box-shadow .2s,border-color .2s}
.htla-free .fr-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#E2D6C1}
.htla-free .fr-card h3{font-family:var(--display);font-size:22px;color:var(--navy);margin-top:6px}
.htla-free .fr-card p{font-size:15px;color:var(--grey)}
.htla-free .fr-card .fr-card__cta{margin-top:auto;padding-top:6px;font-weight:700;color:var(--navy);display:inline-flex;align-items:center;gap:6px}
.htla-free .fr-card .fr-card__cta::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .2s}
.htla-free .fr-card:hover .fr-card__cta::after{transform:translateX(3px)}
.htla-free .fr-card__ic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--sage-soft);color:var(--sage)}
.htla-free .fr-card__ic::before{content:"";width:24px;height:24px;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.htla-free .fr-card:nth-child(2) .fr-card__ic{background:#F6ECDA;color:var(--gold-ink)}
.htla-free .fr-card:nth-child(3) .fr-card__ic{background:#E8ECF1;color:var(--navy)}
.htla-free .fr-card:nth-child(4) .fr-card__ic{background:#FDECEC;color:#E0263B}
.htla-free .ic-test{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E")}
.htla-free .ic-sheet{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E")}
.htla-free .ic-chat{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2Z'/%3E%3C/svg%3E")}
.htla-free .ic-play{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12 31 31 0 0 0 1 16.8a3 3 0 0 0 2.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 .5-4.8 31 31 0 0 0-.5-4.8ZM9.7 15V9l5.8 3-5.8 3Z'/%3E%3C/svg%3E")}
.htla-free .fr-cta{background:var(--navy);border-radius:32px;padding:clamp(28px,4vw,48px);text-align:center;color:#DCE3EA;position:relative;overflow:hidden}
.htla-free .fr-cta::before{content:"";position:absolute;width:460px;height:460px;border-radius:50%;right:-140px;top:-220px;background:radial-gradient(circle,rgba(227,194,135,.32),transparent 65%)}
.htla-free .fr-cta>*{position:relative}
.htla-free .fr-cta h2{font-family:var(--display);font-size:clamp(26px,3vw,38px);color:#fff}
.htla-free .fr-cta p{color:#B9C4CF;margin:10px auto 0;max-width:560px}
@media (max-width:1000px){.htla-free .fr-cards{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.htla-free .fr-wrap{padding:0 16px}.htla-free .fr-cards{grid-template-columns:1fr}.htla-free .fr-btns .wp-block-button{width:100%}.htla-free .fr-btn>.wp-block-button__link{width:100%}}
.htla-free .fr-sec--test .htla-lt__intro .htla-lt__ar,.htla-free .fr-sec--test .htla-lt__intro .htla-lt__title{display:none}
.htla-free .fr-sec--test .htla-lt__intro p{margin-top:0}
