/* Full-width homepage template: GeneratePress still supplies the global header and footer. */
body.page-template-template-home #content.site-content {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.ag-home { width: 100%; min-width: 0; margin: 0; background: var(--ag-bg); color: var(--ag-ink); }
.ag-home .ag-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ag-home .ag-eyebrow { display: inline-block; color: var(--ag-accent); font-size: .76rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.ag-home .ag-hero { padding: 48px 0 54px; }
.ag-home .ag-hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ag-home .ag-hero-copy h1 { max-width: 650px; margin: 12px 0 18px; font-size: clamp(2.6rem, 5vw, 4.35rem); line-height: 1.04; }
.ag-home .ag-hero-copy h1 em { color: var(--ag-accent); font-style: normal; }
.ag-home .ag-hero-copy > p { max-width: 620px; margin: 0; color: var(--ag-muted); font-size: 1.08rem; line-height: 1.8; }
.ag-home .ag-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 18px; }
.ag-home .ag-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 16px; border: 1px solid var(--ag-accent); border-radius: 6px; background: var(--ag-accent); color: #fff; font-weight: 750; text-decoration: none; text-align: center; }
.ag-home .ag-btn:hover { background: var(--ag-accent-dark); color: #fff; }
.ag-home .ag-btn-secondary { border-color: var(--ag-line); background: #fff; color: var(--ag-ink); }
.ag-home .ag-btn-secondary:hover { border-color: var(--ag-focus); background: var(--ag-soft); color: var(--ag-accent); }
.ag-home .ag-search { display: flex; gap: 8px; width: 100%; max-width: 570px; }
.ag-home .ag-search input { min-width: 0; flex: 1 1 auto; width: 100%; border: 1px solid var(--ag-border); border-radius: 6px; padding: 11px 13px; font: inherit; }
.ag-home .ag-search button { flex: 0 0 auto; border: 1px solid var(--ag-ink); border-radius: 6px; background: var(--ag-ink); color: #fff; font-weight: 700; padding: 11px 17px; cursor: pointer; }
.ag-home .ag-search button:hover { background: var(--ag-accent-dark); border-color: var(--ag-accent-dark); }
.ag-home .ag-hero-art { position: relative; min-width: 0; padding: 0 0 22px 22px; }
.ag-home .ag-hero-art::before { position: absolute; inset: 22px 0 0 28px; border-radius: 12px; background: var(--ag-accent-light); content: ""; }
.ag-home .ag-feature-card { position: relative; overflow: hidden; border: 1px solid var(--ag-line); border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(20, 35, 59, .075); }
.ag-home .ag-feature-card .ag-post-thumb { display: block; overflow: hidden; background: var(--ag-soft); }
.ag-home .ag-feature-card .ag-post-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ag-home .ag-feature-content { padding: 19px 20px 21px; }
.ag-home .ag-feature-content small { color: var(--ag-muted); font-size: .78rem; }
.ag-home .ag-feature-content h2 { margin: 7px 0 8px; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.28; }
.ag-home .ag-feature-content h2 a { color: var(--ag-ink); text-decoration: none; overflow-wrap: anywhere; }
.ag-home .ag-feature-content h2 a:hover { color: var(--ag-accent); }
.ag-home .ag-feature-content p { margin: 0; color: var(--ag-muted); font-size: .92rem; line-height: 1.7; }
.ag-home .ag-feature-link, .ag-home .ag-read-more { display: inline-block; margin-top: 12px; color: var(--ag-accent); font-weight: 750; text-decoration: none; }
.ag-home .ag-feature-link:hover, .ag-home .ag-read-more:hover { color: var(--ag-accent-dark); text-decoration: underline; }
.ag-home .ag-art-caption { position: relative; display: flex; justify-content: space-between; gap: 10px; margin: -2px 20px 0 0; padding: 10px 13px; background: var(--ag-footer); color: #fff; font-size: .78rem; }
.ag-home .ag-section { padding: 42px 0; }
.ag-home .ag-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.ag-home .ag-section-heading h2 { margin: 7px 0 0; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.ag-home .ag-section-heading > p { max-width: 530px; margin: 0; color: var(--ag-muted); line-height: 1.72; }
.ag-home .ag-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ag-home .ag-category { display: flex; min-width: 0; min-height: 106px; flex-direction: column; justify-content: space-between; gap: 12px; padding: 15px; border: 1px solid var(--ag-line); border-radius: 8px; background: #fff; color: var(--ag-ink); text-decoration: none; box-shadow: 0 4px 14px rgba(20, 35, 59, .025); }
.ag-home .ag-category b { color: var(--ag-accent); font-family: var(--ag-serif); font-size: 1.45rem; line-height: 1; }
.ag-home .ag-category span { font-size: .88rem; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
.ag-home .ag-category:hover { border-color: var(--ag-focus); background: var(--ag-soft); color: var(--ag-accent); }
.ag-home .ag-latest { border-top: 1px solid var(--ag-line); border-bottom: 1px solid var(--ag-line); background: #fff; }
.ag-home .ag-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.ag-home .ag-post-card { display: flex; min-width: 0; min-height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--ag-line); border-radius: 8px; background: #fff; box-shadow: 0 5px 18px rgba(20, 35, 59, .035); }
.ag-home .ag-post-card:hover { border-color: var(--ag-focus); box-shadow: 0 10px 24px rgba(20, 35, 59, .07); }
.ag-home .ag-post-thumb { display: block; width: 100%; overflow: hidden; background: var(--ag-soft); }
.ag-home .ag-post-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ag-home .ag-thumb-fallback { display: grid; width: 100%; aspect-ratio: 16 / 9; place-items: center; background: var(--ag-soft); color: var(--ag-accent); font-family: var(--ag-serif); font-size: 1.4rem; font-weight: 700; }
.ag-home .ag-post-body { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; padding: 17px 18px 19px; }
.ag-home .ag-post-meta { margin: 0 0 8px; color: var(--ag-muted); font-size: .77rem; line-height: 1.5; }
.ag-home .ag-post-body h3 { margin: 0 0 9px; font-size: 1.2rem; line-height: 1.35; overflow-wrap: anywhere; }
.ag-home .ag-post-body h3 a { color: var(--ag-ink); text-decoration: none; }
.ag-home .ag-post-body h3 a:hover { color: var(--ag-accent); }
.ag-home .ag-post-body > p:not(.ag-post-meta) { margin: 0; color: var(--ag-muted); font-size: .9rem; line-height: 1.68; }
.ag-home .ag-post-body .ag-read-more { margin-top: auto; padding-top: 13px; }
.ag-home .ag-guides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 58px); align-items: center; }
.ag-home .ag-guides-intro h2 { margin: 9px 0 12px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.ag-home .ag-guides-intro p { color: var(--ag-muted); line-height: 1.82; }
.ag-home .ag-guide-list { border-top: 1px solid var(--ag-line); }
.ag-home .ag-guide { display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--ag-line); color: var(--ag-ink); text-decoration: none; }
.ag-home .ag-num { color: var(--ag-accent); font-family: var(--ag-serif); font-size: 1.25rem; }
.ag-home .ag-guide strong { display: block; line-height: 1.45; }
.ag-home .ag-guide small { display: block; margin-top: 3px; color: var(--ag-muted); font-size: .84rem; line-height: 1.5; }
.ag-home .ag-arrow { color: var(--ag-accent); }
.ag-home .ag-guide:hover strong { color: var(--ag-accent); }
.ag-home .ag-trust { padding: 44px 0; background: var(--ag-footer); color: #fff; }
.ag-home .ag-trust-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); align-items: center; gap: 36px; }
.ag-home .ag-trust h2 { margin: 9px 0 12px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ag-home .ag-trust p { color: var(--ag-footer-ink); line-height: 1.8; }
.ag-home .ag-trust .ag-eyebrow { color: var(--ag-focus); }
.ag-home .ag-trust-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.ag-home .ag-trust-links a { border: 1px solid var(--ag-footer-muted); border-radius: 6px; padding: 8px 11px; color: #fff; font-size: .9rem; text-decoration: none; }
.ag-home .ag-trust-links a:hover { border-color: var(--ag-focus); background: var(--ag-accent-dark); }
.ag-home .ag-trust-art { display: flex; justify-content: flex-end; min-width: 0; }
.ag-home .ag-trust-art img { display: block; width: 100%; max-width: 390px; height: auto; }
.ag-home .ag-disclaimer { padding: 18px 0 24px; margin: 0; color: var(--ag-muted); font-size: .86rem; line-height: 1.75; }
.ag-home .ag-empty-note { padding: 20px; border: 1px dashed var(--ag-line); background: #fff; color: var(--ag-muted); }
@media (max-width: 1050px) {
  .ag-home .ag-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ag-home .ag-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-home .ag-hero-grid { gap: 28px; }
}
@media (max-width: 760px) {
  .ag-home .ag-wrap { padding-inline: 18px; }
  .ag-home .ag-hero { padding: 28px 0 36px; }
  .ag-home .ag-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ag-home .ag-hero-copy h1 { font-size: clamp(2.4rem, 8.2vw, 3.25rem); }
  .ag-home .ag-hero-art { padding: 0 0 14px 9px; }
  .ag-home .ag-section { padding: 32px 0; }
  .ag-home .ag-section-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
  .ag-home .ag-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-home .ag-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .ag-home .ag-post-body { padding: 14px; }
  .ag-home .ag-post-body h3 { font-size: 1.08rem; }
  .ag-home .ag-post-body > p:not(.ag-post-meta) { font-size: .86rem; }
  .ag-home .ag-guides, .ag-home .ag-trust-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ag-home .ag-trust-art { justify-content: flex-start; }
  .ag-home .ag-trust-art img { max-width: 310px; }
}
@media (max-width: 520px) {
  .ag-home .ag-wrap { padding-inline: 16px; }
  .ag-home .ag-actions .ag-btn { width: 100%; }
  .ag-home .ag-search { gap: 6px; }
  .ag-home .ag-search button { padding-inline: 12px; }
  .ag-home .ag-post-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ag-home .ag-post-body { padding: 16px 17px 17px; }
  .ag-home .ag-post-body h3 { font-size: 1.18rem; }
  .ag-home .ag-post-body > p:not(.ag-post-meta) { font-size: .9rem; }
  .ag-home .ag-art-caption { margin-right: 8px; font-size: .7rem; }
  .ag-home .ag-category { min-height: 94px; }
}
