/*
** Anti Gravity Club -- the journal
**
** Dark, the way the club's own lookbook reads: near-black pages, white type, one accent (none),
** IBM Plex Mono for the small print and Inter for the words. The journal opens with the club's
** mission held in the middle of the screen, scrolls into the stories laid out like a lookbook's
** product row, and ends on the best seller with one way through to antigravityclub.co.
** Loaded after every Frankfurt News and NewsExo sheet, so it has the last word.
*/

:root {
  --agc-bg: #0e0e10;
  --agc-panel: #17171a;
  --agc-panel-2: #1e1e22;
  --agc-frame: #232327;
  --agc-ink: #f2f2f3;
  --agc-soft: #c9c9ce;
  --agc-muted: #9b9ba3;
  --agc-line: #303036;
  --agc-white: #fff;
  --agc-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --agc-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* --- the page --- */

html,
html body,
body #wrapper,
body.custom-background #wrapper,
body .theme-bg-grey,
body .theme-bg-default,
body .theme-bg-dark,
body .blog-list-view-post,
body .blog-grid-view-post,
body .blog-single-view-post,
body .trending-news-section,
body .popular-tags-section,
body .you-may-have-missed {
  background: var(--agc-bg) !important;
  color: var(--agc-ink);
}

body {
  font-family: var(--agc-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body a,
body p,
body li,
body span,
body address {
  color: var(--agc-ink);
}

body a:hover,
body a:focus {
  color: var(--agc-white);
  opacity: 0.75;
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .entry-title,
body .entry-title a {
  color: var(--agc-white);
  font-family: var(--agc-sans) !important;
  font-weight: 500;
  letter-spacing: -0.02em !important;
  text-transform: none;
}

::selection {
  background: var(--agc-white);
  color: var(--agc-bg);
}

body img {
  max-width: 100%;
  height: auto;
}

/* the news theme's date and social strip, and its slider furniture */
body .site-header,
body .popular-tags-section,
body .trending-news-section,
body #featured-news-slider,
body #news-slider {
  display: none !important;
}

/* --- the name and the menu --- */

body .logo-banner {
  padding: 26px 0 16px;
  background: var(--agc-bg) !important;
  text-align: center;
}

body .logo-banner::before {
  display: none;
}

body .site-branding,
body .site-branding .site-title {
  text-align: center;
}

body .site-branding .site-title,
body .site-branding .site-title a {
  margin: 0;
  color: var(--agc-white) !important;
  font-family: var(--agc-mono) !important;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
}

body .site-branding .site-description {
  margin: 8px 0 0;
  color: var(--agc-muted) !important;
  font-family: var(--agc-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body .custom-logo {
  max-height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

body .navbar {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--agc-line);
  border-bottom: 1px solid var(--agc-line);
  background: var(--agc-bg) !important;
  box-shadow: none;
}

body .navbar .nav {
  justify-content: center;
}

body .navbar .nav .menu-item .nav-link,
body .navbar.navbar-dark .nav .menu-item .nav-link {
  padding: 16px !important;
  color: var(--agc-ink) !important;
  background: transparent !important;
  font-family: var(--agc-mono) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body .navbar .nav .menu-item.active > .nav-link,
body .navbar .nav .menu-item .nav-link:hover {
  color: var(--agc-white) !important;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

body .navbar .dropdown-menu {
  padding: 8px;
  border: 1px solid var(--agc-line);
  border-radius: 10px;
  background: var(--agc-panel) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

body .navbar .nav .menu-item .dropdown-item {
  border-radius: 6px;
  color: var(--agc-ink) !important;
  background: transparent !important;
  font-family: var(--agc-mono);
  font-size: 12.5px;
}

body .navbar .nav .menu-item .dropdown-item:hover {
  background: #1d1d1d !important;
}

/* Shop: the white pill at the menu's end */
body .navbar .nav .menu-item .nav-link.agc-shop-link,
body .navbar.navbar-dark .nav .menu-item .nav-link.agc-shop-link {
  margin: 8px 0 8px 14px;
  padding: 8px 22px !important;
  border-radius: 999px;
  background: var(--agc-white) !important;
  color: #000 !important;
  text-decoration: none;
}

body .navbar .nav .menu-item .nav-link.agc-shop-link:hover {
  background: #d9d9d9 !important;
  opacity: 1;
}

body .theme-search-block a,
body .navbar-toggler-icon {
  color: var(--agc-ink) !important;
}

@keyframes agc-float-in {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 992px) {
  body .navbar.header-fixed-top {
    position: fixed !important;
    top: 12px !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 999;
    width: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(18, 18, 18, 0.72) !important;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    backdrop-filter: saturate(140%) blur(18px);
    animation: agc-float-in 0.28s ease both;
  }
}

@media (max-width: 991px) {
  body .navbar-toggler {
    margin: 10px 0;
    border: 1px solid var(--agc-line);
    border-radius: 8px;
  }

  body .navbar .nav .menu-item .nav-link.agc-shop-link {
    display: inline-block;
    margin: 8px 16px 16px;
  }
}

/* --- the opening: the club's mission, front and centre --- */

.agc-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 96px 20px 120px;
  background: radial-gradient(120% 90% at 50% 0%, #1b1b1b 0%, #0a0a0a 62%);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.agc-hero--image {
  background-attachment: scroll;
}

.agc-hero--image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(10, 10, 10, 0.95) 100%);
}

.agc-hero-inner {
  position: relative;
  max-width: 900px;
}

.agc-hero-kicker {
  margin: 0 0 22px;
  color: var(--agc-soft);
  font-family: var(--agc-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.agc-hero-title {
  margin: 0 0 28px;
  color: var(--agc-white);
  font-size: clamp(38px, 6.4vw, 92px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.agc-hero-copy p {
  margin: 0 auto 20px;
  max-width: 760px;
  color: #e6e6e6;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.agc-hero-copy em {
  font-style: italic;
  opacity: 0.85;
}

.agc-hero-motto {
  margin: 34px auto 0;
  max-width: 720px;
  color: var(--agc-white);
  font-family: var(--agc-mono);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-transform: uppercase;
}

a.agc-hero-scroll {
  display: inline-block;
  margin-top: 46px;
  color: var(--agc-white) !important;
  font-family: var(--agc-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-decoration: none;
  text-transform: uppercase;
}

a.agc-hero-scroll span {
  display: block;
}

a.agc-hero-scroll::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 14px auto 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: agc-nudge-down 1.8s ease-in-out infinite;
}

@keyframes agc-nudge-down {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(5px) rotate(45deg); }
}

/* --- the journal: stories laid out like a lookbook's row --- */

body .blog-list-view-post,
body .blog-grid-view-post {
  padding: 80px 0 40px;
}

body .post.grid-view-news-area,
body .post.grid-view-news-area.vrsn-two,
body .list-view-news-area .post.vrsn-two {
  margin-bottom: 48px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body .post .post-thumbnail {
  margin: 0 0 18px;
  overflow: hidden;
  background: var(--agc-frame);
}

body .post .post-thumbnail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s ease;
}

body .post:hover .post-thumbnail img {
  transform: scale(1.04);
}

body .post .post-content {
  padding: 0 !important;
  background: transparent !important;
}

body .entry-meta .cat-links .links-bg,
body .entry-meta .cat-links .links-bg:nth-child(n) {
  display: inline-block;
  margin: 0 6px 12px 0;
  padding: 5px 11px;
  border: 1px solid var(--agc-line);
  border-radius: 999px;
  background: transparent !important;
  color: var(--agc-soft) !important;
  font-family: var(--agc-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .entry-meta .cat-links .links-bg span {
  color: inherit !important;
}

body .grid-view-news-area .entry-title,
body .grid-view-news-area .entry-title a {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

body .entry-meta,
body .entry-meta a,
body .entry-meta > span,
body .entry-meta > span i {
  color: var(--agc-muted) !important;
  font-family: var(--agc-mono);
  font-size: 11.5px;
}

body .entry-meta .avatar-default {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  filter: grayscale(1) brightness(1.1);
}

body .entry-content {
  color: #dcdcdc;
}

body .more-link,
body a.more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: var(--agc-white) !important;
  font-family: var(--agc-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

body .more-link::after {
  content: "";
  width: 22px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
  transition: width 0.2s ease;
}

body .post:hover .more-link::after {
  width: 34px;
}

/* --- the best seller, the way out to the store --- */

.agc-bestseller {
  position: relative;
  margin: 40px 0 0;
  background: #000;
}

.agc-bestseller-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.agc-bestseller-figure {
  margin: 0;
  min-height: min(62vh, 620px);
  background-color: var(--agc-frame);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.agc-bestseller-body {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(92%, 420px);
  padding: 30px 24px;
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  text-align: center;
  transform: translate(-50%, -50%);
}

.agc-bestseller-kicker {
  margin: 0;
  color: var(--agc-soft);
  font-family: var(--agc-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.agc-bestseller-name {
  margin: 0;
  color: var(--agc-white);
  font-family: var(--agc-sans);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

a.agc-bestseller-button {
  margin-top: 6px;
  padding: 14px 30px;
  background: var(--agc-white);
  color: #000 !important;
  font-family: var(--agc-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

a.agc-bestseller-button:hover {
  background: #d9d9d9;
  opacity: 1;
}

@media (max-width: 767px) {
  .agc-bestseller-figure {
    min-height: 44vh;
  }

  .agc-bestseller-body {
    padding: 22px 18px;
  }
}

/* --- a single story --- */

body.single-post .blog-single-view-post .post,
body.single-post article.post {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

body.single-post .entry-header .entry-title {
  margin: 8px 0 18px;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.045em !important;
}

body.single-post .post .post-thumbnail img {
  aspect-ratio: auto;
  max-height: 720px;
  object-fit: contain;
}

body.single-post .entry-content,
body.page .entry-content {
  font-size: 18px;
  line-height: 1.8;
}

body .entry-content h2 {
  margin: 56px 0 16px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.03em !important;
}

body .entry-content h3 {
  margin: 40px 0 12px;
  font-size: 21px;
}

body .entry-content p {
  margin: 0 0 22px;
}

body .entry-content strong {
  color: var(--agc-white);
}

body .entry-content a {
  color: var(--agc-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

body .entry-content blockquote,
body .entry-content .wp-block-quote,
body .entry-content .wp-block-pullquote {
  margin: 40px 0;
  padding: 0 0 0 24px;
  border: 0;
  border-left: 2px solid var(--agc-white);
  background: transparent;
  color: var(--agc-white);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

body .entry-content blockquote cite,
body .entry-content .wp-block-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--agc-muted);
  font-family: var(--agc-mono);
  font-size: 12px;
  font-style: normal;
}

body .entry-content .agc-kicker {
  margin: 0 0 8px;
  color: var(--agc-soft);
  font-family: var(--agc-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

body .entry-content .agc-lead {
  color: var(--agc-white);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

body .entry-content .agc-motto {
  margin: 56px 0;
  padding: 40px 32px;
  border: 1px solid var(--agc-line);
  background: var(--agc-panel);
  color: var(--agc-white);
  font-family: var(--agc-mono);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.9;
  text-align: center;
  text-transform: uppercase;
}

body .entry-content .agc-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 40px;
}

body .entry-content .agc-pillar {
  padding: 22px;
  border: 1px solid var(--agc-line);
  background: var(--agc-panel);
}

body .entry-content .agc-pillar strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
}

body .entry-content .agc-pillar p {
  margin: 0;
  color: var(--agc-soft);
  font-size: 15px;
  line-height: 1.55;
}

body .entry-content .agc-facts {
  margin: 28px 0 36px;
  padding: 24px;
  border: 1px solid var(--agc-line);
  background: var(--agc-panel);
  font-size: 15px;
}

body .entry-content .agc-facts li {
  margin-bottom: 8px;
  color: var(--agc-soft);
}

body .entry-content .agc-source {
  color: var(--agc-muted);
  font-family: var(--agc-mono);
  font-size: 12px;
}

@media (max-width: 767px) {
  body .entry-content .agc-pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .agc-hero {
    min-height: auto;
    padding: 72px 18px 90px;
  }
}

/* buttons */
body .wp-block-button__link,
body button,
body input[type="submit"],
body .btn,
body .btn-primary {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--agc-white) !important;
  color: #000 !important;
  font-family: var(--agc-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body .wp-block-button__link {
  padding: 15px 30px !important;
  text-decoration: none;
}

body .wp-block-button__link:hover,
body .btn:hover {
  background: #d9d9d9 !important;
  opacity: 1;
}

body .is-style-outline .wp-block-button__link {
  border: 1px solid var(--agc-white) !important;
  background: transparent !important;
  color: var(--agc-white) !important;
}

body .tag-links a {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 5px 12px;
  border: 1px solid var(--agc-line);
  border-radius: 999px;
  background: transparent !important;
  color: var(--agc-soft) !important;
  font-family: var(--agc-mono);
  font-size: 11px;
}

/* author box, comments, forms */
body .post-author-area,
body .post-author-area.vrsn-two,
body .theme-comment-area,
body .theme-comment-area.vrsn-two,
body .theme-comment-form.vrsn-two .comment-form {
  border: 1px solid var(--agc-line) !important;
  border-radius: 0;
  background: var(--agc-panel) !important;
  box-shadow: none !important;
}

body .comment-form input[type="text"],
body .comment-form input[type="email"],
body .comment-form input[type="url"],
body .comment-form textarea,
body input[type="search"] {
  border: 1px solid var(--agc-line) !important;
  border-radius: 4px !important;
  background: #0f0f0f !important;
  box-shadow: none !important;
  color: var(--agc-ink) !important;
  font-family: var(--agc-sans);
}

/* the sidebar, when a page still uses one */
body .sidebar .widget,
body .sidebar.vrsn-two .widget {
  margin-bottom: 28px;
  padding: 24px !important;
  border: 1px solid var(--agc-line) !important;
  border-radius: 0;
  background: var(--agc-panel) !important;
  box-shadow: none !important;
}

body .sidebar .widget .widget-title,
body .sidebar .widget .wp-block-heading,
body .sidebar .widget h2 {
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: var(--agc-white) !important;
  font-family: var(--agc-mono) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
}

body .sidebar .widget .widget-title::before,
body .sidebar .widget .widget-title::after {
  display: none;
}

/* breadcrumb and page titles */
body #wrapper .page-breadcrumb,
body .page-breadcrumb {
  padding: 56px 0 24px;
  background: var(--agc-bg) !important;
  text-align: center;
}

body .page-breadcrumb .page-title,
body .page-breadcrumb h1 {
  color: var(--agc-white);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.04em !important;
}

body .page-breadcrumb ul,
body .page-breadcrumb li,
body .page-breadcrumb a {
  color: var(--agc-muted) !important;
  font-family: var(--agc-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* pagination */
body .navigation.pagination .nav-links .page-numbers,
body .pagination a {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--agc-line) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--agc-ink) !important;
  font-family: var(--agc-mono);
  line-height: 38px;
}

body .navigation.pagination .nav-links .page-numbers.current {
  border-color: var(--agc-white) !important;
  background: var(--agc-white) !important;
  color: #000 !important;
}

/* --- the footer --- */

body .site-footer.agc-footer {
  margin-top: 0;
  padding: 80px 0 28px;
  border-top: 1px solid var(--agc-line);
  background: #000 !important;
  color: var(--agc-soft);
}

body .site-footer.agc-footer::before {
  display: none;
}

body .agc-footer a {
  color: var(--agc-white) !important;
}

body .agc-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--agc-line);
}

body .agc-footer-name {
  margin: 0 0 10px;
  color: var(--agc-white);
  font-family: var(--agc-sans);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

body .agc-footer-line {
  margin: 0 0 24px;
  color: var(--agc-muted);
  font-family: var(--agc-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body a.agc-footer-shop {
  display: inline-block;
  padding: 13px 26px;
  background: var(--agc-white);
  color: #000 !important;
  font-family: var(--agc-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

body .agc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--agc-mono);
  font-size: 12.5px;
}

body .agc-footer-heading {
  margin: 0 0 6px;
  color: var(--agc-muted);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body .agc-footer address {
  margin: 0;
  color: var(--agc-soft);
  font-style: normal;
  line-height: 1.8;
}

body .agc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-family: var(--agc-mono);
  font-size: 11.5px;
}

body .agc-footer-copy {
  margin: 0;
  color: var(--agc-muted);
}

body .agc-footer .site-info-menu {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .agc-footer .footer-sidebar,
body .agc-footer .widget,
body .agc-footer .widget-title {
  background: transparent !important;
  border: 0 !important;
  color: var(--agc-soft) !important;
}

@media (max-width: 767px) {
  body .agc-footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

body .page-scroll-up a {
  border-radius: 50%;
  background: var(--agc-white) !important;
  color: #000 !important;
}

/* the search pop-up */
body #search-popup {
  background: rgba(10, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body #search-popup input[type="search"] {
  color: var(--agc-white) !important;
  font-family: var(--agc-sans);
  font-size: 28px;
}

body #search-popup .close {
  color: var(--agc-white);
}

/* =========================================================================
   The journal, laid out like a studio's news page, and the last of the news
   theme's colour taken out

   The parent theme fades its blocks in with WOW.js and paints its headings
   magenta with an arrow tail. Where the script does not run, the text stays
   invisible, which is what made the About page look empty. Everything is
   shown outright here, and the headings are plain.
   ========================================================================= */

/* nothing waits for a script to become visible */
body .wow,
body .animate,
body .wow.animate,
body [data-wow-delay] {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

/* the magenta heading tabs (Search, Recent posts, Related story, Leave a reply) */
body .widget .widget-title,
body .sidebar .widget .widget-title,
body .footer-sidebar .widget .widget-title,
body .related-post-section .section-title,
body .theme-comment-area .comments-title,
body .theme-comment-form .comment-reply-title,
body .post-author-area .author-title,
body .section-title,
body h2.widget-title,
body h3.widget-title,
body h4.widget-title {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0 0 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--agc-line) !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--agc-white) !important;
  font-family: var(--agc-mono) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

body .widget .widget-title::before,
body .widget .widget-title::after,
body .section-title::before,
body .section-title::after,
body .comments-title::before,
body .comments-title::after,
body .comment-reply-title::before,
body .comment-reply-title::after,
body .related-post-section .section-title::before,
body .related-post-section .section-title::after {
  display: none !important;
  content: none !important;
}

/* links inside widgets and lists: white, not magenta */
body .widget a,
body .widget li a,
body .sidebar a,
body .wp-block-latest-posts a,
body .wp-block-archives a,
body .wp-block-categories a,
body .recent-posts a,
body .comment-detail p a,
body .logged-in-as a,
body .comment-metadata a {
  color: var(--agc-soft) !important;
  text-decoration: none;
}

body .widget a:hover,
body .sidebar a:hover {
  color: var(--agc-white) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body .widget li,
body .sidebar li {
  padding: 10px 0;
  border-bottom: 1px solid var(--agc-line);
  color: var(--agc-soft);
  list-style: none;
}

body .widget li:last-child {
  border-bottom: 0;
}

/* the search widget */
body .search-form,
body .wp-block-search__inside-wrapper {
  display: flex;
  gap: 8px;
}

body .search-form input[type="search"],
body .wp-block-search__input {
  flex: 1 1 auto;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--agc-line) !important;
  border-radius: 6px !important;
  background: #101014 !important;
  color: var(--agc-ink) !important;
}

body .search-form input::placeholder {
  color: var(--agc-muted);
}

body .search-form .search-submit,
body .wp-block-search__button {
  height: 44px;
  padding: 0 20px !important;
  border-radius: 6px !important;
}

/* --- the journal: featured story, then rows --- */

body .agc-journal {
  padding: 72px 0 40px;
  background: var(--agc-bg);
}

body .agc-section-label {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  background: var(--agc-panel-2);
  color: var(--agc-soft);
  font-family: var(--agc-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body .agc-rows .agc-section-label,
body .agc-featured + .agc-section-label {
  margin-top: 56px;
}

body .agc-featured {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  gap: 20px;
  margin: 0 0 12px;
}

body .agc-featured--single {
  grid-template-columns: minmax(0, 1fr);
}

/* the shared parts of a story */
body .agc-story {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--agc-line);
  border-radius: 10px;
  background: var(--agc-panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

body .agc-story:hover {
  border-color: #4a4a52;
}

body a.agc-story-media {
  display: block;
  overflow: hidden;
  background: var(--agc-frame);
}

body .agc-story-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

body .agc-story:hover .agc-story-image {
  transform: scale(1.04);
}

body .agc-story-image--empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #202027 0%, #16161a 100%);
}

body .agc-story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-family: var(--agc-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body .agc-story-cat {
  padding: 4px 10px;
  border: 1px solid var(--agc-line);
  border-radius: 999px;
  color: var(--agc-soft);
}

body .agc-story-date {
  color: var(--agc-muted);
}

body .agc-story-title {
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: -0.025em !important;
  line-height: 1.15;
}

body .agc-story-title a {
  color: var(--agc-white) !important;
  text-decoration: none;
}

body .agc-story-excerpt {
  margin: 0 0 14px;
  color: var(--agc-soft);
  font-size: 15px;
  line-height: 1.6;
}

body .agc-story-more {
  display: inline-flex;
  align-items: center;
  color: var(--agc-white);
  font-family: var(--agc-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body .agc-story-more::after {
  content: "";
  width: 22px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
  transition: width 0.2s ease;
}

body .agc-story:hover .agc-story-more::after {
  width: 34px;
}

/* the featured story: picture with the words under it */
body .agc-story--hero .agc-story-media {
  aspect-ratio: 16 / 7;
}

body .agc-story--hero .agc-story-body {
  padding: 26px 28px 28px;
}

body .agc-story--hero .agc-story-title {
  font-size: clamp(26px, 2.6vw, 38px);
}

body .agc-story--side .agc-story-media {
  aspect-ratio: 4 / 3;
}

body .agc-story--side .agc-story-body {
  padding: 22px;
}

body .agc-story--side .agc-story-title {
  font-size: 20px;
}

/* the rest: picture on the left, words on the right */
body .agc-rows {
  display: grid;
  gap: 14px;
}

body .agc-story--row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch;
}

body .agc-story--row .agc-story-media {
  height: 100%;
  min-height: 190px;
}

body .agc-story--row .agc-story-body {
  padding: 24px 28px;
}

body .agc-story--row .agc-story-title {
  font-size: 23px;
}

@media (max-width: 991px) {
  body .agc-featured {
    grid-template-columns: minmax(0, 1fr);
  }

  body .agc-story--row {
    grid-template-columns: minmax(0, 1fr);
  }

  body .agc-story--row .agc-story-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  body .agc-story--hero .agc-story-media {
    aspect-ratio: 16 / 9;
  }
}

/* pagination sits under the rows */
body .agc-journal .navigation.pagination {
  margin-top: 40px;
  text-align: center;
}

/* --- the single story and pages, readable --- */

body.single-post .entry-content,
body.page .entry-content,
body .entry-content p,
body .entry-content li {
  color: #e2e2e6;
}

body .post-author-area,
body .theme-comment-area,
body .theme-comment-form.vrsn-two .comment-form,
body .related-post-section {
  padding: 26px !important;
  border: 1px solid var(--agc-line) !important;
  border-radius: 10px;
  background: var(--agc-panel) !important;
}

body .comment-body,
body .comment-detail {
  color: var(--agc-soft);
}

body .comment-form label,
body .comment-notes,
body .logged-in-as {
  color: var(--agc-soft) !important;
}

/* the author box's social icons, in the club's colours */
body .post-author-area .social-icons a,
body .post-author-area a[class*="fa-"] {
  color: var(--agc-soft) !important;
  filter: grayscale(1);
}

/* =========================================================================
   The last of the news theme's colour, the floating menu on every page, and
   the sections rising in as they are reached
   ========================================================================= */

/* The parent gives each widget heading its own colour (orange, pink, purple...)
   and an arrow tail. All of them become the club's plain label. */
body .widget .wp-block-heading,
body .widget .widget-title,
body .widget h2,
body .widget h3,
body .sidebar .widget .wp-block-heading,
body .footer-sidebar .widget .wp-block-heading,
body .widget:nth-child(1) .wp-block-heading,
body .widget:nth-child(2) .wp-block-heading,
body .widget:nth-child(3) .wp-block-heading,
body .widget:nth-child(4) .wp-block-heading,
body .widget:nth-child(5) .wp-block-heading,
body .widget:nth-child(6) .wp-block-heading,
body .widget:nth-child(7) .wp-block-heading,
body .widget:nth-child(8) .wp-block-heading {
  display: block;
  width: 100%;
  margin: 0 0 16px !important;
  padding: 0 0 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--agc-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--agc-white) !important;
  font-family: var(--agc-mono) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

body .widget .wp-block-heading::before,
body .widget .wp-block-heading::after,
body .widget .widget-title::before,
body .widget .widget-title::after,
body .widget:nth-child(1) .wp-block-heading::before,
body .widget:nth-child(2) .wp-block-heading::before,
body .widget:nth-child(3) .wp-block-heading::before,
body .widget:nth-child(4) .wp-block-heading::before,
body .widget:nth-child(5) .wp-block-heading::before,
body .widget:nth-child(6) .wp-block-heading::before,
body .widget:nth-child(7) .wp-block-heading::before,
body .widget:nth-child(8) .wp-block-heading::before {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

/* the search field and its button */
body .wp-block-search__input,
body .search-field {
  height: 46px;
  border: 1px solid var(--agc-line) !important;
  border-radius: 6px 0 0 6px !important;
  background: #101014 !important;
  color: var(--agc-ink) !important;
}

body .wp-block-search__button,
body .search-submit {
  height: 46px;
  border-radius: 0 6px 6px 0 !important;
  background: var(--agc-white) !important;
  color: #000 !important;
}

/* --- the menu: floating, translucent and centred on every page --- */

@media (min-width: 992px) {
  body .navbar,
  body .navbar.header-sticky {
    position: sticky;
    top: 18px;
    z-index: 999;
    margin: 10px 16px 0;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px;
    background: rgba(22, 22, 26, 0.68) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    backdrop-filter: saturate(150%) blur(18px);
  }

  /* while it is pinned by the parent's script it keeps the same shape */
  body .navbar.header-fixed-top {
    position: fixed !important;
    top: 18px !important;
    left: 16px !important;
    right: 16px !important;
    margin: 0;
  }

  body.admin-bar .navbar,
  body.admin-bar .navbar.header-sticky,
  body.admin-bar .navbar.header-fixed-top {
    top: 50px !important;
  }

  /* everything in the bar sits in the middle */
  body .navbar .container-full > .row {
    justify-content: center;
  }

  body .navbar .navbar-collapse {
    justify-content: center;
  }

  body .navbar .nav.navbar-nav {
    justify-content: center;
    width: 100%;
  }
}

/* --- the opening: shorter, so the first story is within reach --- */

.agc-hero {
  min-height: min(82vh, 760px);
  padding: 72px 20px 84px;
}

.agc-hero-inner {
  will-change: opacity, transform;
}

/* --- the page header on a story: no empty box --- */

body #wrapper .page-breadcrumb,
body .page-breadcrumb,
body .theme-breadcrumb,
body .page-breadcrumb .container-full > div,
body .breadcrumb-area {
  padding: 26px 0 6px !important;
  border: 0 !important;
  background: transparent !important;
}

body .page-breadcrumb .breadcrumb,
body .breadcrumb {
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
}

body.single-post .blog-single-view-post,
body.page .blog-grid-view-post {
  padding-top: 18px;
}

/* --- the cards: the whole card opens the story --- */

body .agc-story {
  position: relative;
}

body .agc-story-title a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

body .agc-story-more {
  position: relative;
  z-index: 1;
}

/* the story rows on category, tag, author and search pages */
body .agc-row-item {
  margin-bottom: 14px;
  padding-left: 0;
  padding-right: 0;
}

body .blog-list-view-post .row > .agc-row-item,
body .blog-grid-view-post .row > .agc-row-item {
  flex: 0 0 100%;
  max-width: 100%;
}

/* --- sections rising in --- */

html.agc-reveal-on [data-agc-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}

html.agc-reveal-on [data-agc-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.agc-reveal-on [data-agc-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- the way out to the store, under the best seller --- */

.agc-cta {
  padding: 96px 20px 104px;
  border-top: 1px solid var(--agc-line);
  background: radial-gradient(110% 120% at 50% 0%, #1a1a1f 0%, var(--agc-bg) 70%);
  text-align: center;
}

.agc-cta-kicker {
  margin: 0 0 14px;
  color: var(--agc-muted);
  font-family: var(--agc-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.agc-cta-line {
  margin: 0 0 28px;
  color: var(--agc-white);
  font-family: var(--agc-sans);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

a.agc-cta-button {
  display: inline-block;
  padding: 16px 34px;
  background: var(--agc-white);
  color: #000 !important;
  font-family: var(--agc-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

a.agc-cta-button:hover {
  background: #d9d9d9;
  opacity: 1;
}

/* the footer follows straight on from it */
body .site-footer.agc-footer {
  padding-top: 64px;
  border-top: 0;
}

/* --- anything the news theme still dims --- */

body .grid-view-news-area .entry-title a,
body .list-view-news-area .entry-title a,
body .post .entry-title a,
body .agc-story-title a {
  color: var(--agc-white) !important;
  opacity: 1 !important;
}

body .post .entry-content p,
body .post-content p,
body .agc-story-excerpt {
  color: var(--agc-soft) !important;
  opacity: 1 !important;
}
