/* Teacher Fernanda Free Guides — same look as the site: navy, red, greys; weight 700+, titles 900; 10px radius max. */
.tffg { padding: var(--tf-body-top, 48px) var(--tf-gutter, 20px) var(--tf-body-bottom, 72px); color: var(--tf-text, #333); }
.tffg-wrap { max-width: var(--tf-wide, 1200px); margin: 0 auto; }
.tffg .tf-btn { min-height: 52px; gap: 10px; font-size: 18px; }
.tffg-ic { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.tffg-admin-note { background: #fff4f4; border: 2px solid var(--tf-red, #c4090a); border-radius: 10px; padding: 16px 20px; margin: 0 0 24px; color: var(--tf-navy, #1a1c2a); }

/* Top: cover + form (side by side only on desktop) */
.tffg-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .tffg-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } }
@media (max-width: 899px) { .tffg-hero__cover { order: 2; } .tffg-hero__cover img { max-width: 300px; } }
.tffg-hero__cover img { width: 100%; max-width: 480px; margin: 0 auto; border-radius: 10px; box-shadow: var(--tf-shadow, 0 10px 30px rgba(26,28,42,.10)); border: 1px solid var(--tf-grey-light, #eaebec); }
.tffg-box { background: #fff; border: 2px solid var(--tf-navy, #1a1c2a); border-radius: 10px; padding: 32px; }
@media (max-width: 560px) { .tffg-box { padding: 24px 18px; } }
.tffg-box__title { color: var(--tf-red, #c4090a); font-size: clamp(26px, 3vw, 32px); font-weight: 900; margin: 0 0 24px; line-height: 1.2; }
.tffg-box__en { margin: -16px 0 24px; color: var(--tf-grey-dark, #5b5f6e); font-size: 16px; font-weight: 800; }
.tffg-field { display: block; margin: 0 0 16px; }
.tffg-field span { display: block; margin: 0 0 8px; color: var(--tf-navy, #1a1c2a); font-size: 16px; font-weight: 900; }
.tffg-field input { width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--tf-grey-mid, #aeaeae); border-radius: 10px; font: 700 18px/1.3 inherit; font-family: inherit; color: var(--tf-navy, #1a1c2a); background: #fff; }
.tffg-field input:focus { border-color: var(--tf-navy, #1a1c2a); outline: 3px solid rgba(196, 9, 10, .25); outline-offset: 1px; }
.tffg-ver { border: 0; margin: 0 0 16px; padding: 0; }
.tffg-ver legend { margin: 0 0 8px; padding: 0; color: var(--tf-navy, #1a1c2a); font-size: 16px; font-weight: 900; }
.tffg-ver__opt { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin: 0 0 12px; border: 2px solid var(--tf-grey-light, #eaebec); border-radius: 10px; background: #f6f6f7; cursor: pointer; }
.tffg-ver__opt:has(input:checked) { border-color: var(--tf-navy, #1a1c2a); background: #fff; }
.tffg-ver__opt input { width: 22px; height: 22px; accent-color: var(--tf-red, #c4090a); flex-shrink: 0; }
.tffg-ver__opt span { color: var(--tf-navy, #1a1c2a); font-size: 17px; font-weight: 900; line-height: 1.3; }
.tffg-ver__opt small { display: block; color: var(--tf-grey-dark, #5b5f6e); font-size: 16px; font-weight: 700; }
.tffg-agree { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 24px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--tf-text, #333); cursor: pointer; }
.tffg-agree input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--tf-red, #c4090a); flex-shrink: 0; }
.tffg-submit[disabled] { opacity: .6; cursor: wait; }
.tffg-msg { margin: 16px 0 0; font-size: 16px; font-weight: 800; color: var(--tf-red, #c4090a); }
.tffg-msg:empty { display: none; }
.tffg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tffg-done { text-align: center; }
.tffg-done__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tf-grey-light, #eaebec); color: var(--tf-red, #c4090a); margin: 0 0 16px; }
.tffg-done__ic .tffg-ic { width: 36px; height: 36px; }
.tffg-done__msg { margin: 16px 0 0; font-size: 16px; }

/* Sections */
.tffg-sec { margin-top: 64px; text-align: center; }
.tffg-sec--grey { background: var(--tf-grey-light, #eaebec); border-radius: 10px; padding: 48px 24px; }
.tffg-sec__title { color: var(--tf-red, #c4090a); font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; margin: 0 0 24px; line-height: 1.2; }
.tffg-sec__en { margin: -12px 0 24px; color: var(--tf-grey-dark, #5b5f6e); font-size: 16px; font-weight: 800; }
.tffg-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: left; }
@media (min-width: 700px) { .tffg-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tffg-items { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tffg-item { background: #fff; border: 2px solid var(--tf-grey-light, #eaebec); border-radius: 10px; padding: 24px; }
.tffg-item__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tf-grey-light, #eaebec); color: var(--tf-red, #c4090a); margin: 0 0 12px; }
.tffg-item h3 { color: var(--tf-navy, #1a1c2a); font-size: 19px; font-weight: 900; margin: 0 0 8px; }
.tffg-item p { margin: 0; font-size: 16px; line-height: 1.55; }
.tffg-chips { display: grid; grid-template-columns: repeat(var(--tffg-mcols, 2), minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 700px) { .tffg-chips { grid-template-columns: repeat(var(--tffg-cols, 4), minmax(0, 1fr)); } }
.tffg-chips span { display: flex; align-items: center; justify-content: center; min-height: 64px; background: #fff; border: 2px solid var(--tf-grey-light, #d8d9de); border-radius: 10px; padding: 16px 12px; color: var(--tf-navy, #1a1c2a); font-size: 20px; font-weight: 900; line-height: 1.25; overflow-wrap: anywhere; }
.tffg-cta { margin: 24px 0 0; display: flex; justify-content: center; }

/* /gratis/ list */
.tffg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 800px) { .tffg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tffg-grid--one { max-width: 980px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) !important; }
.tffg-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: 100%; background: #fff; border: 2px solid var(--tf-grey-light, #eaebec); border-radius: 10px; overflow: hidden; color: inherit; transition: box-shadow .25s, transform .25s; }
.tffg-card:hover, .tffg-card:focus { box-shadow: var(--tf-shadow-hover, 0 16px 40px rgba(26,28,42,.16)); transform: translateY(-2px); color: inherit; }
@media (min-width: 800px) { .tffg-grid--one .tffg-card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto; align-items: center; } }
.tffg-card__img { display: flex; align-items: center; justify-content: center; background: var(--tf-grey-light, #eaebec); padding: 24px; }
.tffg-card__img img { display: block; width: 100%; max-width: 320px; aspect-ratio: 1000 / 1414; height: auto; object-fit: contain; margin: 0 auto; border-radius: 10px; box-shadow: var(--tf-shadow, 0 10px 30px rgba(26,28,42,.10)); }
.tffg-card__body { display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.tffg-card__tag { color: var(--tf-red, #c4090a); font-size: 16px; font-weight: 900; }
.tffg-card__title { color: var(--tf-navy, #1a1c2a); font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; line-height: 1.2; }
.tffg-card__en { color: var(--tf-grey-dark, #5b5f6e); font-size: 16px; font-weight: 800; }
.tffg-card__sub { font-size: 17px; margin: 0 0 12px; }
.tffg-card__btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 560px) { .tffg-card__btn { align-self: stretch; } }
.tffg-empty { text-align: center; font-size: 18px; }

.tffg--single .tffg-box__en,.tffg--single .tffg-sec__en{display:none}
