/* ==========================================================================
   Megrez Service Page Styles
   Scoped under body.megrez-service-page .entry-content
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Content padding (desktop only - excludes hero)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content {
    padding-left: 20px;
    padding-right: 20px;
}

body.megrez-service-page .entry-content>section.fsw-hero {
    padding-left: 0;
    padding-right: 0;
    margin-left: -20px;
    margin-right: -20px;
}

/* --------------------------------------------------------------------------
   1. Intro blocks
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content h5.mgz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #CB110B;
    margin: 0 0 20px 0;
}

body.megrez-service-page .entry-content h5.mgz-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: #CB110B;
    display: inline-block;
}

body.megrez-service-page .entry-content h2.mgz-page-intro {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #0A0A0A;
    margin: 0 0 20px 0;
}

body.megrez-service-page .entry-content h4.mgz-lead {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: #595959;
    max-width: 680px;
    margin: 0 0 72px 0;
}

/* --------------------------------------------------------------------------
   2. Section titles (h2 without any mgz- class and not aligned right)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content h2:not([class*="mgz-"]):not(.has-text-align-right) {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0A0A0A;
    margin: 72px 0 24px 0;
    scroll-margin-top: 220px;
}

/* --------------------------------------------------------------------------
   3. Body paragraphs (direct children of .entry-content only)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content>p {
    font-size: 16px;
    line-height: 1.75;
    color: #2A2A2A;
    text-align: justify;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    margin: 0 0 1.2em 0;
}

body.megrez-service-page .entry-content>p strong {
    color: #0A0A0A;
    font-weight: 600;
}

body.megrez-service-page .entry-content>p a {
    color: #CB110B;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

body.megrez-service-page .entry-content>p a:hover {
    border-bottom-color: #CB110B;
}

body.megrez-service-page .entry-content p:empty {
    display: none;
}

/* --------------------------------------------------------------------------
   4. External link arrow
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content a[target="_blank"]::after {
    content: "\2197";
    display: inline-block;
    margin-left: 3px;
    font-size: 0.85em;
    opacity: 0.7;
    color: inherit;
}

/* --------------------------------------------------------------------------
   5. Kadence 2-column rows (utility)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content .kt-row-column-wrap.kt-has-2-columns {
    column-gap: 40px;
}

/* --------------------------------------------------------------------------
   6. Pattern A - Requirement list (.mgz-requirements)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content .mgz-requirements .kt-inside-inner-col>h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0 0 4px 0;
    border-top: 1px solid #F0F0F0;
    padding-top: 20px;
}

body.megrez-service-page .entry-content .mgz-requirements .kt-inside-inner-col>h4:first-of-type {
    border-top: none;
    padding-top: 0;
}

body.megrez-service-page .entry-content .mgz-requirements .kt-inside-inner-col>p {
    font-size: 15px;
    line-height: 1.65;
    color: #595959;
    text-align: left;
    margin: 0 0 20px 0;
}

body.megrez-service-page .entry-content .mgz-requirements .kt-inside-inner-col>p strong {
    color: #0A0A0A;
    font-weight: 600;
}

body.megrez-service-page .entry-content .mgz-requirements .kt-inside-inner-col>p a {
    color: #CB110B;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

body.megrez-service-page .entry-content .mgz-requirements .kt-inside-inner-col>p a:hover {
    border-bottom-color: #CB110B;
}

/* --------------------------------------------------------------------------
   7. Pattern B - Factor card (.mgz-factor-card)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content .mgz-factor-card .kt-inside-inner-col {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid #F0F0F0;
    padding: 20px 0;
}

body.megrez-service-page .entry-content .mgz-factor-card .kt-inside-inner-col>h4 {
    flex: 1 1 auto;
    order: 1;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0A0A0A;
    letter-spacing: -0.01em;
    border-top: none;
    padding-top: 0;
}

body.megrez-service-page .entry-content .mgz-factor-card .kt-inside-inner-col>h6.has-text-align-right {
    flex-shrink: 0;
    order: 2;
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #CB110B;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

body.megrez-service-page .entry-content .mgz-factor-card .kt-inside-inner-col>p {
    flex-basis: 100%;
    order: 3;
    font-size: 14px;
    line-height: 1.65;
    color: #595959;
    text-align: left;
    margin: 8px 0 0 0;
}

body.megrez-service-page .entry-content .mgz-factor-card .kt-inside-inner-col>p strong {
    color: #0A0A0A;
    font-weight: 600;
}

body.megrez-service-page .entry-content .mgz-factor-card .kt-inside-inner-col>p a {
    color: #CB110B;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

body.megrez-service-page .entry-content .mgz-factor-card .kt-inside-inner-col>p a:hover {
    border-bottom-color: #CB110B;
}

/* --------------------------------------------------------------------------
   8. Pattern C - Numbered steps (.mgz-steps)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content .mgz-steps>.kt-row-column-wrap>.wp-block-kadence-column {
    border-top: 1px solid #F0F0F0;
    padding: 20px 0;
}

body.megrez-service-page .entry-content .mgz-steps h2.has-text-align-right {
    font-size: 28px;
    font-weight: 200;
    color: #CB110B;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    margin: 0;
}

body.megrez-service-page .entry-content .mgz-steps .kt-row-layout-right-golden h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0 0 4px 0;
}

body.megrez-service-page .entry-content .mgz-steps .kt-row-layout-right-golden p {
    font-size: 14px;
    line-height: 1.65;
    color: #595959;
    text-align: left;
    margin: 0;
}

body.megrez-service-page .entry-content .mgz-steps .kt-row-layout-right-golden p strong {
    color: #0A0A0A;
    font-weight: 600;
}

body.megrez-service-page .entry-content .mgz-steps .kt-row-layout-right-golden p a {
    color: #CB110B;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

body.megrez-service-page .entry-content .mgz-steps .kt-row-layout-right-golden p a:hover {
    border-bottom-color: #CB110B;
}

/* --------------------------------------------------------------------------
   X. Pattern D - Counts grid (.mgz-counts-grid)
   -------------------------------------------------------------------------- */

body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0 0 12px 0;
    border-top: 1px solid #F0F0F0;
    padding-top: 20px;
    letter-spacing: -0.01em;
}

body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>h4:first-of-type {
    border-top: none;
    padding-top: 0;
}

body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ul,
body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ol {
    margin: 0 0 20px 0;
    padding-left: 1.2em;
}

body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ul li,
body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ol li {
    font-size: 15px;
    line-height: 1.65;
    color: #595959;
    margin: 0 0 8px 0;
}

body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ul li strong,
body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ol li strong {
    color: #0A0A0A;
    font-weight: 600;
}

body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ul li a,
body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ol li a {
    color: #CB110B;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ul li a:hover,
body.megrez-service-page .entry-content .mgz-counts-grid .kt-inside-inner-col>ol li a:hover {
    border-bottom-color: #CB110B;
}

/* --------------------------------------------------------------------------
   9. Responsive - break at 900px
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    body.megrez-service-page .entry-content {
        padding-left: 0;
        padding-right: 0;
    }

    body.megrez-service-page .entry-content>section.fsw-hero {
        margin-left: 0;
        margin-right: 0;
    }

    body.megrez-service-page .entry-content .kt-row-column-wrap.kt-has-2-columns {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    body.megrez-service-page .entry-content .kt-row-column-wrap.kt-has-2-columns>.wp-block-kadence-column {
        width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    body.megrez-service-page .entry-content h2.mgz-page-intro {
        font-size: 28px;
    }

    body.megrez-service-page .entry-content h2:not([class*="mgz-"]):not(.has-text-align-right) {
        font-size: 24px;
        scroll-margin-top: 120px;
    }
}

/* ──────────────────────────────────────────────────────────
   FST page (page-id-1749): justify body text paragraphs
   Scoped to page ID to avoid affecting CEC, FSW, or other
   service pages until the visual result is confirmed.
   ────────────────────────────────────────────────────────── */
.page-id-1749 .entry-content p,
.page-id-1749 .entry-content li {
    text-align: justify;
}

/* Restore original alignment for elements that should not be justified:
   - CTA final (centered)
   - Related services cards (left)
   - Any block with explicit Kadence/WP alignment classes */
.page-id-1749 .megrez-cta-final p {
    text-align: center;
}

.page-id-1749 .megrez-related-services p {
    text-align: left;
}

.page-id-1749 .has-text-align-center {
    text-align: center;
}

.page-id-1749 .has-text-align-right {
    text-align: right;
}

/* ──────────────────────────────────────────────────────────────
   FST HERO BLOCK
   Federal Skilled Trades — page-id-1749
   Scoped via .fst-hero prefix to avoid conflicts with other pages
   ────────────────────────────────────────────────────────────── */

.fst-hero {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.fst-hero *,
.fst-hero *::before,
.fst-hero *::after {
    box-sizing: border-box;
}

.fst-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.fst-hero__left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* H1 */
.fst-hero__h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    color: #231f20;
    letter-spacing: -0.015em;
    margin: 0;
}

.fst-hero__h1-red {
    color: #CB110B;
    font-size: 0.55em;
    font-weight: 500;
    display: block;
    margin-top: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Subtitle */
.fst-hero__subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: #595959;
    font-weight: 400;
    margin: 0;
}

.fst-hero__subtitle strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* CTAs */
.fst-hero__ctas {
    display: flex;
    gap: 12px;
    margin-top: -12px;
    flex-wrap: wrap;
}

.fst-hero__cta-primary,
.fst-hero__cta-secondary {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.fst-hero__cta-primary {
    background: #CB110B;
    color: #ffffff;
    border: 1px solid #CB110B;
}

.fst-hero__cta-primary:hover {
    transform: scale(1.05);
    color: #ffffff;
    text-decoration: none;
}

.fst-hero__cta-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #d4d4d4;
}

.fst-hero__cta-secondary:hover {
    transform: scale(1.05);
    color: #1a1a1a;
    text-decoration: none;
}

/* ── SKILLS CARD ──────────────────────────────────────────── */
.fst-hero__skills-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.fst-hero__skills-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: #CB110B;
    transition: height 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.fst-hero__skills-card--animated::before {
    height: 100%;
}

/* Eyebrow inside card */
.fst-hero__eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: #CB110B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fst-hero__eyebrow.fst-hero--show {
    opacity: 1;
    transform: translateY(0);
}

/* VS layout */
.fst-hero__vs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.fst-hero__side {
    text-align: center;
    padding: 16px 8px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease;
}

.fst-hero__side.fst-hero--show {
    opacity: 1;
    transform: translateY(0);
}

.fst-hero__side:hover {
    background: rgba(203, 17, 11, 0.03);
}

.fst-hero__emoji {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fst-hero__side.fst-hero--show .fst-hero__emoji {
    animation: fstHeroBounceIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fstHeroBounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.fst-hero__side--dim .fst-hero__emoji {
    opacity: 0.35;
    filter: grayscale(80%);
}

.fst-hero__side:hover .fst-hero__emoji {
    transform: scale(1.08);
}

.fst-hero__side-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 12px;
    font-weight: 600;
}

.fst-hero__side-text {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    position: relative;
    display: block;
    padding: 0 4px;
    width: 100%;
}

.fst-hero__side--dim .fst-hero__side-text {
    color: #aaa;
    text-decoration: line-through transparent;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
    transition: text-decoration-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated strike-through */
.fst-hero__side--dim.fst-hero__side--struck .fst-hero__side-text {
    text-decoration-color: #CB110B;
}

/* Divider with "OVER" badge */
.fst-hero__divider {
    width: 1px;
    height: 140px;
    background: #e5e7e8;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fst-hero__divider.fst-hero--show {
    opacity: 1;
}

.fst-hero__divider::before {
    content: 'OVER';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: #ffffff;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 700;
    color: #CB110B;
    letter-spacing: 0.12em;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    opacity: 0;
}

.fst-hero__divider.fst-hero--show::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Stats grid */
.fst-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #e5e7e8;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fst-hero__stats.fst-hero--show {
    opacity: 1;
    transform: translateY(0);
}

.fst-hero__stat {
    text-align: center;
}

.fst-hero__stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.fst-hero__stat-number--red {
    color: #CB110B;
}

.fst-hero__stat-label {
    font-size: 11px;
    color: #888;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .fst-hero__h1 { font-size: 42px; }
    .fst-hero__grid { gap: 50px; }
    .fst-hero__stat-number { font-size: 30px; }
}

@media (max-width: 767px) {
    .fst-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .fst-hero__h1 { font-size: 32px; }
    .fst-hero__h1-red {
        white-space: normal;
        font-size: 0.65em;
    }
    .fst-hero__skills-card { padding: 28px 20px; }
    .fst-hero__vs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fst-hero__divider {
        width: 100px;
        height: 1px;
        margin: 8px auto;
    }
    .fst-hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .fst-hero__stat-number { font-size: 24px; }
    .fst-hero__emoji { font-size: 44px; }
}

/* ── SMOOTH SCROLL OFFSET FOR STICKY HEADER ──────────────── */
.page-id-1749 [id="who-qualifies"] {
    scroll-margin-top: 140px;
}

@media (max-width: 768px) {
    .page-id-1749 [id="who-qualifies"] {
        scroll-margin-top: 80px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   IMMIGRATE TO CANADA · FAQ ACCORDION PADDING
   Aplica padding lateral solo al accordion de Kadence en la pagina
   Immigrate to Canada (page ID 1745).
   ═══════════════════════════════════════════════════════════════ */

.page-id-1745 .wp-block-kadence-accordion {
    padding-left: 120px !important;
    padding-right: 120px !important;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .page-id-1745 .wp-block-kadence-accordion {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
}

@media (max-width: 768px) {
    .page-id-1745 .wp-block-kadence-accordion {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* ──────────────────────────────────────────────
   FAQ accordion padding — Study in Canada page
   ────────────────────────────────────────────── */

/* Desktop: padding 120px lateral */
.page-id-1770 .wp-block-kadence-accordion {
  padding-left: 120px !important;
  padding-right: 120px !important;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1024px) {
  .page-id-1770 .wp-block-kadence-accordion {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-id-1770 .wp-block-kadence-accordion {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   OPEN WORK PERMIT (page-id-1763) — FAQ width cap
   La pagina corre en layout Kadence Fullwidth + Unboxed (necesario
   por el hero full-bleed), asi que el cap de 1290px del .site-container
   queda removido y los bloques alignnone ocupan el viewport completo.
   Ademas, el bloque Kadence Accordion inyecta style="max-width:none"
   inline en .kt-accordion-wrap, asi que padding solo no alcanza.

   Solucion: capear con max-width + margenes auto al H2, al row layout
   que lo contiene, y al accordion — para que pregunta y respuestas
   queden alineadas en el mismo eje en todos los breakpoints.

   El padding interno de los paneles (.kt-accordion-panel-inner) NO
   se toca aqui — se ajusta manualmente desde el editor.
   ═══════════════════════════════════════════════════════════════ */

/* Desktop (>1024px): max-width 1040px, padding lateral 24px */
body.page-id-1763 .megrez-faq-title,
body.page-id-1763 .kb-row-layout-id1763_7df516-e1,
body.page-id-1763 .wp-block-kadence-accordion {
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}

/* Derrota el style="max-width:none" inline del wrap interno del accordion */
body.page-id-1763 .kt-accordion-wrap {
  max-width: 100% !important;
}

/* Tablet (≤1024px): full width, padding lateral 60px */
@media (max-width: 1024px) {
  body.page-id-1763 .megrez-faq-title,
  body.page-id-1763 .kb-row-layout-id1763_7df516-e1,
  body.page-id-1763 .wp-block-kadence-accordion {
    max-width: 100% !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

/* Mobile (≤768px): full width, padding lateral 32px */
@media (max-width: 768px) {
  body.page-id-1763 .megrez-faq-title,
  body.page-id-1763 .kb-row-layout-id1763_7df516-e1,
  body.page-id-1763 .wp-block-kadence-accordion {
    max-width: 100% !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

/* Mobile small (≤480px): full width, padding lateral 20px */
@media (max-width: 480px) {
  body.page-id-1763 .megrez-faq-title,
  body.page-id-1763 .kb-row-layout-id1763_7df516-e1,
  body.page-id-1763 .wp-block-kadence-accordion {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   FAMILY SPONSORSHIP — Hero full-bleed fix (page-id-1775)
   El section.mfs-hero quedaba atrapado dentro de .entry-content
   (1400px de ancho con 20px de gutter) mientras los demas bloques
   de la misma pagina (.mfs-journey-section, .mfs-process, .mfs-cta)
   ya rompen el container con calc(50% - 50vw). Replicamos ese patron
   aqui para que el hero ocupe todo el viewport.

   El padding interno del hero (140 / 80 / 52 / 40 segun viewport)
   ya esta definido en el <style> inline del propio post — no se toca.
   ────────────────────────────────────────────────────────────── */

body.page-id-1775 .entry-content > section.mfs-hero {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box;
}
