/* Home page 2026-12 — uses the navy/gold palette from header-2027 (variables defined in style.css) */
.home-h2 { font: 700 34px/1.2 Montserrat, sans-serif; color: var(--l986-navy); margin-bottom: 28px; text-align:left; }
.home-h2.text-center { text-align:center; }
.home-h3 { font: 700 18px/1.3 Montserrat, sans-serif; color: var(--l986-ink); text-transform: uppercase; letter-spacing:.04em; margin-bottom: 18px; }

/* hero */
.home-hero { position:relative; background-size:cover; background-position:center; color:#fff; padding: 110px 0 120px; text-align:left; }
.home-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(8,31,64,.92) 0%, rgba(11,47,94,.78) 55%, rgba(11,47,94,.35) 100%); }
.home-hero .container { position:relative; }
.home-hero__eyebrow { color: var(--l986-gold); font: 700 14px/1 Montserrat, sans-serif; letter-spacing:.18em; text-transform:uppercase; margin-bottom:14px; }
.home-hero__title { color:#fff; font: 700 56px/1.08 Montserrat, sans-serif; max-width: 720px; margin-bottom:18px; }
.home-hero__lead { color: rgba(255,255,255,.92); font-size: 21px; line-height: 1.5; max-width: 600px; margin-bottom: 32px; }
.home-hero__actions { display:flex; flex-wrap:wrap; gap:14px; }
.home-btn { display:inline-block; padding: 14px 28px; border-radius: 999px; font: 700 15px/1.2 Montserrat, sans-serif; letter-spacing:.04em; text-transform:uppercase; text-decoration:none; border:2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.home-btn--gold { background: var(--l986-gold); color: var(--l986-navy); }
.home-btn--gold:hover, .home-btn--gold:focus { background:#ffd633; color: var(--l986-navy); }
.home-btn--ghost { color:#fff; border-color:#fff; background:transparent; }
.home-btn--ghost:hover, .home-btn--ghost:focus { background:#fff; color: var(--l986-navy); }

/* quick actions, overlapping the hero */
.home-quick { position:relative; z-index:2; margin-top:-52px; }
.home-quick__list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.home-quick__list a { display:flex; align-items:center; gap:14px; background:#fff; padding:20px 22px; border-radius:10px; border-top:4px solid var(--l986-gold); box-shadow: 0 10px 28px rgba(11,47,94,.16); color: var(--l986-navy); text-decoration:none; font: 700 16px/1.25 Montserrat, sans-serif; min-height:84px; }
.home-quick__list a:hover, .home-quick__list a:focus { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(11,47,94,.24); }
.home-quick__icon { font-size: 26px; color: var(--l986-navy); width:32px; text-align:center; flex:none; }

/* Facebook card */
.home-fb { background: var(--l986-navy); color:#fff; border-radius:10px; padding: 26px; text-align:center; }
.home-fb__icon { font-size: 22px; color: var(--l986-gold); margin-right:6px; vertical-align:-2px; }
.home-fb__frame { background:#fff; border-radius:8px; overflow:hidden; margin:14px 0 18px; min-height:200px; }
.home-fb__frame iframe { display:block; width:100%; max-width:100%; }
.home-fb__title { color:#fff; font: 700 18px/1.3 Montserrat, sans-serif; margin:0; }
.home-fb__text { color: rgba(255,255,255,.85); margin-bottom:16px; }

/* offices */
.home-offices__grid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.home-office { background:#fff; border-radius:10px; padding:26px 22px; border-top:4px solid var(--l986-navy); box-shadow:0 6px 18px rgba(11,47,94,.10); text-align:center; }
.home-office__city { font: 700 20px/1.2 Montserrat, sans-serif; color: var(--l986-navy); margin-bottom:10px; }
.home-office__phone { display:block; color: var(--l986-ink); font-size:18px; font-weight:700; margin-bottom:10px; }
.home-office__link { font-weight:700; color: var(--l986-navy); text-decoration: underline; }
.home-offices__more { text-align:center; margin-top:26px; }
.home-offices__more a { color: var(--l986-navy); text-decoration: underline; font-weight:600; }

@media (max-width: 991px) {
  .home-hero { padding: 80px 0 96px; }
  .home-hero__title { font-size: 42px; }
  .home-quick__list, .home-offices__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 575px) {
  .home-hero { padding: 56px 0 80px; }
  .home-hero__title { font-size: 34px; }
  .home-hero__lead { font-size: 18px; }
  .home-quick__list, .home-offices__grid { grid-template-columns: 1fr; }
  .home-h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .home-btn, .home-quick__list a { transition:none; transform:none !important; } }

/* Teamsters News cards */
.news-cards { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.news-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 6px 18px rgba(11,47,94,.12); display:flex; flex-direction:column; text-align:left; }
.news-card--lead { grid-column:1 / -1; flex-direction:row; }
.news-card__media { display:block; flex:0 0 46%; background: var(--l986-navy); }
.news-card:not(.news-card--lead) .news-card__media { flex:none; aspect-ratio:16/9; }
.news-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.news-card__body { padding:22px 24px 26px; }
.news-card__meta { font: 700 12px/1.2 Montserrat, sans-serif; letter-spacing:.1em; text-transform:uppercase; color:#4a5568; margin-bottom:8px; }
.news-card__title { font: 700 20px/1.3 Montserrat, sans-serif; margin:0 0 10px; }
.news-card--lead .news-card__title { font-size: 24px; }
.news-card__title a { color: var(--l986-navy); text-decoration:none; }
.news-card__title a:hover, .news-card__title a:focus { text-decoration:underline; }
.news-card__text { color: var(--l986-ink); margin:0; }
.news-more { margin-top:18px; text-align:right; font-weight:700; }
.news-more a, .news-empty a { color: var(--l986-navy); text-decoration:underline; }
@media (max-width: 767px) { .news-cards { grid-template-columns:1fr; } .news-card--lead { flex-direction:column; } .news-card__media { flex:none; aspect-ratio:16/9; } }

/* color for the reused home sections */
.object-wrap.bg-gray-lighter { background:#e8eef7; }
.object-wrap.bg-gray-lighter h2, .section-xl.bg-default h3 { color: var(--l986-navy); }
.section-md.bg-gray-light.text-center.text-md-left { background: var(--l986-navy); color: rgba(255,255,255,.9); }
.section-md.bg-gray-light.text-center.text-md-left h3, .section-md.bg-gray-light.text-center.text-md-left h4, .section-md.bg-gray-light.text-center.text-md-left p { color:#fff; }
.section-md.bg-gray-light.text-center.text-md-left .button { background: var(--l986-gold); border-color: var(--l986-gold); color: var(--l986-navy); font-weight:700; }
.section-md.bg-gray-light.text-center.text-md-left .button:hover { background:#ffd633; border-color:#ffd633; color: var(--l986-navy); }
.home-offices { background:#e8eef7 !important; }
.home-offices { padding-top: 70px; padding-bottom: 70px; }
.home-offices .home-h2 { margin-bottom: 34px; }

/* Organize button: gold stays gold on hover (lighter), text stays navy */
.section-md.bg-gray-light.text-center.text-md-left .button.button-ujarak::before { background:#ffd633; }
.section-md.bg-gray-light.text-center.text-md-left .button:hover, .section-md.bg-gray-light.text-center.text-md-left .button:focus { color:#0b2f5e; }

/* NOTICE card: gold so it stands out */
.home-quick__list .home-quick__notice a { background:#f4c400; border-top-color:#0b2f5e; color:#0b2f5e; }
.home-quick__list .home-quick__notice a:hover, .home-quick__list .home-quick__notice a:focus { background:#ffd633; }
.home-quick__list .home-quick__notice .home-quick__icon { color:#0b2f5e; }
.home-quick__label { display:block; }
.home-quick__sub { display:block; font: 600 12px/1.3 "Open Sans", sans-serif; margin-top:3px; opacity:.9; }

/* Facebook posts (server-side feed) */
.fb-posts { list-style:none; margin:16px 0 18px; padding:0; text-align:left; }
.fb-post { background:#fff; border-radius:8px; overflow:hidden; margin-bottom:12px; }
.fb-post__img img { display:block; width:100%; height:130px; object-fit:cover; }
.fb-post__date { margin:10px 14px 2px; font: 700 11px/1.2 Montserrat, sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#4a5568; }
.fb-post__text { margin:0 14px 14px; color:#1a2433; font-size:14px; line-height:1.5; }
.fb-post__text a { color:#0b2f5e; font-weight:700; text-decoration:underline; }

/* Photo gallery under the news cards: grid that fills the column */
.home-gallery { margin-top:44px; text-align:left; }
.home-gallery figure, .home-gallery .figure-light { margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.home-gallery br { display:none; }
.home-gallery figure > div { margin:0; }
.home-gallery img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:8px; box-shadow:0 4px 14px rgba(11,47,94,.15); transition:transform .15s; }
.home-gallery a:hover img, .home-gallery a:focus img { transform:scale(1.02); }
.home-gallery .flickr-offline { grid-column:1/-1; color:#4a5568; }
@media (max-width:575px) { .home-gallery figure, .home-gallery .figure-light { grid-template-columns:repeat(2,1fr); } }
@media (prefers-reduced-motion: reduce) { .home-gallery img { transition:none; transform:none !important; } }
