/*
Theme Name: White Trash Networks
Author: OpenAI
Description: Black-and-gold biker news theme with Fourthwall WTN Merch, scrolling sponsors, social sharing, optional X/Reddit auto-posting, announcements, editable backgrounds, site branding, navigation and news archives.
Version: 2.23.19
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wtn
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #222c26;
  --muted: #6f756d;
  --paper: #faf9f5;
  --white: #fffefa;
  --line: #dddcd3;
  --green: #244a38;
  --orange: #cf795a;
  --cream: #f3e8d6;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', Arial, sans-serif;
  --radius: 16px;
  --container: 1192px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
input, textarea { max-width: 100%; }
::selection { background: #e8bf9b; color: #172b21; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; height: auto; width: auto; padding: 10px 16px; top: 10px; left: 10px; z-index: 9999; color: var(--ink); background: #fff; }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.eyebrow { color: var(--green); text-transform: uppercase; font-weight: 800; letter-spacing: .19em; font-size: 11px; line-height: 1.4; }
.eyebrow::before { content: ''; display: inline-block; width: 19px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 19px; border: 1px solid var(--green); border-radius: 100px; background: var(--green); color: white; font-size: 12px; font-weight: 800; letter-spacing: .03em; transition: background .2s, transform .2s; }
.button:hover { background: #3c654e; color: white; transform: translateY(-2px); }
.text-link { color: var(--green); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link:hover { color: var(--orange); }

/* Site header */
.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid #e6e3dc; }
.header-inner { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 185px; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50% 50% 46% 8%; background: var(--green); color: #f0e3c8; font: italic 28px/.8 var(--serif); transform: rotate(-8deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; gap: 4px; }
.site-title { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: -.045em; }
.site-tagline { font-size: 9px; font-weight: 700; color: var(--muted); letter-spacing: .13em; text-transform: uppercase; }
.custom-logo-link img { width: auto; max-height: 56px; }
.primary-navigation { margin-left: auto; }
.menu-list { display: flex; align-items: center; gap: 27px; list-style: none; margin: 0; padding: 0; }
.menu-list li { position: relative; }
.menu-list a { font-size: 12px; font-weight: 800; letter-spacing: .02em; color: #3b453d; display: block; padding: 12px 1px; }
.menu-list a:hover, .menu-list .current-menu-item > a { color: var(--orange); }
.menu-list .sub-menu { display: none; position: absolute; top: 100%; left: 0; width: 190px; padding: 8px 14px; margin: 0; list-style: none; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 12px 22px #23372c18; }
.menu-list li:hover > .sub-menu, .menu-list li:focus-within > .sub-menu { display: block; }
.menu-list .sub-menu a { padding: 8px 0; }
.header-action { flex: 0 0 auto; }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--green); border-radius: 10px; padding: 9px 12px; font-weight: 700; font-size: 13px; }

/* Homepage introduction and featured story */
.intro { padding-top: 68px; padding-bottom: 34px; position: relative; }
.intro-inner { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.intro h1 { max-width: 750px; margin: 14px 0 0; font: 500 clamp(43px, 6.2vw, 78px)/1.07 var(--serif); letter-spacing: -.055em; }
.intro h1 em { color: var(--orange); font-weight: 400; }
.intro-description { max-width: 264px; padding-bottom: 11px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.featured { display: grid; grid-template-columns: 1.03fr .97fr; min-height: 386px; overflow: hidden; border-radius: 17px; background: #f0e7d8; border: 1px solid #e8e0d3; }
.featured-art { min-height: 386px; position: relative; overflow: hidden; }
.featured-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.featured-art--placeholder { background: #e7ba9d; }
.art-blob { position: absolute; width: 320px; height: 330px; background: #f6d7b5; border-radius: 48% 52% 40% 60%; left: 16%; top: 13%; transform: rotate(24deg); box-shadow: 40px 44px 0 #d98d70; }
.art-book { position: absolute; bottom: 16%; left: 23%; width: 49%; height: 40%; background: #fdf9ec; border: 12px solid #244a38; border-radius: 7px 12px 28px 4px; box-shadow: 16px 14px 0 #b6644d; transform: rotate(-13deg); }
.art-book::before, .art-book::after { content: ''; position: absolute; left: 20%; width: 58%; height: 3px; background: #a8b5a4; border-radius: 3px; }
.art-book::before { top: 35%; } .art-book::after { top: 52%; }
.art-sun { position: absolute; width: 92px; height: 92px; right: 15%; top: 17%; border-radius: 50%; background: #eedb9f; }
.featured-copy { padding: clamp(34px, 5.2vw, 66px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.featured-kicker { font-weight: 800; text-transform: uppercase; color: #a65d43; font-size: 11px; letter-spacing: .19em; }
.featured-copy h2 { margin: 18px 0 16px; font: 500 clamp(32px, 3.5vw, 48px)/1.13 var(--serif); letter-spacing: -.05em; }
.featured-copy p { color: #6b6b5e; line-height: 1.85; font-size: 14px; margin: 0 0 27px; }
.featured-meta { margin-top: 31px; color: #7b7b6b; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.featured-meta span + span::before { content: '·'; margin: 0 9px; }

/* Blog columns, cards, sidebar */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; column-gap: 65px; align-items: start; padding-top: 77px; padding-bottom: 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading h2, .archive-heading h1 { font: 500 clamp(33px, 3.2vw, 43px)/1.1 var(--serif); letter-spacing: -.045em; margin: 8px 0 0; }
.section-heading .section-description { color: var(--muted); font-size: 13px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
.post-card { min-width: 0; }
.post-card__image { display: block; height: 215px; background: #e4decf; border-radius: 12px; overflow: hidden; margin-bottom: 17px; }
.post-card__image img { height: 100%; width: 100%; object-fit: cover; transition: transform .35s; }
.post-card__image:hover img { transform: scale(1.05); }
.post-card__art { height: 100%; display: block; position: relative; overflow: hidden; background: #c4d3c4; }
.post-card__art::before { content: ''; position: absolute; width: 59%; aspect-ratio: 1; top: 16%; left: 21%; border-radius: 50%; background: #f1e4c5; box-shadow: 32px 45px 0 #95ab9c; }
.post-card__art::after { content: ''; position: absolute; height: 53%; width: 26%; bottom: -17%; left: 42%; border-radius: 100% 100% 0 0; background: #375b46; transform: rotate(-31deg); }
.post-card__art--1 { background: #dec1b1; } .post-card__art--1::before { background: #f8dfc3; box-shadow: 30px 35px 0 #c98972; } .post-card__art--1::after { background: #8e5148; }
.post-card__art--2 { background: #dcd9a9; } .post-card__art--2::before { background: #f8eccf; box-shadow: -33px 35px 0 #b3ac6a; } .post-card__art--2::after { background: #6c7954; }
.post-card__category { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ab6852; }
.post-card h3 { font: 500 26px/1.23 var(--serif); letter-spacing: -.035em; margin: 8px 0 9px; }
.post-card__excerpt { color: var(--muted); line-height: 1.75; font-size: 13px; margin: 0 0 13px; }
.post-card__meta { font-size: 10px; color: #85877d; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; }
.post-card__meta span + span::before { content: '·'; margin: 0 8px; }
.empty-state { grid-column: 1/-1; padding: 28px; background: #f1eadd; border: 1px dashed #d7cdbd; border-radius: var(--radius); }
.empty-state h3 { margin: 0 0 7px; font: 28px var(--serif); }
.empty-state p { margin: 0; color: var(--muted); }
.home-topics { margin-top: 76px; padding-top: 39px; border-top: 1px solid var(--line); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.topic-card { min-height: 154px; padding: 19px 17px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 12px; background: #e6e3cc; transition: transform .2s; }
.topic-card:nth-child(2) { background: #e7d1c6; } .topic-card:nth-child(3) { background: #d3dcca; }
a.topic-card:hover { transform: translateY(-3px); color: var(--ink); }
.topic-card__number { font-size: 11px; color: #617261; font-weight: 700; }
.topic-card__title { font: 500 21px/1.17 var(--serif); letter-spacing: -.025em; }
.topic-card__arrow { align-self: flex-end; color: var(--green); font-size: 21px; }
.sidebar { border-left: 1px solid var(--line); padding-left: 30px; }
.sidebar-widget { padding-bottom: 29px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.sidebar-widget:last-child { border-bottom: 0; }
.sidebar-widget h2, .sidebar-widget .wp-block-heading { margin: 0 0 16px; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.about-avatar { width: 79px; height: 79px; display: grid; place-items: center; border-radius: 50%; background: #d6c4ae; color: #6a7460; margin-bottom: 16px; font: italic 40px var(--serif); }
.sidebar-about p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0 0 14px; }
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget li { margin: 0; border-bottom: 1px solid #e9e5da; }
.sidebar-widget li:last-child { border: 0; }
.sidebar-widget li a { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 13px; font-weight: 700; }
.sidebar-widget li a::after { content: '↗'; color: #a0a49b; font-weight: 400; }
.search-form { display: flex; align-items: stretch; max-width: 100%; }
.search-field { border: 1px solid var(--line); border-radius: 8px 0 0 8px; background: #fffefa; color: var(--ink); min-width: 0; width: 100%; padding: 11px 12px; font-size: 12px; }
.search-submit { border: 0; background: var(--green); color: white; border-radius: 0 8px 8px 0; padding: 0 13px; font-size: 12px; font-weight: 700; }
.search-submit:hover { background: #3d664f; }

/* Archives and articles */
.archive-intro { padding: 66px 0 0; }
.archive-heading h1 { margin: 12px 0 8px; }
.archive-heading p { max-width: 600px; color: var(--muted); }
.archive-layout { padding-top: 44px; }
.pagination, .nav-links { display: flex; gap: 8px; margin-top: 35px; flex-wrap: wrap; }
.page-numbers, .post-page-numbers { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; padding: 4px 11px; font-size: 12px; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { color: white; border-color: var(--green); background: var(--green); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 75px; padding-top: 69px; padding-bottom: 100px; }
.article-header { margin-bottom: 32px; }
.article-header h1 { max-width: 780px; font: 500 clamp(39px, 5.5vw, 64px)/1.1 var(--serif); letter-spacing: -.05em; margin: 13px 0 18px; }
.article-meta { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.article-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: 15px; margin-bottom: 36px; }
.entry-content { font-size: 16px; line-height: 1.9; color: #39443b; overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; }
.entry-content h2 { font-size: 34px; margin: 39px 0 16px; } .entry-content h3 { font-size: 27px; }
.entry-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 3px solid var(--orange); padding: 5px 0 5px 23px; margin: 28px 0; color: var(--green); font: italic 27px/1.5 var(--serif); }
.entry-content figure { margin: 24px 0; }
.entry-content img { border-radius: 10px; }
.entry-content figcaption { color: var(--muted); text-align: center; font-size: 12px; }
.entry-content pre { overflow-x: auto; padding: 20px; background: #ecece3; border-radius: 8px; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px; }
.entry-content .alignwide { max-width: 100%; } .entry-content .alignfull { max-width: 100%; }
.article-tags { margin-top: 26px; display: flex; gap: 9px; flex-wrap: wrap; }
.article-tags a { border: 1px solid var(--line); border-radius: 30px; padding: 4px 11px; font-size: 12px; }
.post-navigation { padding-top: 26px; border-top: 1px solid var(--line); margin-top: 42px; }
.post-navigation .nav-links { justify-content: space-between; gap: 30px; }
.post-navigation a { font: 18px/1.4 var(--serif); }
.comments-area { margin-top: 45px; border-top: 1px solid var(--line); padding-top: 25px; }
.comments-area h2, .comments-area h3 { font: 28px var(--serif); }
.comment-list { padding-left: 22px; } .comment-list li { margin-bottom: 20px; }
.comment-form label { display: block; font-size: 13px; font-weight: 700; }
.comment-form input:not([type=checkbox]), .comment-form textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 11px; }
.comment-form .submit { border: 0; background: var(--green); color: white; border-radius: 30px; padding: 11px 19px; font-weight: 700; }
.nothing-found { min-height: 260px; }

/* Footer */
.site-footer { background: #233e30; color: #fffdf6; padding: 61px 0 21px; }
.footer-main { display: grid; grid-template-columns: 1.25fr .7fr .7fr; column-gap: 80px; padding-bottom: 54px; }
.footer-brand .site-title { font-size: 33px; display: block; margin-bottom: 12px; }
.footer-brand p { color: #c4d0c1; max-width: 330px; font-size: 13px; line-height: 1.9; margin: 0; }
.footer-heading { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin: 8px 0 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #c4d0c1; font-size: 13px; }
.footer-links a:hover { color: #f3c4a8; }
.footer-note { color: #c4d0c1; font-size: 13px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid #496051; padding-top: 18px; display: flex; justify-content: space-between; color: #b0c0af; font-size: 11px; }
.footer-bottom__links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.footer-privacy-link { color: #eed091; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.footer-privacy-link:hover, .footer-privacy-link:focus-visible { color: #fff5d8; }

@media (max-width: 1000px) {
  .content-layout { gap: 32px; grid-template-columns: minmax(0,1fr) 240px; }
  .sidebar { padding-left: 22px; }
  .menu-list { gap: 15px; }
  .article-layout { gap: 35px; }
}
@media (max-width: 780px) {
  .container { width: min(calc(100% - 38px), var(--container)); }
  .header-inner { flex-wrap: wrap; min-height: 76px; padding: 15px 0; gap: 10px; }
  .site-brand { min-width: 0; margin-right: auto; }
  .header-action { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .primary-navigation { display: none; order: 3; width: 100%; margin-left: 0; padding: 8px 0; }
  .primary-navigation.is-open { display: block; }
  .menu-list { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-list > li { border-bottom: 1px solid var(--line); }
  .menu-list li a { padding: 11px 6px; }
  .menu-list .sub-menu { display: block; position: static; box-shadow: none; padding: 0 16px; border: 0; background: transparent; width: auto; }
  .intro { padding-top: 51px; }
  .intro-inner { display: block; }
  .intro-description { margin: 21px 0 0; max-width: 520px; }
  .featured { grid-template-columns: 1fr; }
  .featured-art, .featured-art img { min-height: 290px; max-height: 360px; }
  .featured-copy { padding: 38px; }
  .content-layout, .article-layout { grid-template-columns: 1fr; gap: 42px; padding-top: 55px; padding-bottom: 70px; }
  .sidebar { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 35px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; }
  .footer-main { gap: 28px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 510px) {
  .intro h1 { font-size: 46px; }
  .featured-copy { padding: 29px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card__image { height: 245px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 107px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Image-rich section backgrounds. The fourteen --wtn-* variables are
   populated from Appearance > Customize > White Trash Networks Section Images. */
.site-header {
  background-image: linear-gradient(90deg, #fffefadd, #fffefacb), var(--wtn-header-image, none);
  background-size: cover;
  background-position: center;
}
.intro {
  margin-top: 29px;
  padding: 55px 43px 48px;
  border-radius: 17px;
  background-color: #e7dfd0;
  background-image: linear-gradient(90deg, #faf7efc9 0%, #faf7efbc 63%, #faf7ef78 100%), var(--wtn-hero-image, none);
  background-size: cover;
  background-position: center;
}
.intro h1 { text-shadow: 0 1px 6px #fffefa3a; }
#latest {
  padding: 30px;
  border-radius: 16px;
  background-color: #f6f1e8;
  background-image: linear-gradient(#faf9f2c9, #faf9f2e0), var(--wtn-latest-image, none);
  background-size: cover;
  background-position: center;
}
#latest .post-card {
  border-radius: 12px;
  padding: 11px;
  background: #fffefade;
  box-shadow: 0 6px 19px #394a3710;
}
.post-card__image img { object-position: center; }
.home-topics {
  padding: 36px 29px 29px;
  border: 1px solid #e9e0d5;
  border-radius: 16px;
  background-color: #e8e2d6;
  background-image: linear-gradient(#faf7eed7, #faf7eecb), var(--wtn-topics-image, none);
  background-size: cover;
  background-position: center;
}
.topic-card {
  border: 1px solid #ffffff72;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 12px #233b3124;
}
.topic-card:nth-child(3n+1) { background-image: linear-gradient(#f8efdf9c, #f8efdfb8), var(--wtn-topic-1-image, none); }
.topic-card:nth-child(3n+2) { background-image: linear-gradient(#f7ece39c, #f7ece3b8), var(--wtn-topic-2-image, none); }
.topic-card:nth-child(3n+3) { background-image: linear-gradient(#edf1e59c, #edf1e5b8), var(--wtn-topic-3-image, none); }
.sidebar {
  padding: 27px 23px;
  border: 1px solid #e5ddd0;
  border-radius: 15px;
  background-color: #ede8dd;
  background-image: linear-gradient(#fffefadf, #fffefac7), var(--wtn-sidebar-image, none);
  background-size: cover;
  background-position: center;
}
.site-footer {
  background-image: linear-gradient(#152f24df, #152f24eb), var(--wtn-footer-image, none);
  background-position: center;
  background-size: cover;
}
.archive-intro {
  margin-top: 26px;
  padding: 38px;
  border-radius: 15px;
  background-image: linear-gradient(90deg, #faf7eae6, #faf7eac7), var(--wtn-hero-image, none);
  background-position: center;
  background-size: cover;
}
@media (max-width: 780px) {
  .intro { margin-top: 19px; padding: 43px 30px 35px; }
  #latest { padding: 20px; }
  .home-topics { padding: 27px 20px 22px; }
  .sidebar { padding: 27px; border: 1px solid #e5ddd0; }
}
@media (max-width: 510px) {
  .intro { padding: 33px 21px 27px; }
  .intro h1 { font-size: 42px; }
  .intro-description { font-size: 13px; }
  #latest { padding: 13px; }
  #latest .post-card { padding: 8px; }
  .sidebar { padding: 23px; }
}
