@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Nunito:wght@400;600;700&display=swap");

:root {
  --elly-bg: #faf6f1;
  --elly-bg-soft: #f3ebe3;
  --elly-ink: #3a2f2a;
  --elly-muted: #6e5c52;
  --elly-accent: #c45c26;
  --elly-accent-deep: #9a3f14;
  --elly-blush: #e8c4b0;
  --elly-card: #ffffff;
  --elly-line: rgba(58, 47, 42, 0.12);
  --elly-radius: 14px;
  --elly-shadow: 0 10px 30px rgba(58, 47, 42, 0.08);
}

body,
body.page,
body.single,
body.home {
  background: var(--elly-bg) !important;
  color: var(--elly-ink);
  font-family: "Nunito", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-header h1,
.main-nav-menu > li > a {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0.01em;
}

a {
  color: var(--elly-accent-deep);
}
a:hover {
  color: var(--elly-accent);
}

/* Header / nav warmth */
#page-container,
.page-content,
.main-container {
  background: transparent;
}

.main-nav-container,
.centered-logo .main-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--elly-line);
  backdrop-filter: blur(8px);
}

.main-nav-menu > li > a {
  color: var(--elly-ink) !important;
  font-weight: 600;
}
.main-nav-menu > li.current-menu-item > a,
.main-nav-menu > li > a:hover {
  color: var(--elly-accent) !important;
}

/* Site title */
.site-title a,
#site-title a {
  color: var(--elly-ink) !important;
  font-family: "Fraunces", Georgia, serif;
}

/* Content cards */
.page-content article,
.blog-grid > article,
.main-container .entry-content,
.sidebar-wrap .widget {
  background: var(--elly-card);
  border-radius: var(--elly-radius);
  box-shadow: var(--elly-shadow);
}

.sidebar-wrap .widget {
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--elly-line);
}

.widget-title,
.widgettitle {
  font-family: "Fraunces", Georgia, serif;
  color: var(--elly-accent-deep) !important;
  border-bottom: 2px solid var(--elly-blush);
  padding-bottom: 0.4rem;
  margin-bottom: 0.85rem;
}

/* Timeline / credit lists */
.elly-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.elly-timeline li {
  display: grid;
  grid-template-columns: minmax(7rem, 9.5rem) 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--elly-card);
  border: 1px solid var(--elly-line);
  border-radius: var(--elly-radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--elly-shadow);
}
.elly-timeline .elly-when {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  color: var(--elly-accent);
  line-height: 1.3;
}
.elly-timeline .elly-what {
  color: var(--elly-ink);
  line-height: 1.55;
}
.elly-credit-grid {
  display: grid;
  gap: 0.85rem;
}
.elly-credit {
  background: var(--elly-card);
  border: 1px solid var(--elly-line);
  border-radius: var(--elly-radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--elly-shadow);
}
.elly-credit .elly-year {
  font-family: "Fraunces", Georgia, serif;
  color: var(--elly-accent);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.elly-credit .elly-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.elly-credit .elly-meta {
  color: var(--elly-muted);
  font-size: 0.95rem;
}

/* Video gallery */
.elly-video-intro {
  margin-bottom: 1.75rem;
  color: var(--elly-muted);
  max-width: 42rem;
}
.elly-video-section {
  margin: 2.5rem 0;
}
.elly-video-section h2 {
  color: var(--elly-accent-deep);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--elly-blush);
}
.elly-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.elly-video-card {
  background: var(--elly-card);
  border: 1px solid var(--elly-line);
  border-radius: var(--elly-radius);
  overflow: hidden;
  box-shadow: var(--elly-shadow);
}
.elly-video-card .elly-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #1a1210;
}
.elly-video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.elly-video-card h3 {
  font-size: 1rem;
  margin: 0;
  padding: 0.9rem 1rem 1.05rem;
  line-height: 1.35;
}

/* Contact */
.elly-contact {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 820px) {
  .elly-contact { grid-template-columns: 1fr; }
  .elly-timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
}
.elly-contact-card,
.elly-contact-form-wrap {
  background: var(--elly-card);
  border: 1px solid var(--elly-line);
  border-radius: var(--elly-radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--elly-shadow);
}
.elly-contact a.elly-mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}
.elly-contact label {
  display: block;
  font-weight: 600;
  margin: 0.75rem 0 0.3rem;
}
.elly-contact input[type="text"],
.elly-contact input[type="email"],
.elly-contact textarea {
  width: 100%;
  border: 1px solid var(--elly-line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: var(--elly-bg);
  color: var(--elly-ink);
}
.elly-contact textarea { min-height: 140px; resize: vertical; }
.elly-btn,
.elly-contact button {
  appearance: none;
  border: 0;
  background: var(--elly-accent);
  color: #fff !important;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
  text-decoration: none !important;
}
.elly-btn:hover,
.elly-contact button:hover {
  background: var(--elly-accent-deep);
  color: #fff !important;
}
.elly-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.elly-alert-ok { background: #e7f6ea; color: #1e5c2f; }
.elly-alert-err { background: #fdecea; color: #8a1f11; }

/* Footer */
.page-footer,
#page-footer,
.footer-widgets {
  background: #2f2622 !important;
  color: #f3ebe3 !important;
}
.page-footer a,
#page-footer a {
  color: #e8c4b0 !important;
}
.page-footer .widget-title,
#page-footer .widget-title {
  color: #fff !important;
  border-bottom-color: rgba(232, 196, 176, 0.35);
}
.elly-footer-note {
  text-align: center;
  padding: 1.25rem 1rem 1.75rem;
  color: #d9cfc6;
  font-size: 0.95rem;
}

/* Soft page hero feel on titles */
.page-header,
.entry-header {
  margin-bottom: 1.25rem;
}
.page-header h1,
.entry-header .entry-title {
  color: var(--elly-ink);
}

/* Slider / featured image warmth */
.featured-slider,
.slider-item-wrap {
  border-radius: 0 0 var(--elly-radius) var(--elly-radius);
  overflow: hidden;
}

/* Override Ashe dynamic accent/footer colors */
#main-nav a:hover,
#main-nav li.current-menu-item > a,
#main-nav li.current-menu-ancestor > a,
.page-content a,
a:not(.header-logo-a):hover {
  color: var(--elly-accent) !important;
}
#page-footer,
#page-footer select,
#page-footer input,
#page-footer textarea,
.page-footer,
.footer-widgets {
  background-color: #2f2622 !important;
  color: #f3ebe3 !important;
  border-color: rgba(232, 196, 176, 0.25) !important;
}
#page-footer a,
#page-footer h1,
#page-footer h2,
#page-footer h3,
#page-footer h4,
#page-footer h5,
#page-footer h6 {
  color: #f3ebe3 !important;
}
#page-footer a:hover {
  color: var(--elly-blush) !important;
}
body {
  background-color: var(--elly-bg) !important;
}
.main-content,
.featured-slider-area {
  background: transparent !important;
}
#main-menu li a,
.header-logo a {
  font-family: "Fraunces", Georgia, serif !important;
  text-transform: none !important;
}
