/* =========================
   Base / global
   ========================= */
@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/gotham/Gotham Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --wrc-bg: #f7f1e6;
  --wrc-panel: #ffffff;
  --wrc-ink: #2f2822;
  --wrc-muted: #6f6459;
  --wrc-accent: #b57b3c;
  --wrc-accent-dark: #f3e2d0;
  --wrc-border: #d7c9b0;
  --wrc-error: #b13b30;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
font-family: 'Gotham', system-ui, -apple-system, BlinkMacSystemFont,
  "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fdf8ef, var(--wrc-bg));
  color: var(--wrc-ink);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* =========================
   Header / nav
   ========================= */

.site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #111111e8;
}

.site-brand-logo {
  height: 155px;
  width: auto;
  display: none;
}

.site-brand-text {
  display: inline-flex;
  flex-direction: column;
  font-family: 'Gotham', system-ui, -apple-system, BlinkMacSystemFont,
  "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--wrc-ink);
  font-size: 0.72rem;
}

.site-brand-line-2 {
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.2em;
}

/* =========================
   Desktop + mobile nav links
   ========================= */

/* even spacing between items on desktop */
.site-nav-list .nav-item {
  margin: 0 0.55rem;
}

.site-nav-link {
  font-family: 'Gotham', system-ui, -apple-system, BlinkMacSystemFont,
  "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: #ffffff;
  text-shadow: none !important;

  position: relative;
  display: inline-block;
  padding: 0;                 /* no left/right padding */
  margin-left: 1.5rem;
  line-height: 1.2;

  /* no underline by default */
  text-decoration: none;
}

/* mobile offcanvas spacing */
.site-offcanvas-list .site-nav-link {
  margin-left: 0;
  padding: 0.65rem 0;
}

/* kill ANY old ::after underline */
.site-nav-link::after {
  content: none !important;
  background: none !important;
}

/* hover + focus: single custom underline */
.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: var(--wrc-accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;  /* distance below text */
}

/* active state (desktop + mobile) */
.site-nav-list .nav-item.active > .site-nav-link,
.site-offcanvas-list .nav-item.active > .site-nav-link {
  color: var(--wrc-accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}


/* =========================
   Front-end: News listing
   ========================= */

.section-news {
  padding: 6rem 0 6rem;
}

.section-news h1 {
 width: 920px;
 max-width: 100%;
 margin: 0 0 42px;
 color: #3d352d;
 font-size: clamp(1.6rem, 3vw, 2.3rem);
 font-weight: 600;
 line-height: 1.1;
 text-transform: capitalize;
 letter-spacing: -0.02em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
}

.news-card {
  background: var(--wrc-panel);
  border-radius: 10px;
  border: 1px solid var(--wrc-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

.news-card__image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}

.news-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card__image-wrap img {
  transform: scale(1.04);
}

.news-card__body {
  padding: 1.1rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.news-meta {
 font-size: 0.78rem;
    text-transform: capitalize;
    letter-spacing: 0.1rem;
    color: var(--wrc-muted);
}

.news-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--wrc-ink);
}

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

.news-title a:hover {
  color: var(--wrc-accent-dark);
}

.news-summary {
  font-size: 0.9rem;
  color: #4b433a;
  margin: 0;
  flex: 1;
}

.news-card__footer {
  padding: 0 1.3rem 1.3rem;
}

.btn-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 4px;
    border: 1px solid var(--wrc-accent-dark);
    background: #a97d51;
    color: #fff !important;
    font-size: 1.0rem;
    text-transform: uppercase;
    font-family: 'Gotham', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    font-weight: 700;
    text-transform: capitalize;
}

.btn-news:hover {
  background: var(--wrc-accent-dark);
  color: #222;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #a97d51;
}

/* Pagination */
.pager {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.pager a,
.pager span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--wrc-border);
  text-decoration: none;
  color: var(--wrc-ink);
}

.pager .is-current {
  background: var(--wrc-accent-dark);
  color: #fff;
  border-color: var(--wrc-accent-dark);
}
/* Default: let it stack / be flexible on small screens */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
}

/* Desktop: lock to 3 cards per row */
@media (min-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   Front-end: Single article
   ========================= */

.section-news-article {
  padding: 13rem 0 4rem;
}

.section-news-article h1 {
    width: 920px;
    max-width: 100%;
    margin: 0 0 42px;
    color: #3d352d;
    font-size: clamp(1.6rem, 3vw, 2.3rem) !important;
    font-weight: 600;
    line-height: 1.1;
    text-transform: capitalize;
    letter-spacing: -0.02em;
}

.news-hero {
  margin-bottom: 2rem;
}

.news-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--wrc-border);
}

.news-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #3a332b;
}

.news-files {
  margin-top: 2rem;
  padding: 1.25rem 1.3rem;
  background: #f4f1eb;
  border-radius: 8px;
  border: 1px solid var(--wrc-border);
  font-size: 1.1rem;
  color: #424143;
}

.news-nav {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-news-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 4px;
    border: 1px solid var(--wrc-accent-dark);
    background: #a97d51;
    color: #fff !important;
    font-size: 1.0rem;
    text-transform: uppercase;
    font-family: 'Gotham', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    font-weight: 700;
    text-transform: capitalize;
}

.btn-news-nav--primary {
  background: #a97d51;
  color: #fff;
  border-color: var(--wrc-accent-dark);
}
.btn-news-nav--primary:hover {
  background: var(--wrc-accent-dark);
  color: #222;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #a97d51;
}
/* =========================
   Front-end: Single article
   ========================= */

.section-news-article {
  padding: 13rem 0 4rem;
}

.section-news-article .container {
  max-width: 1320px;
}

.section-news-article h1 {
  width: 920px;
  max-width: 100%;
  margin: 0 0 42px;
  color: #3d352d;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: capitalize;
  letter-spacing: -0.02em;
}

.news-hero {
  margin-bottom: 2rem;
}

.news-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--wrc-border);
}
.section-news-article {
  padding: 13rem 0 4rem;
}

.news-article-wrap {
  max-width: 1480px;
  padding-left: 40px;
  padding-right: 40px;
}

.section-news-article h1,
.section-news-article .news-meta,
.section-news-article .news-body,
.section-news-article .news-files,
.section-news-article .news-nav {
  max-width: 920px;
}

.news-hero {
  margin-bottom: 2rem;
}

.news-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--wrc-border);
}

@media (max-width: 991.98px) {
  .news-article-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* =========================
   Admin styling (uses body.admin-body)
   ========================= */

body.admin-body {
  /* same background, but we keep admin layout under .admin-* classes */
}

.admin-main-inner {
  max-width: 1120px;
}

/* (Paste the .admin-* rules from earlier here if you want the
   full fancy admin layout; or keep them minimal.) */

/* Example: error message */
.admin-error {
  margin-bottom: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(177, 59, 48, 0.35);
  background-color: #fbe9e6;
  color: var(--wrc-error);
  font-size: 0.88rem;
}
/* =========================
   Header / nav styling
   ========================= */

/* Sticky header sits above offcanvas */
.site-header.sticky-top {
  z-index: 1030;
}

/* Desktop nav links */
.site-nav-link {
  font-family: 'Gotham', system-ui, -apple-system, BlinkMacSystemFont,
  "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #ffffff;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  position: relative;
}

.site-nav-link:hover,
.site-nav-link:focus {
  color: #f0d9a8;
}

.site-nav-list .nav-item.active > .site-nav-link {
  color: #f0d9a8;
}

.site-nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -0.15rem;
  height: 2px;
  background: #f0d9a8;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.site-nav-link:hover::after,
.site-nav-list .nav-item.active > .site-nav-link::after {
  transform: scaleX(1);
}
/* Mobile offcanvas nav panel */
.site-offcanvas-nav.offcanvas-end {
  width: 50vw;          /* about half the screen */
  max-width: 360px;
  background: #a97d51;  /* warm panel tone */
  border-left: none;
}

/* Mobile hamburger (3 bars ? 1 bar) */
.site-nav-toggle {
  border: none;
  background: transparent;
  padding: 0;
  width: 40px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1100; /* keep above offcanvas */
}

.site-nav-toggle .toggler-lines {
  position: relative;
  width: 38px;          /* wider bars */
  height: 2px;
  background: #ffffff;  /* center bar color */
  border-radius: 999px;
  transition: background 0.2s ease;
  z-index: 99999;       /* extra safety */
}

.site-nav-toggle .toggler-lines::before,
.site-nav-toggle .toggler-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 38px;          /* match width */
  height: 2px;
  background: #ffffff;  /* top/bottom bar color */
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* three-line default */
.site-nav-toggle .toggler-lines::before {
  transform: translateY(-6px);
}

.site-nav-toggle .toggler-lines::after {
  transform: translateY(6px);
}

/* open state ? one line (minus) */
.site-nav-toggle[aria-expanded="true"] .toggler-lines {
  background: #ffffff;  /* single “close” line stays white */
}

.site-nav-toggle[aria-expanded="true"] .toggler-lines::before,
.site-nav-toggle[aria-expanded="true"] .toggler-lines::after {
  transform: translateY(0);
  opacity: 0;
}

/* remove focus box/border on tap */
.site-nav-toggle:focus,
.site-nav-toggle:focus-visible {
  outline: none;
  box-shadow: none;
  border: none;
}
/* Smaller logo on phones */
@media (max-width: 767.98px) {
  .site-brand-logo {
    height: 95px;   /* adjust to taste */
    width: auto;
  }

  /* Optional: tighten spacing next to it */
  .site-brand-logo.me-2 {
    margin-right: .25rem;
  }
}
/* Mobile off-canvas menu: keep list on the left */
@media (max-width: 991.98px) {
  .site-offcanvas-list {
    margin-left: 0 !important;   /* override .ms-auto */
    align-items: flex-start;     /* make sure items hug the left */
  }

  .site-offcanvas-list .nav-item {
    text-align: left;
  }
}
@media (max-width: 991.98px) {
  #mobileNav .offcanvas-body {
    padding-left: 0.75rem;   /* or 0 for fully flush left */
    padding-right: 0.75rem;  /* keep it symmetric if you like */
  }
}

/* =========================
   Front-end: Single article
   ========================= */

.section-news-article {
  padding: 13rem 0 4rem;
}

.news-article-wrap {
  width: min(1520px, calc(100% - 80px));
  margin: 0 auto;
}

.section-news-article h1,
.section-news-article .news-meta,
.section-news-article .news-body,
.section-news-article .news-files,
.section-news-article .news-nav {
  max-width: 920px;
}

.section-news-article h1 {
  margin: 0 0 42px;
  color: #3d352d;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: capitalize;
  letter-spacing: -0.02em;
}

.news-hero {
  margin-bottom: 1.25rem;
}

.news-hero > a {
  display: block;
  width: 100%;
}

.news-hero img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--wrc-border);
}

.news-gallery-strip {
  display: flex;
  gap: 12px;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.news-gallery-thumb {
  display: block;
  flex: 0 0 180px;
  border-radius: 8px;
  overflow: hidden;
}

.news-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #3a332b;
}

@media (max-width: 991.98px) {
  .news-article-wrap {
    width: min(100%, calc(100% - 32px));
  }

  .news-hero img {
    height: auto;
    max-height: 560px;
  }
}

@media (max-width: 767.98px) {
  .news-gallery-thumb {
    flex: 0 0 140px;
  }
}