/**
 * Theme Name: My Therapist – Design 1
 * Description: Standalone WordPress theme for My Therapist. Restores the original Design 1 layout with blog, editable homepage and enquiry form, with no parent theme dependency.
 * Author: Customised for My Therapist
 * Version: 6.3.0
 * Text Domain: my-therapist
 * Requires at least: 6.0
 * Requires PHP: 7.4
 */

:root {
  --id1-navy: #153f61;
  --id1-navy-deep: #0e304c;
  --id1-blue: #1f6089;
  --id1-text: #344a58;
  --id1-muted: #657680;
  --id1-cream: #fbf8f3;
  --id1-paper: #fffdf9;
  --id1-sand: #efe4d6;
  --id1-sand-soft: #f5eee5;
  --id1-warm: #b48658;
  --id1-sage: #78866f;
  --id1-line: rgba(21, 63, 97, .13);
  --id1-shadow: 0 22px 62px rgba(42, 51, 55, .10);
  --id1-max: 1180px;
}

html { scroll-behavior: smooth; }
body.ilona-design-one { margin: 0; background: var(--id1-cream); }
body.admin-bar .id1-header { top: 32px; }

.id1-site,
.id1-site * { box-sizing: border-box; }

.id1-site {
  min-height: 100vh;
  overflow: hidden;
  background: var(--id1-cream);
  color: var(--id1-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.id1-site h1,
.id1-site h2,
.id1-site h3,
.id1-site p,
.id1-site ul { margin-top: 0; }

.id1-site h1,
.id1-site h2,
.id1-site h3 {
  color: var(--id1-navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}

.id1-site a { color: inherit; text-decoration: none; }
.id1-site button,
.id1-site input,
.id1-site select,
.id1-site textarea { font: inherit; }

.id1-container {
  width: min(calc(100% - 44px), var(--id1-max));
  margin-inline: auto;
}

.id1-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99999;
  padding: 10px 16px;
  border-radius: 7px;
  transform: translateY(-180%);
  background: var(--id1-navy-deep);
  color: #fff !important;
}
.id1-skip:focus { transform: translateY(0); }

.id1-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 63, 97, .07);
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(14px);
}

.id1-header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.id1-brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 228px;
}

.id1-brand__image {
  display: block;
  width: 225px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.id1-brand__name {
  color: var(--id1-navy);
  font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.id1-brand__sub {
  margin-top: 8px;
  color: var(--id1-blue);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .36em;
  text-transform: uppercase;
}



/* Mobile navigation controls */
.id1-mobile-actions,
.id1-menu-toggle {
  display: none;
}

.id1-menu-toggle {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(21, 63, 97, .22);
  border-radius: 5px;
  background: #fff;
  color: var(--id1-navy);
  box-shadow: 0 7px 18px rgba(21, 63, 97, .08);
  cursor: pointer;
}

.id1-menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.id1-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.id1-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.id1-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.id1-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.2vw, 31px);
  color: #314b5b;
  font-size: .86rem;
  font-weight: 600;
}

.id1-nav > a:not(.id1-button) {
  position: relative;
  padding: 12px 0;
}

.id1-nav > a:not(.id1-button)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--id1-warm);
  transition: transform .2s ease;
}
.id1-nav > a:hover::after,
.id1-nav > a:focus-visible::after { transform: scaleX(1); }

.id1-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border: 1px solid var(--id1-navy);
  border-radius: 4px;
  background: var(--id1-navy);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.1;
  box-shadow: 0 10px 22px rgba(21, 63, 97, .16);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.id1-button:hover,
.id1-button:focus-visible {
  transform: translateY(-2px);
  background: var(--id1-navy-deep);
  box-shadow: 0 14px 28px rgba(21, 63, 97, .22);
}

.id1-button--ghost {
  border-color: rgba(21, 63, 97, .30);
  background: rgba(255,255,255,.42);
  color: var(--id1-navy) !important;
  box-shadow: none;
}
.id1-button--ghost:hover,
.id1-button--ghost:focus-visible { background: #fff; }

.id1-hero {
  position: relative;
  background: linear-gradient(90deg, #fbf7f0 0%, #fbf7f0 46%, #eee2d4 100%);
}

.id1-hero__grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(410px, .97fr);
  align-items: stretch;
}

.id1-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 112px) clamp(45px, 7vw, 95px) clamp(68px, 8vw, 108px) 0;
}

.id1-eyebrow {
  margin-bottom: 22px;
  color: var(--id1-blue);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.id1-hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 6vw, 5.75rem);
  letter-spacing: -.045em;
}

.id1-hero__intro {
  max-width: 590px;
  margin-bottom: 31px;
  color: #53666f;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
}

.id1-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.id1-hero__image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background-color: #e7d8c6;
  background-position: center;
  background-size: cover;
}

.id1-hero__image::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(251,247,240,.55), transparent 35%);
}

.id1-hero__credential {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  max-width: 290px;
  padding: 19px 21px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 8px;
  background: rgba(21, 63, 97, .91);
  color: rgba(255,255,255,.82);
  box-shadow: 0 18px 38px rgba(31, 41, 44, .18);
  backdrop-filter: blur(8px);
}

.id1-hero__credential strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.id1-hero__credential span { display: block; font-size: .78rem; line-height: 1.5; }

.id1-trust {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--id1-line);
  background: var(--id1-paper);
}

.id1-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.id1-trust__item {
  min-height: 148px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 17px;
  padding: 30px clamp(22px, 4vw, 42px);
  border-right: 1px solid var(--id1-line);
}
.id1-trust__item:last-child { border-right: 0; }

.id1-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 63, 97, .18);
  border-radius: 50%;
  color: var(--id1-blue);
}
.id1-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.id1-trust__item h3 { margin-bottom: 5px; font-size: 1.12rem; }
.id1-trust__item p { margin-bottom: 0; color: var(--id1-muted); font-size: .88rem; line-height: 1.55; }

.id1-section { padding: clamp(82px, 9vw, 126px) 0; }
.id1-section--paper { background: var(--id1-paper); }
.id1-section--sand { background: var(--id1-sand-soft); }

.id1-about {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(54px, 8vw, 108px);
}

.id1-about__image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 5px;
  background-color: var(--id1-sand);
  background-position: center;
  background-size: cover;
  box-shadow: var(--id1-shadow);
}

.id1-about__image::after {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(180, 134, 88, .35);
  content: "";
}

.id1-about__copy h2,
.id1-section-head h2,
.id1-apply__copy h2 {
  margin-bottom: 23px;
  font-size: clamp(2.65rem, 5vw, 4.45rem);
  letter-spacing: -.04em;
}

.id1-about__copy > p:not(.id1-eyebrow) {
  max-width: 640px;
  margin-bottom: 20px;
  color: #53676f;
  font-size: 1.04rem;
}

.id1-signature {
  margin: 28px 0 0;
  color: var(--id1-navy);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 2rem;
}

.id1-session-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.id1-session-mini {
  padding: 23px 24px;
  border-top: 2px solid var(--id1-warm);
  background: #fff;
  box-shadow: 0 10px 28px rgba(50, 57, 59, .05);
}
.id1-session-mini strong { display: block; margin-bottom: 6px; color: var(--id1-navy); font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.id1-session-mini span { color: var(--id1-muted); font-size: .9rem; }

.id1-section-head { max-width: 760px; margin-bottom: 48px; }
.id1-section-head p:last-child { max-width: 670px; margin-bottom: 0; color: var(--id1-muted); font-size: 1.03rem; }

.id1-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.id1-service {
  min-height: 300px;
  padding: clamp(31px, 4.5vw, 48px);
  border: 1px solid var(--id1-line);
  background: rgba(255,255,255,.68);
}
.id1-service__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 78px; }
.id1-service__label { color: var(--id1-warm); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.id1-service__number { color: rgba(21, 63, 97, .18); font-family: Georgia, serif; font-size: 2.7rem; line-height: 1; }
.id1-service h3 { margin-bottom: 13px; font-size: 2rem; }
.id1-service p { max-width: 480px; margin-bottom: 0; color: var(--id1-muted); }

.id1-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.id1-step {
  position: relative;
  padding: 34px 25px 0 0;
  border-top: 1px solid rgba(21, 63, 97, .22);
}
.id1-step__number {
  position: absolute;
  top: -17px;
  left: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--id1-navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}
.id1-step h3 { margin-bottom: 11px; font-size: 1.45rem; }
.id1-step p { margin-bottom: 0; color: var(--id1-muted); font-size: .94rem; }

.id1-apply {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(45px, 7vw, 85px);
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid rgba(21, 63, 97, .10);
  background: linear-gradient(135deg, #eee1d2, #f8f3ed);
  box-shadow: var(--id1-shadow);
}

.id1-apply__copy > p:not(.id1-eyebrow) { max-width: 430px; color: #586b73; }
.id1-contact { display: grid; gap: 5px; margin-top: 29px; color: var(--id1-navy); font-size: .93rem; font-weight: 700; }

.id1-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.id1-form__full,
.id1-form__consent,
.id1-form__note,
.id1-alert { grid-column: 1 / -1; }

.id1-form label { display: grid; gap: 7px; color: #405662; font-size: .79rem; font-weight: 750; }
.id1-form input,
.id1-form select,
.id1-form textarea {
  width: 100%;
  min-height: 51px;
  padding: 13px 14px;
  border: 1px solid rgba(21, 63, 97, .17);
  border-radius: 3px;
  outline: none;
  background: rgba(255,255,255,.84);
  color: var(--id1-text);
}
.id1-form textarea { min-height: 116px; resize: vertical; }
.id1-form input:focus,
.id1-form select:focus,
.id1-form textarea:focus { border-color: var(--id1-blue); box-shadow: 0 0 0 3px rgba(31,96,137,.09); }

.id1-form__consent {
  display: grid !important;
  grid-template-columns: 19px 1fr;
  align-items: start;
  gap: 10px !important;
  font-weight: 400 !important;
  line-height: 1.5;
}
.id1-form__consent input { width: 17px; min-height: 17px; margin-top: 3px; }
.id1-form .id1-button { justify-self: start; }
.id1-form__note { margin: 0; color: var(--id1-muted); font-size: .76rem; }
.id1-honeypot { position: absolute !important; left: -10000px !important; }

.id1-alert { padding: 12px 14px; border-radius: 3px; font-size: .88rem; }
.id1-alert--success { background: #e4f0e7; color: #275c39; }
.id1-alert--error { background: #f6e5e4; color: #7b3432; }

.id1-footer {
  padding: 55px 0 25px;
  background: var(--id1-navy-deep);
  color: rgba(255,255,255,.72);
}
.id1-footer__grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 50px; padding-bottom: 38px; }
.id1-footer .id1-brand__name,
.id1-footer .id1-brand__sub { color: #fff; }
.id1-footer h3 { margin-bottom: 12px; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.id1-footer p,
.id1-footer a { color: rgba(255,255,255,.72); }
.id1-footer a:hover { color: #fff; }
.id1-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }

@media (max-width: 1040px) {
  .id1-header__inner { position: relative; gap: 16px; }
  .id1-mobile-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
  .id1-menu-toggle { display: inline-flex; }
  .id1-mobile-apply { min-height: 46px; padding: 11px 17px; }

  .id1-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    z-index: 70;
    width: min(340px, calc(100vw - 44px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid rgba(21, 63, 97, .12);
    border-radius: 0 0 8px 8px;
    background: rgba(255, 253, 249, .99);
    box-shadow: 0 22px 45px rgba(24, 47, 63, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .id1-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .id1-nav > a:not(.id1-button) {
    display: block;
    width: 100%;
    padding: 12px 13px;
    border-radius: 4px;
    font-size: .95rem;
  }
  .id1-nav > a:not(.id1-button)::after { display: none; }
  .id1-nav > a:not(.id1-button):hover,
  .id1-nav > a:not(.id1-button):focus-visible { background: var(--id1-sand-soft); color: var(--id1-navy-deep); }
  .id1-nav .id1-button { width: 100%; margin-top: 8px; }

  .id1-hero__grid { grid-template-columns: 1fr 42%; }
  .id1-about { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
}

@media (max-width: 820px) {
  body.admin-bar .id1-header { top: 46px; }
  .id1-hero__grid,
  .id1-about,
  .id1-apply { grid-template-columns: 1fr; }
  .id1-hero__content { padding-right: 0; }
  .id1-hero__image { min-height: 500px; }
  .id1-trust__grid { grid-template-columns: 1fr; }
  .id1-trust__item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--id1-line); }
  .id1-trust__item:last-child { border-bottom: 0; }
  .id1-process { grid-template-columns: 1fr; gap: 48px; }
  .id1-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .id1-container { width: min(calc(100% - 28px), var(--id1-max)); }
  .id1-header__inner { min-height: 77px; }
  .id1-brand { min-width: 0; }
  .id1-brand__image { width: 158px; height: 50px; }
  .id1-brand__name { font-size: 1.55rem; }
  .id1-brand__sub { font-size: .52rem; }
  .id1-mobile-actions { gap: 7px; }
  .id1-mobile-apply { min-height: 42px; padding: 9px 11px; font-size: .74rem; }
  .id1-menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .id1-nav { width: calc(100vw - 28px); }
  .id1-nav .id1-button { min-height: 43px; padding: 10px 13px; font-size: .82rem; }
  .id1-hero__grid { min-height: auto; }
  .id1-hero h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .id1-hero__content { padding-top: 63px; padding-bottom: 65px; }
  .id1-hero__image { min-height: 410px; }
  .id1-hero__credential { right: 17px; bottom: 17px; left: 17px; max-width: none; }
  .id1-about__image { min-height: 430px; }
  .id1-session-strip,
  .id1-services,
  .id1-form { grid-template-columns: 1fr; }
  .id1-service { min-height: 255px; }
  .id1-service__top { margin-bottom: 45px; }
  .id1-form__full,
  .id1-form__consent,
  .id1-form__note,
  .id1-alert { grid-column: 1; }
  .id1-apply { padding: 31px 22px; }
  .id1-footer__grid { grid-template-columns: 1fr; gap: 25px; }
  .id1-footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 360px) {
  .id1-brand__image { width: 142px; }
  .id1-mobile-apply { padding-inline: 9px; font-size: .69rem; }
}

/* =============================
   Blog + editable page additions
   ============================= */

.id1-home-editor-section {
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(64px, 7vw, 92px);
  background: #f8f3ed;
}

.id1-editor-content {
  color: #4f626b;
  font-size: 1.03rem;
}

.id1-editor-content--narrow {
  max-width: 820px;
}

.id1-editor-content h2,
.id1-editor-content h3,
.id1-editor-content h4 {
  margin: 1.4em 0 .55em;
}

.id1-editor-content h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.id1-editor-content h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.id1-editor-content p,
.id1-editor-content ul,
.id1-editor-content ol { margin-bottom: 1.25em; }
.id1-editor-content a { color: var(--id1-blue); text-decoration: underline; text-underline-offset: 3px; }
.id1-editor-content img { max-width: 100%; height: auto; border-radius: 5px; }
.id1-editor-content blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--id1-warm);
  color: var(--id1-navy);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.id1-journal__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.id1-journal__head .id1-section-head { margin-bottom: 0; }

.id1-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--id1-navy) !important;
  font-size: .9rem;
  font-weight: 750;
  white-space: nowrap;
}
.id1-text-link span { transition: transform .18s ease; }
.id1-text-link:hover span,
.id1-text-link:focus-visible span { transform: translateX(4px); }

.id1-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.id1-blog-grid--archive { row-gap: 42px; }

.id1-blog-card {
  overflow: hidden;
  border: 1px solid var(--id1-line);
  background: #fff;
  box-shadow: 0 13px 35px rgba(42, 51, 55, .055);
  transition: transform .2s ease, box-shadow .2s ease;
}
.id1-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 19px 44px rgba(42, 51, 55, .095);
}

.id1-blog-card__image {
  position: relative;
  aspect-ratio: 1.48 / 1;
  display: block;
  overflow: hidden;
  background: var(--id1-sand-soft);
}
.id1-blog-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.id1-blog-card:hover .id1-blog-card__image img { transform: scale(1.025); }

.id1-blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(180,134,88,.18), transparent 30%),
    linear-gradient(135deg, #eee2d4, #f8f3ec 55%, #e7e5d8);
  color: rgba(21,63,97,.62);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.id1-blog-card__body { padding: 28px 27px 30px; }
.id1-blog-card__meta {
  margin-bottom: 12px !important;
  color: var(--id1-warm);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.id1-blog-card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.16;
}
.id1-blog-card__excerpt {
  margin-bottom: 20px !important;
  color: var(--id1-muted);
  font-size: .92rem;
  line-height: 1.65;
}

.id1-page-hero {
  padding: clamp(82px, 9vw, 126px) 0 clamp(68px, 8vw, 100px);
  background: linear-gradient(135deg, #f7efe5, #fcfaf6 58%, #e8e6da);
}
.id1-page-hero--compact { padding: clamp(66px, 7vw, 92px) 0; }
.id1-page-hero__inner { max-width: 850px; }
.id1-page-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(3.25rem, 7vw, 6.3rem);
  letter-spacing: -.05em;
}
.id1-page-hero--compact h1 { margin-bottom: 0; font-size: clamp(3rem, 6vw, 5rem); }
.id1-page-hero__intro {
  max-width: 690px;
  margin: 0;
  color: #586a72;
  font-size: 1.08rem;
}
.id1-page-hero__intro p:last-child { margin-bottom: 0; }

.id1-empty-state {
  max-width: 640px;
  padding: 42px;
  border: 1px solid var(--id1-line);
  background: #fff;
}
.id1-empty-state h2 { font-size: 2.2rem; }
.id1-empty-state p { margin-bottom: 0; color: var(--id1-muted); }

.id1-pagination { margin-top: 52px; }
.id1-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.id1-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--id1-line);
  background: #fff;
  color: var(--id1-navy);
  font-size: .86rem;
  font-weight: 700;
}
.id1-pagination .page-numbers.current,
.id1-pagination a.page-numbers:hover { background: var(--id1-navy); color: #fff; }

.id1-article__header {
  padding: clamp(76px, 8vw, 118px) 0 clamp(50px, 6vw, 76px);
  background: linear-gradient(135deg, #f6eee4, #fbf9f5 62%, #e9e6db);
}
.id1-article__header-inner { max-width: 900px; }
.id1-back-link {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--id1-blue) !important;
  font-size: .85rem;
  font-weight: 750;
}
.id1-article__meta {
  margin-bottom: 14px !important;
  color: var(--id1-warm);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.id1-article__header h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  letter-spacing: -.048em;
}
.id1-article__dek {
  max-width: 720px;
  margin-bottom: 0;
  color: #586a72;
  font-size: 1.14rem;
}
.id1-article__image-wrap { margin-top: clamp(42px, 5vw, 68px); }
.id1-article__image {
  width: 100%;
  max-height: 720px;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: var(--id1-shadow);
}
.id1-article__layout {
  max-width: 840px;
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(58px, 7vw, 92px);
}
.id1-article__content {
  color: #425861;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.85;
}
.id1-article__content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.id1-article__content h2,
.id1-article__content h3,
.id1-article__content h4 {
  margin-top: 1.75em;
  margin-bottom: .65em;
}
.id1-article__content h2 { font-size: clamp(2rem, 4vw, 3rem); }
.id1-article__content h3 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.id1-article__content p,
.id1-article__content ul,
.id1-article__content ol { margin-bottom: 1.35em; }
.id1-article__content a { color: var(--id1-blue); text-decoration: underline; text-underline-offset: 3px; }
.id1-article__content blockquote {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 8px 0 8px 25px;
  border-left: 2px solid var(--id1-warm);
  color: var(--id1-navy);
  font-size: 1.3em;
}
.id1-article__content img { max-width: 100%; height: auto; border-radius: 4px; }

.id1-article__cta {
  margin-bottom: clamp(72px, 9vw, 118px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(35px, 5vw, 55px);
  border: 1px solid var(--id1-line);
  background: linear-gradient(135deg, #eee1d2, #f8f3ed);
}
.id1-article__cta h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.id1-article__cta p:last-child { max-width: 620px; margin-bottom: 0; color: var(--id1-muted); }

@media (max-width: 980px) {
  .id1-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .id1-journal__head,
  .id1-article__cta { align-items: flex-start; flex-direction: column; }
  .id1-blog-grid { grid-template-columns: 1fr; }
  .id1-page-hero h1,
  .id1-article__header h1 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
  .id1-blog-card__body { padding: 24px 22px 26px; }
}


/* Standalone safety: keep the original Design 1 shell and footer visible
   even when plugins add generic theme styles. */
body.ilona-design-one .id1-site { display: block; }
body.ilona-design-one .id1-footer { display: block; visibility: visible; opacity: 1; }
