@import url('fonts/fonts.css');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --gold:         #ffd800;
  --gold-dark:    #c9aa00;
  --gold-faint:   #fff9d6;
  --bg:           #faf9f6;
  --surface:      #ffffff;
  --text:         #1a1715;
  --text-muted:   #6b635a;
  --text-light:   #9c9088;
  --border:       #e8e3da;
  --dark:         #1a1715;
  --dark-2:       #2c2825;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --shadow-sm:    0 1px 4px rgba(26,23,21,.07);
  --shadow-md:    0 4px 18px rgba(26,23,21,.11);
  --shadow-lg:    0 10px 36px rgba(26,23,21,.14);
  --radius:       6px;
  --radius-lg:    12px;
  --ease:         0.24s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   BASE
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ============================================================
   LAYOUT SHELL
   ============================================================ */
.container-fluid { padding: 0; }
main { min-height: 60vh; }
.inner-wrapper { padding: 3rem 0 4rem; }
.container { max-width: 1200px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.mainMenuWrapper {
  background: var(--surface);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(26,23,21,.06);
}
.mainMenuWrapper .container { max-width: 1200px; }
.mainMenuWrapper .row { margin: 0; }

.logo-wrapper { display: flex; align-items: center; flex-shrink: 0; }
.logo-wrapper .logo { height: 44px; width: auto; }

.navbar { padding: .65rem 0; }
.navbar-nav { gap: .15rem; margin-left: auto !important; }

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text) !important;
  padding: .5rem 1rem !important;
  position: relative;
  transition: color var(--ease);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
  border: 1.5px solid var(--border);
  padding: .35rem .55rem;
  border-radius: var(--radius);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a1715' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-wrapper {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
  font-size: .78rem;
  color: var(--text-muted);
}
.breadcrumb-wrapper .container { max-width: 1200px; }
.breadcrumb-wrapper a { color: var(--text-muted); transition: color var(--ease); }
.breadcrumb-wrapper a:hover { color: var(--text); }

/* Base breadcrumb partial override */
.container .row .col-lg-12 > div[id],
.breadcrumb-inner { color: var(--text-muted); font-size: .78rem; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.home-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(255,216,0,.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(255,216,0,.07) 0%, transparent 55%);
  pointer-events: none;
}
.home-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.home-hero__content { flex: 1; }

.home-hero__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  max-width: 680px;
  margin: 0 0 1.25rem;
  letter-spacing: -.01em;
}
.home-hero__title em { font-style: italic; color: var(--gold-dark); }
.home-hero__body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin: 0;
}
.home-hero__deco {
  font-family: var(--font-display);
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 900;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,216,0,.22);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
  margin-right: 1rem;
}
@media (max-width: 767px) { .home-hero__deco { display: none; } }

/* ============================================================
   HOME — CATEGORY SECTIONS
   ============================================================ */
.home-categories { padding-top: .25rem; }
.category-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.category-section:last-child { border-bottom: none; }
.category-section:nth-child(even) { background: var(--surface); }

.cat-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.cat-section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 .3rem;
  position: relative;
  display: inline-block;
}
.cat-section-head h2::after {
  content: '';
  display: block;
  height: 3px;
  width: 2.5rem;
  background: var(--gold);
  margin-top: .4rem;
  border-radius: 2px;
}
.cat-section-head p {
  color: var(--text-muted);
  font-size: .9rem;
  margin: .65rem 0 0;
  max-width: 440px;
  line-height: 1.65;
}
.cat-section-view-all {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  margin-top: .25rem;
  transition: color var(--ease), border-color var(--ease);
  flex-shrink: 0;
}
.cat-section-view-all:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.article-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
  height: 100%;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-card__img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--border);
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(0.4,0,0.2,1);
}
.article-card:hover .article-card__img img { transform: scale(1.06); }
.article-card__body { padding: 1.2rem 1.35rem 1.5rem; }
.article-card__date {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .45rem;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 .55rem;
  transition: color var(--ease);
}
.article-card:hover .article-card__title { color: var(--gold-dark); }
.article-card__excerpt {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card--no-img .article-card__body {
  padding-top: 1.6rem;
  border-top: 3px solid var(--gold);
}

.article-list { width: 100%; }
.article-list .row { row-gap: 1.75rem; }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.cat-page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}
.cat-page-header h1 { margin: 0 0 .6rem; }
.cat-page-header h1::after {
  content: '';
  display: block;
  height: 3px;
  width: 3rem;
  background: var(--gold);
  margin-top: .5rem;
  border-radius: 2px;
}
.cat-page-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: .75rem 0 0;
}
.cat-page-body { padding: 3rem 0 4rem; }

/* ============================================================
   ARTICLE (SINGLE) PAGE
   ============================================================ */
.article-page { padding: 2.5rem 0 4rem; }
.article-page h1 { margin: 0 0 1.25rem; line-height: 1.2; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.article-meta .date {
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.article-meta .modified-date {
  font-size: .76rem;
  color: var(--text-light);
  font-style: italic;
}
.article-image-wrap {
  margin-bottom: 2.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.article-content h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.article-content h3 { margin-top: 2rem; font-size: 1.25rem; }
.article-content ul,
.article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: .4rem; }
.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.article-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: color var(--ease);
}
.article-content a:hover { color: var(--gold-dark); }
.article-content img { border-radius: var(--radius); margin: 1rem 0; }

.related-articles-section {
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.related-heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 2rem;
  display: inline-block;
}
.related-heading::after {
  content: '';
  display: block;
  height: 3px;
  width: 2rem;
  background: var(--gold);
  margin-top: .35rem;
  border-radius: 2px;
}

/* ============================================================
   PAGE (generic)
   ============================================================ */
.page-content { font-size: 1.05rem; line-height: 1.8; }
.page-content h1 { margin-bottom: 1.5rem; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { padding-left: 1.5rem; }
@media (max-width: 991px) {
  .sidebar {
    padding-left: 0;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
}
.sidebar-widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
  display: block;
}
.sidebar-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.sidebar-cats li a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .4rem;
  font-size: .88rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
}
.sidebar-cats li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  transition: transform var(--ease);
}
.sidebar-cats li a:hover { background: var(--gold-faint); color: var(--text); }
.sidebar-cats li a:hover::before { transform: scale(1.5); }

.sidebar-newsletter {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.sidebar-newsletter::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255,216,0,.1);
  pointer-events: none;
}
.sidebar-newsletter::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,216,0,.06);
  pointer-events: none;
}
.sidebar-newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 .5rem;
}
.sidebar-newsletter p {
  font-size: .84rem;
  color: rgba(255,255,255,.58);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  border: none;
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,216,0,.3);
  color: var(--dark);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { gap: .3rem; margin-top: 3rem; }
.page-link {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius) !important;
  padding: .45rem .85rem;
  background: var(--surface);
  transition: all var(--ease);
}
.page-link:hover,
.page-item.active .page-link {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  box-shadow: none;
}
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}
.site-footer .container { max-width: 1200px; }
.footer-brand .logo { height: 40px; filter: brightness(0) invert(1); opacity: .85; }
.footer-slogan {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin: .65rem 0 0;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 3rem;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: rgba(255,255,255,.3);
  font-size: .78rem;
  transition: color var(--ease);
}
.footer-legal a:hover { color: rgba(255,255,255,.65); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .45s ease both; }
.fade-up-1 { animation-delay: .06s; }
.fade-up-2 { animation-delay: .13s; }
.fade-up-3 { animation-delay: .2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .inner-wrapper    { padding: 2rem 0 3rem; }
  .home-hero        { padding: 2.5rem 0; }
  .category-section { padding: 2.5rem 0; }
  .cat-page-header  { padding: 2rem 0 1.75rem; }
  .cat-page-body    { padding: 2rem 0 3rem; }
  .article-page     { padding: 2rem 0 3rem; }
}
@media (max-width: 575px) {
  .article-list .row { row-gap: 1.25rem; }
}
