/*
 * Down Dog Copy – site styles.
 * Replaces the per-page Elementor stylesheets (wp-content/uploads/elementor/css/post-*.css)
 * that were lost when the site was restored from the archive.
 */
:root {
  --dd-ink: #1c1b1f;
  --dd-ink-soft: #4a4850;
  --dd-paper: #faf7f2;
  --dd-card: #ffffff;
  --dd-accent: #d9583b;
  --dd-accent-dark: #b8442b;
  --dd-line: #e7e1d8;
  --dd-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --dd-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dd-paper);
  color: var(--dd-ink-soft);
  font-family: var(--dd-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--dd-accent); transition: color .2s ease; }
a:hover, a:focus { color: var(--dd-accent-dark); }

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: var(--dd-serif);
  color: var(--dd-ink);
  line-height: 1.2;
  margin: 0 0 .5em;
}
.elementor-heading-title a { color: inherit; text-decoration: none; }
.elementor-heading-title a:hover { color: var(--dd-accent); }

h1.elementor-heading-title { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; }
h2.elementor-heading-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3.elementor-heading-title { font-size: 1.8rem; }
h4.elementor-heading-title { font-size: 1.4rem; font-weight: 700; }
h5.elementor-heading-title {
  font-family: var(--dd-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dd-accent);
  margin-bottom: .8em;
}
h6.elementor-heading-title { font-family: var(--dd-sans); font-size: 1rem; font-weight: 600; }

.elementor-widget-text-editor p { margin: 0 0 1.1em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget:not(:last-child) { margin-bottom: 20px; }

/* Content that relied on images lost in the archive */
.dd-empty { display: none !important; }
.elementor-column.dd-full { width: 100% !important; }

/* Layout */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 1140px; }
.elementor .elementor-top-section { padding: 90px 24px; position: relative; }
.elementor .elementor-top-section > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 10px 20px; }
.elementor-top-section:nth-of-type(even):not(:first-child) { background: #f2ede4; }

/* Header */
#masthead, header.site-header, .ehf-header #masthead {
  background: var(--dd-paper);
  border-bottom: 1px solid var(--dd-line);
  position: relative;
  z-index: 50;
}
#masthead .elementor-top-section { padding: 18px 24px; background: transparent; }
#masthead .elementor-container { align-items: center; }
#masthead .elementor-widget-image { text-align: left; margin: 0; }

.dd-logo {
  font-family: var(--dd-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dd-ink) !important;
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.dd-logo span { color: var(--dd-accent); }

.hfe-nav-menu a.hfe-menu-item,
.hfe-nav-menu a.hfe-sub-menu-item {
  font-family: var(--dd-sans);
  font-weight: 500;
  font-size: .98rem;
  color: var(--dd-ink);
  padding: 10px 18px;
  text-decoration: none;
}
.hfe-nav-menu a.hfe-menu-item:hover,
.hfe-nav-menu .current-menu-item > a.hfe-menu-item { color: var(--dd-accent); }
.hfe-nav-menu__toggle { margin-left: auto; cursor: pointer; }
.hfe-nav-menu-icon { color: var(--dd-ink); font-size: 1.3rem; }
@media (max-width: 1024px) {
  #masthead nav.hfe-dropdown { background: var(--dd-card); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
  #masthead nav.hfe-dropdown a.hfe-menu-item { padding: 14px 24px; border-bottom: 1px solid var(--dd-line); }
}

/* Page hero: first section of each page */
.elementor[data-elementor-type="wp-page"] > .elementor-top-section:first-child,
.elementor[data-elementor-type="wp-post"] > .elementor-top-section:first-child {
  background: var(--dd-ink);
  padding: 130px 24px 120px;
  overflow: hidden;
  text-align: center;
}
.elementor-top-section:first-child .elementor-heading-title { color: #fff; }
.elementor-top-section:first-child .elementor-widget-text-editor { color: rgba(255,255,255,.78); font-size: 1.2rem; }
.elementor-top-section:first-child .elementor-widget-text-editor p { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Divider */
.elementor-widget-divider {
  --divider-border-style: solid;
  --divider-border-width: 3px;
  --divider-color: var(--dd-accent);
}
.elementor-widget-divider .elementor-divider { justify-content: center; padding: 6px 0; }
.elementor-widget-divider .elementor-divider-separator { width: 80px; margin: 0 auto; }

/* Oversized decorative words behind sections ("wordsmiths", "About", "Blog"…) */
.elementor-widget.elementor-absolute {
  position: absolute !important;
  right: -10px;
  bottom: -30px;
  margin: 0 !important;
  pointer-events: none;
  z-index: 0;
}
.elementor-widget.elementor-absolute .elementor-heading-title {
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,.09);
  opacity: 1;
}
.elementor-top-section:first-child .elementor-widget.elementor-absolute .elementor-heading-title {
  -webkit-text-stroke-color: rgba(255,255,255,.12);
}
.elementor-widget-wrap { position: relative; }
.elementor-widget-wrap > .elementor-widget:not(.elementor-absolute) { position: relative; z-index: 1; }

/* Buttons */
.elementor-button,
.elementor-button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dd-accent);
  color: #fff !important;
  font-family: var(--dd-sans);
  font-weight: 600;
  font-size: .92rem;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.elementor-button:hover { background: var(--dd-accent-dark); transform: translateY(-1px); }
.elementor-button .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 8px; flex-direction: row-reverse; }

/* Blog teaser cards (inner columns that end with a button) */
.elementor-inner-column:has(.elementor-widget-button) > .elementor-widget-wrap {
  background: var(--dd-card);
  border: 1px solid var(--dd-line);
  border-radius: 14px;
  padding: 30px 32px;
  margin: 12px;
  box-shadow: 0 10px 30px rgba(28,27,31,.05);
  transition: box-shadow .25s ease, transform .25s ease;
}
.elementor-inner-column:has(.elementor-widget-button) > .elementor-widget-wrap:hover {
  box-shadow: 0 18px 40px rgba(28,27,31,.09);
  transform: translateY(-2px);
}

/* Icons (contact details, services) */
.elementor-icon { color: var(--dd-accent); font-size: 38px; }
.elementor-icon i { color: inherit; }
.elementor-widget-icon-box .elementor-icon-box-title { font-family: var(--dd-serif); color: var(--dd-ink); }
.elementor-inner-section .elementor-container { align-items: center; }

/* Blog post content */
.elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor { font-size: 1.08rem; }
.elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h2,
.elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h3 { margin-top: 1.6em; }

/* Default WordPress templates (author / category / sample page) */
.site-main, main#content { max-width: 960px; margin: 0 auto; padding: 70px 24px; }
.site-main .page-header .entry-title { font-size: clamp(2rem, 4vw, 3rem); }
.site-main article.post { padding: 26px 0; border-bottom: 1px solid var(--dd-line); }
.site-main article.post .entry-title a { color: var(--dd-ink); text-decoration: none; }
.site-main article.post .entry-title a:hover { color: var(--dd-accent); }

/* Footer */
#colophon, footer.site-footer { background: var(--dd-ink); color: rgba(255,255,255,.72); }
#colophon .elementor-top-section { background: transparent !important; padding: 70px 24px 40px; }
#colophon .elementor-heading-title { color: #fff; }
#colophon h5.elementor-heading-title { color: #fff; letter-spacing: .12em; }
#colophon .dd-logo { color: #fff !important; }
#colophon .elementor-widget-image { text-align: left; }
#colophon a { color: rgba(255,255,255,.78); text-decoration: none; }
#colophon a:hover { color: #fff; }
#colophon .hfe-nav-menu a.hfe-menu-item { color: rgba(255,255,255,.78); padding: 6px 0; }
#colophon .hfe-nav-menu a.hfe-menu-item:hover { color: #fff; }
#colophon .elementor-social-icon {
  background: rgba(255,255,255,.1);
  color: #fff;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 16px;
}
#colophon .elementor-social-icon:hover { background: var(--dd-accent); }
#colophon .elementor-social-icon i { color: #fff; }
#colophon .elementor-inner-column:has(.elementor-widget-button) > .elementor-widget-wrap { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; }

/* Responsive */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .elementor .elementor-top-section { padding: 60px 16px; }
  .elementor[data-elementor-type="wp-page"] > .elementor-top-section:first-child,
  .elementor[data-elementor-type="wp-post"] > .elementor-top-section:first-child { padding: 90px 16px 80px; }
  .elementor-inner-column:has(.elementor-widget-button) > .elementor-widget-wrap { margin: 10px 0; padding: 24px; }
  #masthead .elementor-container { flex-wrap: nowrap; }
  #masthead .elementor-column { width: auto !important; }
}
