/* AuTechWire News v2 - enterprise publication design */
:root { --atw-red:#c00; --atw-ink:#111; --atw-gray:#5a5a5a; --atw-rule:#e3e3e3; }
html { -webkit-font-smoothing:antialiased; }
body { font-family:'Libre Franklin',-apple-system,'Segoe UI',Roboto,Arial,sans-serif; color:var(--atw-ink); background:#fff; }
a { color:var(--atw-ink); }
a:hover { color:var(--atw-red); }

/* top bar */
.atw-topbar { background:#111; color:#fff; font-size:12.5px; }
.atw-topbar-inner { display:flex; justify-content:space-between; gap:16px; padding:8px 24px; max-width:1240px; margin:0 auto; }
.atw-topbar-tag { color:#bbb; }

/* masthead + nav */
.atw-site-header { background:#fff; }
.atw-masthead { border-bottom:3px solid #111; text-align:center; padding:30px 24px 22px; }
.atw-brand { font-family:'Libre Franklin',sans-serif; font-size:60px; font-weight:900; letter-spacing:-2.5px; line-height:1; color:#111; text-decoration:none; display:inline-block; }
.atw-brand::after { content:"."; color:var(--atw-red); }
.atw-brand:hover { color:#111; }
.atw-tagline { margin:10px 0 0; font-size:14.5px; color:var(--atw-gray); }
.atw-nav { background:#111; position:relative; }
.atw-nav-inner { max-width:1240px; margin:0 auto; padding:0 24px; display:flex; align-items:stretch; justify-content:space-between; }
.atw-menu { display:flex; list-style:none; margin:0; padding:0; }
.atw-menu li a { display:block; color:#fff; font-size:14px; font-weight:700; padding:13px 13px; text-decoration:none; white-space:nowrap; }
.atw-menu li a:hover, .atw-menu li.current-menu-item a { background:var(--atw-red); color:#fff; }
.atw-nav-toggle { display:none; background:none; border:0; color:#fff; font-weight:700; font-size:14px; padding:13px 0; cursor:pointer; }
.atw-search-toggle { background:none; border:0; color:#fff; cursor:pointer; padding:0 4px 0 14px; display:flex; align-items:center; }
.atw-search-toggle svg { width:18px; height:18px; fill:#fff; }
.atw-search-row { background:#222; padding:12px 24px; }
.atw-search-row form { max-width:1240px; margin:0 auto; display:flex; gap:10px; }
.atw-search-row input[type="search"] { flex:1; padding:10px 12px; border:0; font-size:15px; }
.atw-search-row button[type="submit"] { background:var(--atw-red); color:#fff; border:0; padding:10px 20px; font-weight:700; cursor:pointer; }

/* front page */
.atw-front { padding:30px 0 10px; }
/* gutters: this custom template bypasses GeneratePress .site-content padding, so add them here */
.atw-front .grid-container { padding-left:24px; padding-right:24px; }
.atw-hero-wrap { display:grid; grid-template-columns:1.75fr 1fr; gap:30px; margin-bottom:36px; }
.atw-hero-img img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.atw-kicker { display:inline-block; color:#a80000; font-size:12px; font-weight:800; letter-spacing:1.6px; text-transform:uppercase; margin-bottom:10px; }
.atw-hero-title { font-size:44px; line-height:1.05; letter-spacing:-1px; font-weight:800; margin:0 0 14px; }
.atw-hero-title a { text-decoration:none; }
.atw-excerpt { font-size:17px; line-height:1.6; color:#333; margin:0 0 12px; }
.atw-meta { font-size:12.5px; color:var(--atw-gray); text-transform:uppercase; letter-spacing:.6px; }
.atw-top-list { display:flex; flex-direction:column; gap:22px; border-left:1px solid var(--atw-rule); padding-left:24px; }
.atw-top-item { display:grid; grid-template-columns:110px 1fr; gap:14px; }
.atw-top-item img { width:110px; height:76px; object-fit:cover; display:block; }
.atw-top-item h3 { font-size:17px; line-height:1.3; margin:0 0 6px; font-weight:700; }
.atw-top-item h3 a { text-decoration:none; }

.atw-layout { display:grid; grid-template-columns:1fr 300px; gap:36px; }
.atw-grid { display:grid; gap:26px; }
.atw-grid-3 { grid-template-columns:repeat(3,1fr); }
.atw-grid-2 { grid-template-columns:repeat(2,1fr); }
.atw-card-img img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.atw-card-title { font-size:20px; line-height:1.3; margin:0 0 6px; font-weight:700; }
.atw-card-title a { text-decoration:none; }
.atw-card-excerpt { font-size:15.5px; line-height:1.55; color:#444; margin:8px 0 0; }
.atw-section { margin:40px auto; }
.atw-section-head { display:flex; justify-content:space-between; align-items:baseline; border-bottom:3px solid #111; margin-bottom:22px; }
.atw-section-head h2 { font-size:24px; font-weight:800; margin:0; padding-bottom:10px; border-bottom:3px solid var(--atw-red); margin-bottom:-3px; }
.atw-section-head a { font-size:14px; font-weight:700; text-decoration:none; }

.atw-rail { border-top:3px solid #111; padding-top:6px; }
.atw-rail h2 { font-size:22px; font-weight:800; margin:0 0 16px; }
.atw-rail ol { list-style:none; margin:0; padding:0; }
.atw-rail li { display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--atw-rule); }
.atw-rail-num { font-size:30px; font-weight:900; color:var(--atw-red); line-height:1; min-width:34px; }
.atw-rail li h3 { font-size:16.5px; line-height:1.35; margin:0 0 5px; font-weight:700; }
.atw-rail li h3 a { text-decoration:none; }

/* single article */
.single .content-area { width:100%; }
.single .widget-area.sidebar { display:none; }
.single .entry-header { max-width:680px; margin:0 auto; }
.single .entry-title { font-size:44px; line-height:1.08; letter-spacing:-.8px; font-weight:800; }
.single .entry-meta { font-size:13px; text-transform:uppercase; letter-spacing:.5px; color:var(--atw-gray); }
.single .entry-content { font-family:'Source Serif 4',Georgia,serif; font-size:18.5px; line-height:1.8; max-width:680px; margin:0 auto; }
.single .entry-content > p:first-of-type::first-letter { font-family:'Libre Franklin',sans-serif; font-size:58px; font-weight:900; float:left; line-height:.82; padding-right:6px; padding-top:6px; color:var(--atw-red); }
.single .entry-content h2 { font-family:'Libre Franklin',sans-serif; font-size:26px; font-weight:800; border-left:4px solid var(--atw-red); padding-left:12px; }
.single .entry-content h3 { font-family:'Libre Franklin',sans-serif; }
.single .entry-content img { max-width:100%; height:auto; }
.single .featured-image { max-width:1120px; margin:0 auto 24px; }
.single .featured-image img { width:100%; height:auto; display:block; }
.atw-author-box { display:flex; gap:16px; max-width:680px; margin:36px auto 0; padding:22px; background:#f7f7f7; border-top:3px solid #111; }
.atw-author-box img { border-radius:50%; flex-shrink:0; width:80px; height:80px; object-fit:cover; align-self:flex-start; }
.atw-author-box h3 { margin:0 0 6px; font-size:18px; }
.atw-author-box p { margin:0; font-size:15px; line-height:1.6; color:#444; }
.atw-related { max-width:680px; margin:36px auto 0; }
.atw-related h2 { font-family:'Libre Franklin',sans-serif; font-size:22px; font-weight:800; border-bottom:3px solid #111; padding-bottom:10px; margin-bottom:18px; }

/* footer */
.atw-footer { background:#111; color:#ccc; margin-top:50px; }
.atw-footer-inner { max-width:1240px; margin:0 auto; padding:44px 24px 0; display:grid; grid-template-columns:1.4fr 1fr 1.2fr; gap:36px; }
.atw-footer-brand { font-size:30px; font-weight:900; color:#fff; letter-spacing:-1px; }
.atw-footer-brand::after { content:"."; color:var(--atw-red); }
.atw-footer p { font-size:14.5px; line-height:1.6; }
.atw-footer h4 { color:#fff; font-size:14px; letter-spacing:1.2px; text-transform:uppercase; margin:0 0 14px; }
.atw-footer ul { list-style:none; margin:0; padding:0; }
.atw-footer ul li { margin-bottom:9px; }
.atw-footer a { color:#ddd; text-decoration:none; }
.atw-footer a:hover { color:#fff; text-decoration:underline; }
.atw-footer-bottom { max-width:1240px; margin:36px auto 0; padding:18px 24px; border-top:1px solid #333; display:flex; justify-content:space-between; gap:16px; font-size:13px; color:#999; }
.atw-footer-bottom a { color:#bbb; }

/* responsive */
@media (max-width: 960px) {
  .atw-hero-wrap { grid-template-columns:1fr; }
  /* keep the hero image full-bleed on small screens while the text gets gutters */
  .atw-hero-img { display:block; margin-left:-24px; margin-right:-24px; }
  .atw-top-list { border-left:0; padding-left:0; }
  .atw-layout { grid-template-columns:1fr; }
  .atw-grid-3 { grid-template-columns:1fr 1fr; }
  .main-title { font-size:42px; }
  .atw-hero-title { font-size:32px; }
  .single .entry-title { font-size:32px; }
  .atw-footer-inner { grid-template-columns:1fr; }
  .atw-topbar-tag { display:none; }
}
@media (max-width: 600px) {
  .atw-grid-3, .atw-grid-2 { grid-template-columns:1fr; }
  .single .entry-content { font-size:17px; line-height:1.75; }
  .single .entry-content > p:first-of-type::first-letter { font-size:44px; }
}

/* footer newsletter (Beehiiv iframe renders taller than its content) */
.atw-newsletter iframe { height:300px !important; width:100% !important; border:0; }

/* mobile nav */
@media (max-width: 960px) {
  .atw-nav-toggle { display:block; }
  .atw-menu { display:none; }
  .atw-menu.atw-open { display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:#111; z-index:60; }
  .atw-menu.atw-open li a { padding:12px 24px; }
  .atw-brand { font-size:42px; }
}

/* staff page */
.atw-staff-intro { font-size:19px; line-height:1.7; max-width:760px; margin:0 auto 36px; }
.atw-staff-section { margin:44px auto; max-width:1100px; }
.atw-staff-section h2 { font-family:'Libre Franklin',sans-serif; font-size:24px; font-weight:800; border-bottom:3px solid #111; padding-bottom:10px; margin-bottom:22px; }
.atw-staff-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.atw-staff-card { border-top:3px solid #111; padding-top:16px; }
.atw-staff-avatar { width:72px; height:72px; border-radius:50%; background:#111; color:#fff; display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:900; margin-bottom:14px; }
.atw-staff-card h3 { font-size:19px; margin:0 0 4px; }
.atw-staff-role { color:#c00; font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:1px; margin:0 0 8px; }
.atw-staff-card p { font-size:14.5px; line-height:1.6; color:#444; margin:0; }
.atw-staff-note { background:#f7f7f7; border-left:4px solid #c00; padding:18px 22px; font-size:15px; line-height:1.65; max-width:760px; margin:36px auto 0; }
@media (max-width: 960px) { .atw-staff-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 600px) { .atw-staff-grid { grid-template-columns:1fr; } }


/* ATW on-page SEO 2026-10-22: breadcrumbs */
.rank-math-breadcrumb { font-size: 13px; color: #555; margin: 0 0 16px; }
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb a { color: #a80000; text-decoration: none; }
.rank-math-breadcrumb a:hover { text-decoration: underline; }
.rank-math-breadcrumb .separator { margin: 0 6px; color: #999; }

/* ATW pass 2 2026-10-22: table of contents */
.atw-toc { background:#f7f7f5; border:1px solid #e5e2da; border-radius:8px; padding:16px 20px; margin:20px 0; }
.atw-toc h2 { font-size:16px; margin:0 0 8px; }
.atw-toc ul { margin:0; padding-left:18px; }
.atw-toc li { margin:4px 0; font-size:14.5px; }
.atw-toc a { color:#a80000; text-decoration:none; }
.atw-toc a:hover { text-decoration:underline; }
