/* /diet-plans/ hub — pairs with videos.css hero/CTA chrome. */

.dp-hero__panel {
    padding: 32px 36px;
    border-color: #fff;
    background: #0a0a0a;
    color: #fff;
    align-self: stretch;
}
.dp-hero__list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.dp-hero__list li { font-size: 15px; line-height: 1.55; color: var(--c-text-on-dark-2); padding-left: 16px; border-left: 3px solid var(--c-green); }
.dp-hero__list li strong { color: #fff; }

.vh-hero__cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.dp-cards { background: var(--c-paper); padding: 80px 60px; border-top: var(--border-w) solid #000; border-bottom: var(--border-w) solid #000; }
.dp-cards__head { max-width: 720px; margin-bottom: 48px; }
.dp-cards__title { margin-top: 24px; font-family: var(--font-hero); font-size: clamp(48px, 7vw, 84px); line-height: 0.9; letter-spacing: -1px; text-transform: uppercase; }

.dp-cards__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
}
.dp-cards__grid > .dp-card:first-child { grid-row: span 2; min-height: 320px; }

.dp-card {
    background: #fff; color: #000;
    border: var(--border-w) solid #000; box-shadow: var(--shadow-6);
    padding: 28px; min-height: 220px;
    display: flex; flex-direction: column; gap: 14px;
    transition: transform 100ms ease, box-shadow 100ms ease;
}
.dp-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 #000; }
.dp-card.is-accent { background: var(--c-green); }
.dp-card header { display: flex; justify-content: space-between; align-items: center; }
.dp-card__sub   { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #444; }
.dp-card__count {
    font-family: var(--font-display); font-weight: 900; font-size: 14px;
    padding: 4px 10px; background: #000; color: #fff;
    border: var(--border-w) solid #000;
}
.dp-card.is-accent .dp-card__count { background: #000; color: var(--c-green); }
.dp-card__h { font-family: var(--font-hero); font-size: clamp(28px, 3vw, 44px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.5px; }
.dp-card__t { font-size: 14px; line-height: 1.55; color: #222; flex: 1; }
.dp-card.is-accent .dp-card__t { color: #000; }
.dp-card__cta { font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

.dp-recent { background: #fff; padding: 72px 60px; border-bottom: var(--border-w) solid #000; }
.dp-recent__head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.dp-recent__title { margin-top: 18px; font-family: var(--font-hero); font-size: clamp(36px, 5vw, 56px); line-height: 0.95; letter-spacing: -0.5px; text-transform: uppercase; }
.dp-recent__meta  { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: #666; text-transform: uppercase; }

/* /anabolic-fasting/ — long-form content w/ embedded video iframes -------- */
.af-hero { background: #000; color: #fff; padding: 56px 60px; border-bottom: 4px solid var(--c-green); }
.af-hero__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.af-hero__title {
    margin: 20px 0 36px;          /* bottom gap keeps the green slab off the lede */
    font-family: var(--font-hero);
    font-size: clamp(56px, 8vw, 104px);
    line-height: 1.0;             /* roomy enough that the highlight doesn't bleed downward */
    letter-spacing: -1.5px;
    text-transform: uppercase;
}
.af-hero__title .hv2-highlight {
    display: inline-block;
    line-height: 1.0;
    padding: 2px 14px 8px;        /* tight to the glyphs */
}
.af-hero__lede  { margin-top: 0; font-size: 17px; line-height: 1.6; color: var(--c-text-on-dark-2); max-width: 520px; }
.af-hero__ctas  { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.af-hero__panel {
    background: #0a0a0a; color: #fff;
    border: var(--border-w) solid #fff;
    box-shadow: 6px 6px 0 0 var(--c-green);
    padding: 32px 36px;
}

.af-content {
    background: #fff; color: #000;
    padding: 80px 60px;
    max-width: 920px; margin: 0 auto;
    font-family: var(--font-body); font-size: 17px; line-height: 1.7;
}
/* The post_content has a literal "ANABOLIC FASTING" h1 that's redundant with
   the hero. Hide it. */
.af-content > h1:first-child { display: none; }
.af-content h2 {
    margin: 56px 0 16px;
    font-family: var(--font-hero); font-size: clamp(36px, 5vw, 56px);
    line-height: 0.95; letter-spacing: -1px; text-transform: uppercase;
    border-left: 6px solid var(--c-green); padding-left: 16px;
}
.af-content h2:first-of-type { margin-top: 0; }
.af-content h3, .af-content h4 {
    margin: 32px 0 10px;
    font-family: var(--font-display); font-weight: 800; font-size: 22px;
    line-height: 1.2; color: #000;
}
.af-content h4[style*="text-align: left"],
.af-content h4[style*="text-align: center"] { font-weight: 700; font-size: 16px; color: #444; line-height: 1.45; margin: 8px 0 24px; }
.af-content p { margin: 14px 0; }
.af-content a:not(.cg3-btn) {
    color: var(--c-green-deep); text-decoration: underline; font-weight: 700;
}
.af-content img {
    max-width: 100%; height: auto; display: block;
    margin: 28px auto;
    border: var(--border-w) solid #000;
    box-shadow: var(--shadow-6);
}
.af-content ul, .af-content ol { padding-left: 1.5em; margin: 14px 0; }
.af-content li { margin: 6px 0; }
.af-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    background: #000; color: #fff;
    border-left: 5px solid var(--c-green);
    font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.4;
}

/* Every iframe in the long-form content gets a 16:9 frame, neobrutalist
   border, and a clean own-line layout. No absolute-positioning hacks — we
   neutralize the inline padding-bottom wrapper instead so it behaves like a
   plain block container. */
.af-content div[style*="padding-bottom"] {
    position: static !important;
    padding-bottom: 0 !important;
    height: auto !important;
    margin: 28px 0;
    max-width: 720px;
}
.af-content iframe {
    position: static !important;
    display: block;
    width: 100% !important;
    max-width: 720px;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 28px auto;
    border: var(--border-w) solid #000;
    box-shadow: var(--shadow-6);
    background: #000;
}

/* "GET STARTED HERE" anchor in the source becomes a styled CTA. */
.af-content > a[href*="choose-your-plan"] {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 22px;
    background: var(--c-green); color: #000 !important;
    border: var(--border-w) solid #000; border-radius: var(--radius);
    box-shadow: var(--shadow-4);
    font-family: var(--font-body); font-weight: 800; font-size: 14px;
    letter-spacing: 1.2px; text-transform: uppercase;
    text-decoration: none !important;
    margin: 18px 0 28px;
}

@media (max-width: 1180px) {
    .dp-cards, .dp-recent { padding-left: 36px; padding-right: 36px; }
    .af-hero { padding-left: 36px; padding-right: 36px; }
    .af-content { padding: 64px 36px; }
}
@media (max-width: 1100px) {
    .af-hero__row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
    .af-hero { padding: 56px 24px; }
    .af-content { padding: 56px 24px; font-size: 16px; }
    .af-content h2 { font-size: clamp(32px, 7vw, 44px); padding-left: 12px; border-left-width: 4px; }
    .af-hero__panel { padding: 24px 22px; }
}
@media (max-width: 640px) {
    .af-hero { padding: 48px 18px; }
    .af-content { padding: 48px 18px; }
}
@media (max-width: 1100px) {
    .dp-cards__grid { grid-template-columns: 1fr 1fr; }
    .dp-cards__grid > .dp-card:first-child { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 900px) {
    .dp-cards, .dp-recent { padding: 56px 24px; }
    .dp-cards__grid { grid-template-columns: 1fr; }
    .dp-cards__grid > .dp-card:first-child { grid-column: auto; }
    .dp-hero__panel { padding: 24px 22px; }
}
@media (max-width: 640px) {
    .dp-cards, .dp-recent { padding: 48px 18px; }
    .dp-card { padding: 22px; }
}
