/*
Theme Name: CarJogja Fresh
Theme URI: https://carjogja.com
Description: Child theme Astra untuk carjogja.com — magazine pertanian: hijau logo, krem hangat, tipografi Inter, hero bertumpuk dan indeks rubrik.
Author: Homelab Ops
Template: astra
Version: 1.0.0
Text Domain: cj-magazine
*/

/* ==========================================================================
   1. Fonts
   ========================================================================== */
@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */
  :root {
  /* Palette from the CarJogja mark: petrol #123B4F + sunset orange #F26B21 */
  --cj-petrol: #123b4f;
  --cj-petrol-dark: #0b2836;
  --cj-petrol-ui: #16495f;
  --cj-petrol-deep: #081c26;
  --cj-petrol-soft: #e7f0f3;
  --cj-petrol-tint: #f2f8fa;
  --cj-orange: #f26b21;
  --cj-orange-dark: #b4470c;
  --cj-orange-soft: #fdebe0;
  --cj-cream: #fdf8f1;
  --cj-sand: #f3e7d7;
  --cj-ink: #14232b;
  --cj-ink-soft: #243640;
  --cj-muted: #5c6b72;
  --cj-paper: #ffffff;
  --cj-line: #e6ded2;
  --cj-max: 1240px;
  --cj-gap: 28px;
  --cj-radius: 12px;
  --cj-radius-lg: 16px;
  --cj-shadow: 0 12px 30px rgba(18, 59, 79, 0.08);
  --cj-shadow-hover: 0 16px 38px rgba(18, 59, 79, 0.14);
  --cj-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --cj-font-head: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;
}

/* ==========================================================================
   3. Astra base overrides
   ========================================================================== */
body,
body.ast-separate-container,
body.ast-plain-container {
  font-family: var(--cj-font-body);
  color: var(--cj-ink-soft);
  background: var(--cj-paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title {
  font-family: var(--cj-font-head);
  color: var(--cj-ink);
  letter-spacing: -0.02em;
}

a {
  color: var(--cj-orange-dark);
}

a:hover,
a:focus {
  color: var(--cj-orange-dark);
}

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

.cj-template.ast-separate-container .site-content,
.cj-template .site-content {
  background: var(--cj-paper) !important;
  padding: 0 !important;
}

.cj-template #content > .ast-container {
  max-width: none !important;
  padding: 0 !important;
}

.cj-template #primary,
.cj-template.ast-right-sidebar #primary,
.cj-template.ast-left-sidebar #primary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block;
}

.cj-template .ast-container {
  padding-inline: 0;
}

.cj-content-area {
  display: block;
  width: 100%;
}

.cj-wrap {
  width: 100%;
  max-width: var(--cj-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.cj-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--cj-petrol-soft);
  color: var(--cj-petrol-deep);
}

/* ==========================================================================
   4. Header (Astra)
   ========================================================================== */
.cj-template .site-header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 253, 248, 0.97);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--cj-line);
  box-shadow: none;
}

.site-header .ast-primary-header-bar,
.site-header .main-header-bar {
  background: transparent !important;
  border-bottom: 0;
}

.site-header .ast-container,
.site-header .ast-builder-grid-row-container {
  max-width: var(--cj-max);
}

.site-header .ast-builder-grid-row {
  min-height: 76px;
  align-items: center;
}

.custom-logo,
.site-header .custom-logo {
  height: 40px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}

.main-header-menu {
  gap: 2px;
}

.main-header-menu > li > .menu-link,
.main-header-menu > li > a {
  font-family: var(--cj-font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cj-ink) !important;
  padding: 9px 12px !important;
  border-radius: 10px;
  line-height: 1.2 !important;
  transition: color 0.16s ease, background 0.16s ease;
}

.main-header-menu > li > .menu-link:hover,
.main-header-menu > li > a:hover,
.main-header-menu > li.current-menu-item > .menu-link,
.main-header-menu > li.current-menu-item > a,
.main-header-menu > li.current-menu-ancestor > .menu-link {
  background: var(--cj-petrol-tint) !important;
  color: var(--cj-petrol-dark) !important;
}

.main-header-menu .sub-menu {
  border: 1px solid var(--cj-line) !important;
  border-radius: 8px;
  box-shadow: var(--cj-shadow);
  padding: 8px;
  background: #fff;
}

.main-header-menu .sub-menu .menu-link {
  border-radius: 10px;
  font-size: 12px !important;
  text-transform: none;
  letter-spacing: 0;
}

.main-header-menu .sub-menu .menu-link:hover {
  background: var(--cj-petrol-tint);
}

.main-header-menu-toggle,
.main-header-menu-toggle .mobile-menu-toggle-icon,
.main-header-menu-toggle svg {
  color: var(--cj-ink) !important;
  fill: var(--cj-ink) !important;
}

.main-header-menu-toggle:hover,
.main-header-menu-toggle:hover svg {
  color: var(--cj-petrol) !important;
  fill: var(--cj-petrol) !important;
}

/* Header layout: logo + single-line menu + search */
.cj-template .site-header .ast-builder-grid-row,
.site-header .ast-builder-grid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header .site-branding {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}


.site-header .ast-site-title-wrap {
  display: block;
}

.site-header .site-title {
  margin: 0;
  font-family: var(--cj-font-head);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cj-ink);
}

.site-header .site-title a {
  color: inherit;
  text-decoration: none;
}

.site-header .site-title a::after {
  content: ".";
  color: var(--cj-orange);
}

.main-header-menu {
  margin-left: auto !important;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
}

.main-header-menu > li {
  flex: 0 0 auto;
}

.cj-menu-search {
  display: flex;
  align-items: center;
  margin-left: 10px;
  flex: 0 0 auto;
}

.cj-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 3px 3px 3px 10px;
  background: var(--cj-cream);
  border: 1px solid var(--cj-line);
  border-radius: 10px;
}

.cj-search:focus-within {
  outline: 2px solid var(--cj-petrol);
  outline-offset: 2px;
}

.cj-search input {
  width: 124px;
  border: 0;
  background: transparent;
  font-family: var(--cj-font-body);
  font-size: 12px;
  color: var(--cj-ink);
  outline: none;
}

.cj-search input::placeholder {
  color: var(--cj-muted);
}

.cj-search button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--cj-petrol-ui);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.cj-search button:hover {
  background: var(--cj-petrol-dark);
}

/* Dropdown indicator */
.main-header-menu .menu-item-has-children > a::after {
  content: "\25BE";
  font-size: 9px;
  margin-left: 5px;
  opacity: 0.6;
}

@media (max-width: 1180px) {
  .site-header .ast-builder-grid-row {
    gap: 16px;
  }

  .main-header-menu > li > a {
    font-size: 11px !important;
    padding: 8px 8px !important;
  }

  .cj-search {
    height: 34px;
  }

  .cj-search input {
    width: 96px;
  }

  .cj-search button {
    width: 28px;
    height: 28px;
  }
}

/* One search only: hide Astra's duplicate search menu item */
.site-header .search-custom-menu-item,
.site-header .ast-masthead-custom-menu-items.search-custom-menu-item {
  display: none !important;
}

/* True vertical centering in the header bar */
.site-header .ast-primary-header-bar {
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .ast-builder-grid-row {
  height: 76px;
  min-height: 76px;
  align-items: center;
}

.site-header .site-branding {
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-header .custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header .custom-logo {
  display: block;
  margin: 0;
}

.site-header .ast-builder-menu-1 {
  height: 76px;
  display: flex;
  align-items: center;
}

.site-header .main-header-bar-navigation,
.site-header .ast-main-header-bar-alignment,
.site-header .main-navigation {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .main-header-menu {
  height: 100%;
  align-items: center;
}

.site-header .main-header-menu > li {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .main-header-menu > li > a {
  display: flex;
  align-items: center;
}

.site-header .cj-menu-search {
  height: 100%;
  align-items: center;
}

/* Mobile header centering */
#ast-mobile-header .ast-builder-grid-row {
  height: 76px;
  min-height: 76px;
  align-items: center;
}

#ast-mobile-header .site-branding {
  height: 100%;
  display: flex;
  align-items: center;
}

#ast-mobile-header .custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

/* ==========================================================================
   5. Top bar
   ========================================================================== */
.cj-topbar {
  background: var(--cj-petrol);
  color: #f7efe3;
  border-bottom: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cj-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  padding-block: 6px;
}

.cj-topbar__tagline {
  color: #e9dccb;
  letter-spacing: 0.02em;
  text-align: center;
}

.cj-topbar a {
  color: #f7efe3;
  text-decoration: none;
}

.cj-topbar a:hover,
.cj-topbar a:focus-visible {
  color: var(--cj-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cj-topbar__links {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.cj-hero {
  background: linear-gradient(
    180deg,
    var(--cj-petrol-tint) 0%,
    var(--cj-sand) 55%,
    var(--cj-paper) 100%
  );
  padding: 30px 0 34px;
}

.cj-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.cj-hero__lead {
  display: flex;
  flex-direction: column;
  background: var(--cj-petrol);
  border: 0;
  border-radius: var(--cj-radius-lg);
  overflow: hidden;
  box-shadow: var(--cj-shadow);
}

.cj-hero__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cj-petrol);
  border-radius: 0;
  box-shadow: none;
}

.cj-hero__media .cj-pic,
.cj-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cj-hero__lead:hover .cj-hero__media img {
  transform: scale(1.03);
}

.cj-hero__body {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 20px 22px 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cj-hero__title {
  margin: 10px 0 10px;
  font-family: var(--cj-font-head);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cj-hero__title a {
  color: #fff;
  text-decoration: none;
}

.cj-hero__title a:hover {
  color: var(--cj-orange);
}

.cj-hero__excerpt {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #d4e0e5;
  max-width: 62ch;
}

.cj-hero__side {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
  background: var(--cj-cream);
  border: 1px solid var(--cj-line);
  border-radius: var(--cj-radius-lg);
  box-shadow: var(--cj-shadow);
  min-width: 0;
}

.cj-hero__side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cj-ink);
}

.cj-hero__side-label {
  font-family: var(--cj-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cj-ink);
}

.cj-hero__side-more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cj-petrol-dark);
  text-decoration: none;
}

.cj-hero__side-more:hover {
  color: var(--cj-orange-dark);
}

.cj-hero__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.cj-hero__list li {
  display: flex;
  flex: 1;
  border-bottom: 1px solid var(--cj-line);
}

.cj-hero__list li:last-child {
  border-bottom: 0;
}

.cj-hero__item {
  flex: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-block: 10px;
  text-decoration: none;
}

.cj-hero__rank {
  font-family: var(--cj-font-head);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cj-orange-dark);
}

.cj-hero__item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cj-hero__item-title {
  font-family: var(--cj-font-head);
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--cj-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cj-hero__item:hover .cj-hero__item-title {
  color: var(--cj-orange-dark);
}

.cj-hero__item-date {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cj-muted);
}

/* ==========================================================================
   7. Category index strip
   ========================================================================== */
.cj-index {
  background: var(--cj-paper);
  border-bottom: 1px solid var(--cj-line);
}

.cj-index__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 13px;
  min-width: 0;
}

.cj-index__label {
  flex: 0 0 auto;
  font-family: var(--cj-font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cj-orange-dark);
}

.cj-index__list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.cj-index__list::-webkit-scrollbar {
  display: none;
}

.cj-index__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cj-ink);
  text-decoration: none;
  white-space: nowrap;
}

.cj-index__list a:hover {
  color: var(--cj-orange-dark);
}

.cj-index__list span {
  font-family: var(--cj-font-head);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cj-orange-dark);
}

/* ==========================================================================
   8. Home layout + section headings
   ========================================================================== */
.cj-home {
  padding-block: 34px 56px;
}

.cj-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.cj-home__main {
  counter-reset: none;
}

.cj-sec {
  margin-bottom: 40px;
}

.cj-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cj-line);
}

.cj-sec__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--cj-font-head);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cj-ink);
}

.cj-sec__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cj-orange);
  flex: 0 0 auto;
}


.cj-sec__more {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cj-orange-dark);
  text-decoration: none;
}

.cj-sec__more:hover {
  color: var(--cj-petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   9. Cards
   ========================================================================== */
.cj-grid {
  display: grid;
  gap: 30px 22px;
}

.cj-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cj-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cj-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cj-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cj-card__mediawrap {
  position: relative;
}

.cj-card__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--cj-radius);
  background: var(--cj-cream);
}

.cj-card__media img,
.cj-card__media .cj-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cj-card:hover .cj-card__media img {
  transform: scale(1.04);
}

.cj-card__cat {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--cj-orange-dark);
  color: #fff;
  font-family: var(--cj-font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cj-hero__media .cj-card__cat {
  top: 14px;
  left: 14px;
  font-size: 10px;
  padding: 5px 10px;
}

.cj-card__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
}

.cj-card__title {
  margin: 0;
  font-family: var(--cj-font-head);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.cj-card__title a {
  color: var(--cj-ink);
  text-decoration: none;
}

.cj-card__title a:hover,
.cj-card__title a:focus-visible {
  color: var(--cj-orange-dark);
}

.cj-card__excerpt {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--cj-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cj-card--wide {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.cj-card--wide .cj-card__media {
  aspect-ratio: 4 / 3;
}

.cj-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cj-muted);
}

.cj-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cj-petrol-ui);
  opacity: 0.8;
}

.cj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--cj-orange-dark);
  color: #fff;
  font-family: var(--cj-font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}

.cj-kicker:hover {
  background: var(--cj-petrol);
  color: #fff;
}

/* Typographic placeholder covers */
.cj-cover {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, #081c26 0%, #123b4f 58%, #3a2a1e 100%);
}

.cj-cover--v0 {
  background: linear-gradient(145deg, #081c26 0%, #123b4f 58%, #081c26 100%);
}

.cj-cover--v1 {
  background: linear-gradient(160deg, #0e3342 0%, #16495f 55%, #081c26 100%);
}

.cj-cover--v2 {
  background: linear-gradient(135deg, #123b4f 0%, #b4470c 60%, #081c26 100%);
}

.cj-cover--v3 {
  background: linear-gradient(150deg, #081c26 0%, #3a2a1e 72%, #081c26 100%);
}

.cj-cover::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  right: -8%;
  bottom: -14%;
  border-radius: 50%;
  background: rgba(242, 107, 33, 0.35);
}

.cj-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.06) 0 1px,
    transparent 1px 24px
  );
}

.cj-cover__cat {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--cj-petrol-ui);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cj-cover__mark {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: -16px;
  font-family: var(--cj-font-head);
  font-size: 108px;
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.26);
  text-transform: uppercase;
}

.cj-cover--hero .cj-cover__mark {
  font-size: 210px;
  bottom: -40px;
  right: 24px;
  -webkit-text-stroke: 3px rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   10. Sidebar
   ========================================================================== */
.cj-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 96px;
}

.cj-widget {
  background: #fff;
  border: 1px solid var(--cj-line);
  border-radius: var(--cj-radius-lg);
  padding: 18px 20px;
  box-shadow: var(--cj-shadow);
}

.cj-widget__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cj-ink);
  font-family: var(--cj-font-head);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cj-ink);
}

.cj-pop {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sbpop;
}

.cj-pop li {
  counter-increment: sbpop;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cj-line);
}

.cj-pop li:first-child {
  padding-top: 0;
}

.cj-pop li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cj-pop li::before {
  content: counter(sbpop, decimal-leading-zero);
  font-family: var(--cj-font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--cj-petrol-dark);
  line-height: 1.4;
}

.cj-pop a {
  font-family: var(--cj-font-head);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cj-ink);
  text-decoration: none;
}

.cj-pop a:hover {
  color: var(--cj-orange-dark);
}

.cj-pop__meta {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cj-muted);
}

.cj-cats {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cj-cats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cj-line);
}

.cj-cats li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cj-cats a {
  font-family: var(--cj-font-head);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--cj-ink);
  text-decoration: none;
}

.cj-cats a:hover {
  color: var(--cj-orange-dark);
}

.cj-cats span {
  font-size: 11px;
  font-weight: 600;
  color: var(--cj-orange-dark);
}

.cj-widget--dark {
  background: linear-gradient(160deg, #123b4f 0%, #081c26 100%);
  border-color: transparent;
  color: #d8d9de;
}

.cj-widget--dark .cj-widget__title {
  color: #fff;
  border-bottom-color: var(--cj-petrol-dark);
}

.cj-widget--dark p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #b9bbc2;
}

.cj-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 6px;
  background: var(--cj-orange-dark);
  color: #fff !important;
  font-family: var(--cj-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.cj-btn:hover {
  background: var(--cj-petrol);
  color: #fff !important;
}

/* ==========================================================================
   11. Archive
   ========================================================================== */
.cj-archive {
  padding-block: 34px 56px;
}

.cj-archive__head {
  padding: 24px 26px;
  margin-bottom: 26px;
  border-radius: var(--cj-radius-lg);
  background: linear-gradient(135deg, var(--cj-petrol-tint) 0%, var(--cj-sand) 70%, #fff 100%);
  border: 1px solid var(--cj-line);
  border-left: 4px solid var(--cj-orange);
}

.cj-archive__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--cj-orange-dark);
  color: #fff;
  font-family: var(--cj-font-head);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cj-archive__title {
  margin: 0;
  font-family: var(--cj-font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cj-archive__desc {
  max-width: 70ch;
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cj-muted);
}

.cj-archive__desc p {
  margin: 0;
}

.cj-archive__count {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cj-orange-dark);
}

.cj-archive .cj-grid {
  row-gap: 34px;
}

.cj-pagination {
  margin-top: 40px;
}

.cj-pagination .page-numbers,
.cj-pagination a.page-numbers,
.cj-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  margin-right: 6px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  font-family: var(--cj-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cj-ink);
  text-decoration: none;
  background: #fff;
}

.cj-pagination .page-numbers:hover {
  border-color: var(--cj-petrol-dark);
  color: var(--cj-petrol-dark);
  background: var(--cj-petrol-tint);
}

.cj-pagination .page-numbers.current {
  background: var(--cj-petrol-ui);
  border-color: var(--cj-petrol-dark);
  color: #fff;
}

.cj-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ==========================================================================
   12. Single article
   ========================================================================== */
.cj-single {
  padding-block: 30px 56px;
}

.cj-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.cj-single__grid--full {
  grid-template-columns: minmax(0, 1fr);
}

.cj-article {
  min-width: 0;
}

.cj-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cj-muted);
}

.cj-breadcrumb a {
  color: var(--cj-muted);
  text-decoration: none;
}

.cj-breadcrumb a:hover {
  color: var(--cj-orange-dark);
}

.cj-article__title {
  margin: 12px 0 0;
  font-family: var(--cj-font-head);
  font-size: clamp(1.85rem, 3.1vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cj-ink);
}

.cj-article__deck {
  margin: 16px 0 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--cj-muted);
  max-width: 72ch;
}

.cj-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--cj-line);
  border-bottom: 1px solid var(--cj-line);
}

.cj-byline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cj-byline__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cj-petrol-soft);
  flex: 0 0 auto;
}

.cj-byline__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cj-byline__name {
  display: block;
  font-family: var(--cj-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cj-ink);
}

.cj-byline__role {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--cj-muted);
}

.cj-article__figure {
  margin: 26px 0 30px;
}

.cj-article__figure img,
.cj-article__figure .cj-pic {
  width: 100%;
  border-radius: var(--cj-radius-lg);
  display: block;
}

.cj-article__figure img {
  max-height: 560px;
  object-fit: cover;
}

.cj-article__caption {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cj-muted);
}

.cj-content {
  max-width: 45rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2a2c32;
}

.cj-content > * + * {
  margin-top: 1.35em;
}

.cj-content p {
  margin: 0;
}

.cj-content p + p {
  margin-top: 1.35em;
}

.cj-content h2 {
  font-family: var(--cj-font-head);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-top: 2em;
}

.cj-content h3 {
  font-family: var(--cj-font-head);
  font-size: 1.22rem;
  line-height: 1.3;
  margin-top: 1.7em;
}

.cj-content h4 {
  font-family: var(--cj-font-head);
  font-size: 1.06rem;
  margin-top: 1.5em;
}

.cj-content a {
  color: var(--cj-petrol-dark);
  text-decoration: underline;
  text-decoration-color: rgba(242, 107, 33, 0.35);
  text-underline-offset: 3px;
}

.cj-content a:hover {
  color: var(--cj-petrol-dark);
  text-decoration-color: var(--cj-petrol-dark);
}

.cj-content blockquote {
  margin: 1.8em 0;
  padding: 10px 0 10px 22px;
  border-left: 4px solid var(--cj-petrol);
  background: var(--cj-petrol-tint);
  border-radius: 0 8px 8px 0;
  font-family: var(--cj-font-head);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--cj-ink);
}

.cj-content blockquote p:last-child {
  margin-bottom: 0;
}

.cj-content ul,
.cj-content ol {
  padding-left: 1.4em;
}

.cj-content li + li {
  margin-top: 0.5em;
}

.cj-content img {
  border-radius: var(--cj-radius);
  height: auto;
}

.cj-content figure {
  margin: 1.8em 0;
}

.cj-content figcaption,
.cj-content .wp-caption-text {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cj-muted);
}

.cj-content iframe,
.cj-content video {
  max-width: 100%;
  border: 0;
}

.cj-content hr {
  margin: 2.2em auto;
  border: 0;
  border-top: 1px solid var(--cj-line);
}

.cj-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cj-content th,
.cj-content td {
  border: 1px solid var(--cj-line);
  padding: 9px 11px;
  text-align: left;
}

.cj-content th {
  background: var(--cj-cream);
  font-weight: 700;
}

.cj-article__foot {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--cj-line);
}

.cj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.cj-tags a {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--cj-muted);
  text-decoration: none;
}

.cj-tags a:hover {
  border-color: var(--cj-petrol-dark);
  color: var(--cj-petrol-dark);
  background: var(--cj-petrol-tint);
}

.cj-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.cj-share__label {
  font-family: var(--cj-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cj-ink);
  margin-right: 2px;
}

.cj-share a,
.cj-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--cj-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cj-ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.cj-share a:hover,
.cj-share button:hover {
  background: var(--cj-petrol-ui);
  border-color: var(--cj-petrol-dark);
  color: #fff;
}

.cj-author {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  margin-top: 30px;
  padding: 20px;
  background: var(--cj-cream);
  border: 1px solid var(--cj-line);
  border-left: 4px solid var(--cj-petrol);
  border-radius: var(--cj-radius);
}

.cj-author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.cj-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cj-author__name {
  margin: 0;
  font-family: var(--cj-font-head);
  font-size: 0.95rem;
  font-weight: 800;
}

.cj-author__bio {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--cj-muted);
}

.cj-related {
  margin-top: 40px;
}

.cj-article #comments,
.cj-article .comments-area {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--cj-line);
}

.cj-article #comments .comments-title,
.cj-article .comment-reply-title {
  font-family: var(--cj-font-head);
  font-size: 1.05rem;
  font-weight: 800;
}

.cj-article .comment-form input[type="text"],
.cj-article .comment-form input[type="email"],
.cj-article .comment-form input[type="url"],
.cj-article .comment-form textarea {
  border: 1px solid var(--cj-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--cj-font-body);
}

/* Static pages / 404 */
.cj-page {
  max-width: 800px;
  margin-inline: auto;
}

.cj-page .cj-article__title {
  margin-bottom: 22px;
}

.cj-404 {
  max-width: 640px;
  margin: 40px auto 20px;
}

.cj-404 .cj-archive__desc {
  margin-bottom: 22px;
}

.cj-404 .search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.cj-404 .search-field {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  font-family: var(--cj-font-body);
  font-size: 14px;
}

.cj-404 .search-submit {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--cj-petrol-ui);
  color: #fff;
  font-family: var(--cj-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.cj-404 .search-submit:hover {
  background: var(--cj-petrol-dark);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.cj-footer {
  margin-top: 24px;
  padding-top: 46px;
  background: var(--cj-petrol-deep);
  color: #efe4d4;
  border-top: 4px solid var(--cj-orange);
  border-radius: 0;
}

.cj-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 34px;
}

.cj-footer__logo {
  display: inline-block;
  font-family: var(--cj-font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
}

.cj-footer__logo::after {
  content: ".";
  color: var(--cj-orange);
}

.cj-footer__brand p {
  margin: 12px 0 0;
  max-width: 34ch;
  line-height: 1.7;
  color: #9a9da6;
}

.cj-footer__title {
  margin: 0 0 14px;
  font-family: var(--cj-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.cj-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cj-footer li + li {
  margin-top: 9px;
}

.cj-footer a {
  color: #d9cbb8;
  text-decoration: none;
}

.cj-footer a:hover,
.cj-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cj-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  color: #8c8f98;
}

.cj-footer__bar a {
  color: #e6e7eb;
}

.cj-footer__social {
  display: flex;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 10.5px;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cj-home__grid,
  .cj-single__grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 32px;
  }

  .cj-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cj-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 921px) {
  #ast-hf-mobile-menu > li > a {
    font-size: 15px !important;
    padding: 12px 0 !important;
  }

  #ast-hf-mobile-menu .sub-menu .menu-link {
    font-size: 14px !important;
    padding: 10px 0 !important;
  }

  .cj-menu-search {
    width: 100%;
    margin: 14px 0 0;
  }

  .cj-search {
    width: 100%;
  }

  .cj-search input {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 900px) {
  .cj-menu-search {
    width: 100%;
    margin: 14px 0 0;
  }

  .cj-search {
    width: 100%;
  }

  .cj-search input {
    flex: 1;
    width: auto;
  }

  .cj-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cj-hero__side {
    padding: 16px 18px;
  }

  .cj-home__grid,
  .cj-single__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cj-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .cj-grid--3,
  .cj-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cj-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 640px) {
  :root {
    --cj-gap: 20px;
  }

  .cj-wrap {
    padding-inline: 16px;
  }

  .cj-topbar__tagline {
    display: none;
  }

  .cj-hero {
    padding-top: 18px;
  }

  .cj-hero__body {
    padding: 18px 18px 20px;
  }

  .cj-hero__list li {
    flex: 0 0 auto;
  }

  .cj-grid--2,
  .cj-grid--3,
  .cj-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cj-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .cj-card--wide {
    grid-template-columns: 1fr;
  }

  .cj-article__meta {
    gap: 10px;
  }

  .cj-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .cj-archive__head {
    padding: 20px;
  }

  .cj-archive__title {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   15. Accessibility / motion
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cj-petrol);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


.cj-hero .cj-meta {
  color: #c3d3d9;
}

.cj-hero .cj-meta__dot {
  background: var(--cj-orange);
}
