/* ============================================================
   I AM ARTIST — Redesign chrome (paired with the reusable
   header/footer components: include/header-new.php +
   include/footer-new.php).

   Load this AFTER main.css on any page that uses the new
   components. It styles ONLY the new component markup
   (.rdc-* classes) plus the JS-required .page_header hooks,
   so it never affects pages still on the old includes.

   Palette : green #1D7A46 (hover #145C34), deep green #06301B,
             footer #0B1F14, cream #F5F1E8, orange #E28413.
   Fonts   : Playfair Display (display), Inter (UI).
   ============================================================ */

/* ---------- TOP BAR (email + phone, desktop only) ---------- */
.rdc-topbar {
  background: #06301B;
  color: #fff;
  padding: 8px 0;
  line-height: 1.4;
}

.rdc-topbar .rdc-topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.rdc-topbar a {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 180ms ease-out;
}

.rdc-topbar a:hover {
  color: #CBB68B;
}

.rdc-topbar i {
  font-size: 13px;
  opacity: .9;
}

/* hide the whole bar on tablet + mobile */
@media (max-width: 1199px) {
  .rdc-topbar {
    display: none !important;
  }
}

/* ---------- HEADER ---------- */
.page_header.rdc-header {
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.page_header.rdc-header .logo img {
  max-height: 52px;
}

.rdc-header .top-nav .sf-menu>li>a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #171717;
  text-transform: none;
  letter-spacing: 0;
}

@media (min-width:1200px) {

  .rdc-header .top-nav .sf-menu>li>a {
    position: relative;
    color: #171717;
    transition: color .25s ease;
  }

  .rdc-header .top-nav .sf-menu>li>a:hover,
  .rdc-header .top-nav .sf-menu>li.active>a {
    color: #1D7A46;
  }

  /* Active underline */
  .rdc-header .top-nav .sf-menu>li.active>a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 35px;
    /* Move this value up/down if needed */
    width: 35px;
    height: 2px;
    background: #1D7A46;
    border-radius: 2px;
  }
}

/* Unlock Magazine pill button */
.rdc-header .rdc-header-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.rdc-unlock-btn {
  display: inline-block;
  background: #1D7A46;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease-out;
}

.rdc-unlock-btn:hover {
  background: #145C34;
  color: #fff !important;
}

/* Hide the CTA on the Magazine page — desktop only.
   (On the magazine page the button would just reload the same page;
   on tablet/mobile it lives in the collapsed menu, so keep it there.) */
@media (min-width: 1200px) {
  body.page-magazine .rdc-header .rdc-header-cta {
    display: none !important;
  }
}

/* ---------- MOBILE NAV OVERLAY (cream panel, green active) ----
   Keeps the existing .toggle_menu / .mobile-active JS intact. */

/* Hidden on desktop */
.rdc-mobile-unlock {
  display: none;
}


@media (max-width: 1199px) {

  /* Hide header Unlock button */
  .rdc-header .rdc-header-cta {
    display: none !important;
  }

  .rdc-header.mobile-active .top-nav {
    background-color: rgba(6, 48, 27, .55);
  }

  .rdc-header .sf-menu {
    background-color: #F5F1E8;
    border-top: 0;
    border-bottom: 0;
    padding: 90px 28px 30px;
    text-align: left;
    transition: all 250ms ease-out;
  }

  .rdc-header .top-nav .sf-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    color: #171717;
    text-transform: none;
    padding: 12px 4px;
  }

  .rdc-header .top-nav .sf-menu li.active a {
    color: #1D7A46;
  }

  .rdc-header .toggle_menu {
    border-radius: 50%;
  }

  /* Show Unlock Magazine inside mobile menu */
  .rdc-mobile-unlock {
    display: block;
  }

  .rdc-mobile-unlock a {
    display: block;
    margin-top: 18px;
    padding: 14px 20px !important;
    background: #1D7A46;
    color: #fff !important;
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
  }

  .rdc-mobile-unlock a:hover {
    background: #145C34;
    color: #fff !important;
  }
}

/* ---------- FOOTER ---------- */
.rdc-footer {
  background: #0B1F14;
  color: #CBD3CC;
  padding: 72px 0 0;
}

.rdc-footer .rdc-foot-logo img {
  max-height: 60px;
  margin-bottom: 22px;
}

.rdc-footer p {
  color: #CBD3CC;
  line-height: 1.7;
  font-size: 15px;
}

.rdc-footer h4 {
  color: #E28413;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
}

.rdc-footer h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: #1D7A46;
}

.rdc-footer .rdc-foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rdc-footer .rdc-foot-links li {
  margin-bottom: 12px;
}

.rdc-footer .rdc-foot-links a {
  color: #CBD3CC;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: color 180ms ease-out, padding-left 180ms ease-out;
}

.rdc-footer .rdc-foot-links a:hover {
  color: #1D7A46;
  padding-left: 6px;
}

.rdc-footer .rdc-foot-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}

.rdc-footer .rdc-foot-contact i {
  color: #1D7A46;
  margin-right: 12px;
  width: 16px;
}

.rdc-footer .rdc-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 16px;
  margin: 0 8px 8px 0;
  text-decoration: none;
  transition: all 200ms ease-out;
}

.rdc-footer .rdc-social a:hover {
  transform: translateY(-3px);
  color: #1D7A46;
  border-color: #1D7A46;
  box-shadow: 0 4px 15px rgba(29, 122, 70, .3);
}

.rdc-copyright {
  background: #071710;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
  margin-top: 56px;
}

.rdc-copyright p {
  color: #8FA096;
  margin: 0;
  font-size: 12px;
}

.rdc-copyright a {
  color: #1D7A46;
  text-decoration: none;
}

.rdc-copyright a:hover {
  color: #2A9E5C;
}

@media (max-width: 768px) {
  .rdc-footer {
    padding-top: 48px;
    text-align: center;
  }

  .rdc-footer h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .rdc-footer .rdc-foot-contact p,
  .rdc-footer .rdc-social {
    justify-content: center;
  }

  .rdc-copyright {
    text-align: center;
  }
}


/* ===== Compact Header ===== */

.page_header.rdc-header .row {
  min-height: 64px !important;
}

.page_header.rdc-header a.logo {
  height: auto !important;
  display: flex;
  align-items: center;
}

.page_header.rdc-header .logo img {
  max-height: 42px !important;
}

.page_header.rdc-header .container-fluid {
  padding-top: 0;
  padding-bottom: 0;
}

.rdc-unlock-btn {
  padding: 10px 20px;
}


/* ===========================
   Compact Header - Desktop
   =========================== */
@media (min-width: 1200px) {

  /* Reduce overall header height */
  .page_header.rdc-header .row {
    min-height: 100px !important;
  }

  /* Reduce logo size */
  .page_header.rdc-header .logo img {
    max-height: 44px !important;
  }

  /* Desktop navigation */
  .rdc-header .top-nav .sf-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
  }

  .rdc-header .top-nav .sf-menu>li>a {
    line-height: 100px !important;
    padding: 0 !important;
  }

  /* Slightly smaller button */
  .rdc-unlock-btn {
    padding: 10px 22px;
    font-size: 13px;
  }
}

/* Hide only on Desktop */
@media (min-width: 1200px) {
  .rdc-mobile-unlock {
    display: none !important;
  }
}

/* Show on Mobile/Tablet */
@media (max-width: 1199px) {
  .rdc-mobile-unlock {
    display: block !important;
  }
}