/* AYW Homepage Sections, all selectors are scoped to avoid modifying the active theme. */
.ayw-home { --ayw-navy: #192644; --ayw-blue: #397B95; --ayw-mint: #87E0C2; --ayw-gold: #E5B85C; --ayw-snow: #F2F6FA; color: var(--ayw-navy); width: 100%; font-family: inherit; }
.ayw-home *, .ayw-home *::before, .ayw-home *::after { box-sizing: border-box; }
.ayw-home-wrap { width: 100vw; max-width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }
.ayw-home a { text-decoration: none; }
.ayw-home a:focus-visible { outline: 3px solid var(--ayw-gold); outline-offset: 4px; }
.ayw-home .ayw-container { width: min(100% - 40px, 1160px); margin-inline: auto; }
.ayw-home .ayw-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(460px, 52vw, 660px); background: var(--ayw-navy); color: #fff; overflow: hidden; }
.ayw-home .ayw-hero-media, .ayw-home .ayw-hero-shade { position: absolute; inset: 0; z-index: -1; }
.ayw-home .ayw-hero-media picture, .ayw-home .ayw-hero-media img { display: block; width: 100%; height: 100%; }
.ayw-home .ayw-hero-photo { object-fit: cover; object-position: var(--ayw-hero-focus, center); }
.ayw-home .ayw-hero-shade { background: linear-gradient(90deg, rgba(16, 25, 48, var(--ayw-overlay, .7)) 0%, rgba(16, 25, 48, var(--ayw-overlay, .7)) 52%, rgba(16, 25, 48, .3) 100%); }
.ayw-home .ayw-hero-inner { padding-block: clamp(72px, 10vw, 120px); }
.ayw-home .ayw-eyebrow { margin: 0 0 16px; color: var(--ayw-mint); font-size: .84rem; font-weight: 750; letter-spacing: .15em; line-height: 1.5; }
.ayw-home .ayw-hero-title { margin: 0; max-width: 800px; color: #fff; font-weight: 800; letter-spacing: -.025em; font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1.12; }
.ayw-home .ayw-hero-intro { color: #fff; max-width: 660px; margin: 24px 0 0; font-size: clamp(1.07rem, 1.5vw, 1.28rem); line-height: 1.65; }
.ayw-home .ayw-hero-buttons { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.ayw-home .ayw-button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 12px 24px; border: 2px solid transparent; border-radius: 5px; text-align: center; font-weight: 750; font-size: .97rem; line-height: 1.3; transition: background-color .2s, transform .2s; }
.ayw-home .ayw-button:hover { transform: translateY(-2px); }
.ayw-home .ayw-button-gold { background: var(--ayw-gold); color: #111b2e; }
.ayw-home .ayw-button-gold:hover { background: #fff; color: #111b2e; }
.ayw-home .ayw-button-outline { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.ayw-home .ayw-button-outline:hover { color: #111b2e; background: #fff; }
.ayw-home .ayw-sponsors-section { background: var(--ayw-snow); padding: 39px 0 47px; border-bottom: 1px solid rgba(25,38,68,.1); }
.ayw-home .ayw-sponsors-heading { margin: 0 0 11px; text-align: center; color: var(--ayw-navy); font-size: clamp(1.23rem, 2.4vw, 1.6rem); font-weight: 750; }
.ayw-home .ayw-sponsors-section .ayw-section-intro { text-align: center; max-width: 680px; margin: 0 auto 25px; }
.ayw-home .ayw-sponsor-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 36px; margin-top: 24px; }
.ayw-home .ayw-sponsor { display: flex; justify-content: center; align-items: center; min-width: 130px; min-height: 72px; max-width: 200px; }
.ayw-home .ayw-sponsor a { color: var(--ayw-navy); display: flex; align-items: center; justify-content: center; }
.ayw-home .ayw-sponsor-logo { width: auto; max-width: 180px; height: auto; max-height: 73px; object-fit: contain; }
.ayw-home .ayw-sponsor-name { font-size: 1rem; color: var(--ayw-navy); font-weight: 750; text-align: center; }
.ayw-home .ayw-posts-section { background: #fff; padding: clamp(55px, 7vw, 94px) 0; }
.ayw-home .ayw-posts-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.ayw-home .ayw-section-heading { font-size: clamp(1.85rem, 3vw, 2.45rem); line-height: 1.2; color: var(--ayw-navy); margin: 0 0 12px; font-weight: 800; }
.ayw-home .ayw-section-intro { line-height: 1.65; color: #4f5b70; font-size: 1.03rem; margin: 0; }
.ayw-home .ayw-all-posts { color: var(--ayw-blue); white-space: nowrap; font-weight: 750; padding: 8px 0; }
.ayw-home .ayw-all-posts:hover, .ayw-home .ayw-post-read:hover { text-decoration: underline; }
.ayw-home .ayw-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ayw-home .ayw-post-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(20,42,66,.05); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.ayw-home .ayw-post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(20,42,66,.1); }
.ayw-home .ayw-post-image { width: 100%; height: 205px; display: block; overflow: hidden; background: linear-gradient(135deg, var(--ayw-navy), var(--ayw-blue)); }
.ayw-home .ayw-post-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ayw-home .ayw-post-card:hover .ayw-post-image img { transform: scale(1.03); }
.ayw-home .ayw-post-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 23px; }
.ayw-home .ayw-post-date { color: #56657a; font-size: .85rem; margin-bottom: 10px; }
.ayw-home .ayw-post-title { margin: 0 0 12px; font-size: 1.32rem; line-height: 1.34; font-weight: 750; }
.ayw-home .ayw-post-title a { color: var(--ayw-navy); }
.ayw-home .ayw-post-title a:hover { color: var(--ayw-blue); }
.ayw-home .ayw-post-excerpt { margin: 0 0 20px; color: #505b6e; font-size: .96rem; line-height: 1.6; }
.ayw-home .ayw-post-read { margin-top: auto; font-weight: 750; color: var(--ayw-blue); }
.ayw-home .ayw-empty-posts { font-size: 1.08rem; background: var(--ayw-snow); border-left: 4px solid var(--ayw-mint); padding: 20px; }
@media (max-width: 900px) { .ayw-home .ayw-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .ayw-home .ayw-container { width: min(100% - 30px, 1160px); } .ayw-home .ayw-hero { min-height: 560px; } .ayw-home .ayw-hero-inner { padding-block: 74px; } .ayw-home .ayw-hero-shade { background: rgba(16,25,48,var(--ayw-overlay,.7)); } .ayw-home .ayw-hero-title { font-size: clamp(2.15rem, 10vw, 3rem); } .ayw-home .ayw-hero-buttons { flex-direction: column; align-items: stretch; } .ayw-home .ayw-sponsor-grid { gap: 15px; } .ayw-home .ayw-sponsor { min-width: 120px; max-width: 145px; } .ayw-home .ayw-sponsor-logo { max-width: 135px; } .ayw-home .ayw-posts-heading-row { display: block; } .ayw-home .ayw-all-posts { display: inline-block; margin-top: 17px; } .ayw-home .ayw-post-grid { grid-template-columns: 1fr; } .ayw-home .ayw-post-image { height: 215px; } }
@media (prefers-reduced-motion: reduce) { .ayw-home .ayw-post-card, .ayw-home .ayw-post-image img, .ayw-home .ayw-button { transition: none; } .ayw-home .ayw-post-card:hover, .ayw-home .ayw-button:hover { transform: none; } }
