/**
 * Lifeline theme styles.
 * Rewritten from the D7 Bootstrap 3 subtheme (css/style.less) as plain CSS.
 * Visual direction preserved: teal navbar, front-page hero, rounded buttons,
 * legacy WYSIWYG/content classes for migrated body content.
 */

/* Breakpoint note: D7 used Bootstrap 3 @screen-sm-min = 768px. */

:root {
  --ll-teal: #04605e;
  --ll-teal-dark: #05484b;
  --ll-blue: #003268;
  --ll-green: #326d14;
  --ll-cream: #fdf3e1;
  --ll-ivory: #fefaf1;
  --ll-orange: #c17709;
  --ll-orange-soft: #fbebce;
  --ll-footer: #025155;
  /* Live header/hero render in Bootstrap's default system stack, not PT Sans. */
  --ll-ui-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --ll-head-font: "Montserrat", "Open Sans", var(--ll-ui-font);
}

body {
  min-width: auto; /* ckeditor fix from legacy theme */
  font-family: "PT Sans", "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: var(--ll-ivory);
  color: #2b3230;
  /* Full-bleed bands use 100vw, which is wider than the content area when a
   * classic scrollbar is shown; clip instead of scrolling sideways. */
  overflow-x: hidden;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--ll-teal);
}

/* ---------------------------------------------------------------------------
 * Layout containers
 * ------------------------------------------------------------------------- */

.main-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.page-layout .layout-sidebar {
  flex: 0 0 100%;
}

.page-layout .layout-content {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .page-layout .layout-sidebar {
    flex: 0 0 22%;
  }
  .page-layout .layout-content {
    flex: 1 1 0;
  }

  .consultant-dashboard .page-layout .layout-content {
    flex: 0 0 calc(66.6667% - 10px);
  }

  .consultant-dashboard .page-layout .layout-sidebar {
    flex: 0 0 calc(33.3333% - 20px);
  }
}

/* ---------------------------------------------------------------------------
 * Header / navbar
 * ------------------------------------------------------------------------- */

/* White header bar with the hands/sprout logo, the main menu and the
 * language switcher, full width, contents aligned to the 1170px column. */
.header-wrap {
  background: var(--ll-ivory);
  border-bottom: 1px solid rgba(4, 96, 94, 0.08);
  box-shadow: 0 1px 8px rgb(5 72 75 / 6%);
}

#navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  font-family: var(--ll-ui-font);
  margin: 0 auto;
  max-width: 1250px;
  box-sizing: border-box;
  padding: 16px 15px;
}

#navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  text-decoration: none;
}

/* The D7 leaf logo (26×29 / 27×31), shown near its natural size. */
#navbar .brand-logo {
  display: block;
  width: auto;
  height: 30px;
}

#navbar .brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#navbar .sitename {
  /* Condensed face so the brand and the mobile menu toggle share one line. */
  font-family: "PT Sans Narrow", "Arial Narrow", var(--ll-head-font);
  font-size: 28px; /* fixed: header chrome must not scale */
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ll-teal-dark);
}

#navbar .slogan {
  font-size: 16px; /* fixed: header chrome */
  line-height: 1.3;
  color: #6b7773;
}

/* "UA | RU", plain text with hairline separators, as in the mockup. */
.header-lang {
  flex: none;
  padding-left: 22px;
  border-left: 1px solid rgba(4, 96, 94, 0.18);
}

.header-lang ul.footer-lang {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.header-lang ul.footer-lang li + li::before {
  content: "|";
  color: rgba(4, 96, 94, 0.3);
  margin: 0 2px;
}

.header-lang .footer-lang-link {
  display: inline-block;
  padding: 2px 6px;
  color: #8b9490;
  font-size: 15px; /* fixed: header chrome */
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.header-lang .footer-lang-link:hover {
  color: var(--ll-teal);
}

.header-lang .footer-lang-link.is-active {
  color: var(--ll-teal);
}

/* Navigation menus.
 * system_menu_block renders a bare <nav><ul><li> with no .menu class, so the
 * selectors target the nav's UL directly (and legacy .menu / ul.links). */
#navbar > nav {
  flex: 1 1 auto;
}

#navbar nav ul,
#navbar .menu,
#navbar ul.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 10px;
}

#navbar nav li,
#navbar .menu li,
#navbar ul.links li {
  margin: 0;
}

#navbar nav a,
#navbar .menu a,
#navbar ul.links a {
  display: block;
  color: #33403c;
  font-size: 15px; /* fixed: header chrome */
  font-weight: 700;
  line-height: 1.5;
  padding: 5px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

#navbar nav a:hover,
#navbar .menu a:hover,
#navbar ul.links a:hover,
#navbar nav a.is-active,
#navbar .menu a.is-active {
  color: var(--ll-teal);
  border-bottom-color: var(--ll-teal);
}

/* Phone list shown only inside the expanded mobile menu (live #phones-menu). */
#navbar .phones-menu {
  display: none;
}

/* Mid-size screens: compact brand and menu so everything stays on one row
 * (otherwise the last menu item wraps and the header grows taller). */
@media (min-width: 992px) and (max-width: 1199px) {
  #navbar {
    gap: 14px;
  }
  #navbar .navbar-brand {
    gap: 12px;
  }
  #navbar .sitename {
    font-size: 22px; /* fixed: header chrome */
  }
  #navbar .slogan {
    font-size: 14px; /* fixed: header chrome */
  }
  #navbar nav ul,
  #navbar .menu,
  #navbar ul.links {
    flex-wrap: nowrap;
    gap: 0;
  }
  #navbar nav a,
  #navbar .menu a,
  #navbar ul.links a {
    font-size: 13px; /* fixed: header chrome */
    letter-spacing: 0.03em;
    padding: 5px 6px;
  }
  .header-lang {
    padding-left: 12px;
  }
  .header-lang .footer-lang-link {
    font-size: 13px; /* fixed: header chrome */
    padding: 2px 4px;
  }
}

/* Mobile toggle button + collapsible behavior (no Bootstrap JS). */
.navbar-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(4, 96, 94, 0.35);
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 1px;
  background-color: var(--ll-teal);
  margin: 5px 0;
}

@media (max-width: 991px) {
  #navbar {
    flex-wrap: wrap;
  }
  .navbar-toggle {
    display: block;
    order: 2;
  }
  .header-lang {
    order: 3;
  }
  /* Only collapse the outer wrapper nav, not the inner menu block nav
   * (system_menu_block nests <nav id="block-..."> inside #navbar-collapse). */
  #navbar > nav {
    display: none;
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    border-top: 1px solid rgba(4, 96, 94, 0.12);
    padding: 10px 0;
    margin-top: 10px;
  }
  #navbar > nav.is-open {
    display: block;
  }
  #navbar nav ul,
  #navbar .menu,
  #navbar ul.links {
    flex-direction: column;
    justify-content: flex-start;
  }
  #navbar nav a,
  #navbar .menu a,
  #navbar ul.links a {
    padding: 7px 10px;
    border-bottom: 0;
  }
  #navbar .phones-menu {
    display: block;
    list-style: none;
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid rgba(4, 96, 94, 0.12);
    text-transform: none;
  }
  #navbar .phones-menu li {
    margin: 0;
  }
  #navbar .phones-menu a {
    display: block;
    color: var(--ll-teal);
    font-size: 15px; /* fixed: header chrome */
    font-weight: 700;
    padding: 5px 10px;
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  /* Keep leaf + site name + toggle (+ languages on inner pages) on one row. */
  #navbar {
    gap: 10px;
  }
  #navbar .navbar-brand {
    gap: 10px;
  }
  #navbar .sitename {
    font-size: 24px; /* fixed: header chrome */
  }
  #navbar .slogan {
    font-size: 12px; /* fixed: header chrome */
  }
  .header-lang {
    padding-left: 10px;
  }
  .header-lang .footer-lang-link {
    padding: 2px 3px;
    font-size: 13px; /* fixed: header chrome */
  }
}

/* Dark teal header on every page except the front one, as on D7. */
body:not(.is-front) .header-wrap {
  background: var(--ll-teal);
  border-bottom: 0;
  box-shadow: none;
}

body:not(.is-front) #navbar .sitename {
  color: #fff;
}

body:not(.is-front) #navbar .slogan {
  color: #b9d4cd;
  text-transform: uppercase;
  font-size: 12px; /* fixed: header chrome */
  letter-spacing: 0.06em;
}

body:not(.is-front) :is(#navbar nav a, #navbar .menu a, #navbar ul.links a) {
  color: #eef6f3;
}

body:not(.is-front) :is(#navbar nav a, #navbar .menu a, #navbar ul.links a):hover,
body:not(.is-front) :is(#navbar nav a, #navbar .menu a):is(.is-active, :hover) {
  color: #fff;
  border-bottom-color: #fff;
}

body:not(.is-front) .header-lang {
  border-left-color: rgba(255, 255, 255, 0.25);
}

body:not(.is-front) .header-lang ul.footer-lang li + li::before {
  color: rgba(255, 255, 255, 0.35);
}

body:not(.is-front) .header-lang .footer-lang-link {
  color: rgba(255, 255, 255, 0.65);
}

body:not(.is-front) .header-lang .footer-lang-link:is(:hover, .is-active) {
  color: #fff;
}

body:not(.is-front) .navbar-toggle {
  border-color: rgba(255, 255, 255, 0.5);
}

body:not(.is-front) .navbar-toggle .icon-bar {
  background-color: #fff;
}

@media (max-width: 991px) {
  body:not(.is-front) #navbar > nav {
    border-top-color: rgba(255, 255, 255, 0.2);
  }
  body:not(.is-front) #navbar .phones-menu {
    border-top-color: rgba(255, 255, 255, 0.2);
  }
  body:not(.is-front) #navbar .phones-menu a {
    color: #cfe3dd;
  }
}

/* The site identity now lives in the navbar, so the branding block placed in
 * the Top Bar region would duplicate the logo/name. Hide it. */
.region-header #block-lifeline-theme-branding {
  display: none;
}

/* Front page has no on-page H1 on the live site. Keep the heading in the DOM
 * for accessibility/SEO but visually hide it on the front page only. */
.is-front #block-lifeline-theme-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------------
 * Front-page hero: full-bleed coastal photo (caller on a path at sunrise,
 * warm/teal grade), text + phone CTA overlaid on the calm left side.
 * ------------------------------------------------------------------------- */

.ll-hero {
  position: relative;
  background: var(--ll-cream);
  overflow: hidden;
}

/* Photo backdrop; keep the caller (right third) and the sunrise in frame. */
.ll-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
}

/* On phones pull the crop rightwards so the coastal road stays visible. */
@media (max-width: 767px) {
  .ll-hero-bg {
    object-position: 84% 42%;
  }
  /* Text a bit higher and the call button much lower, leaving a clear gap
   * that shows the caller's head and shoulders. */
  .ll-hero-inner {
    padding-top: 84px;
  }
  .ll-hero-call {
    margin-top: 108px;
  }
}

/* Warm cream glow over the sea on the left so the overlaid text stays
 * readable at any crop. */
.ll-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgb(253 243 225 / 72%) 0%,
    rgb(253 243 225 / 38%) 45%,
    transparent 72%);
  pointer-events: none;
}

.ll-hero-inner {
  position: relative;
  z-index: 1;
}

.ll-hero-wave-bottom {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath fill='%23fefaf1' d='M0 46h1440V16c-260-26-470 18-760 6C420 12 200 30 0 12Z'/%3E%3C/svg%3E")
    bottom / 100% 100% no-repeat;
}

/* Matching wavy top edge (the bottom wave flipped both ways), ivory like the
 * front-page header above. */
.ll-hero-wave-top {
  display: block;
  width: 100%;
  height: 38px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath fill='%23fefaf1' d='M0 46h1440V16c-260-26-470 18-760 6C420 12 200 30 0 12Z'/%3E%3C/svg%3E")
    bottom / 100% 100% no-repeat;
  transform: scale(-1);
  pointer-events: none;
}

/* Language switcher over the hero photo (front page only). */
.hero-lang {
  position: absolute;
  top: 42px;
  right: 22px;
  z-index: 3;
  border-left: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(254 250 241 / 65%);
}

.hero-lang .footer-lang-link {
  color: #5c6a66;
}

.ll-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  /* Tall top padding on phones so the overlaid language switcher doesn't
   * touch the title (~25% taller hero than the first cut). */
  padding: 108px 15px 116px;
}

@media (min-width: 768px) {
  .ll-hero-inner {
    padding-top: 88px;
    padding-bottom: 120px;
  }
}

.ll-hero-text {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ll-hero-text {
    text-align: left;
    /* Keep clear of the left edge (~2-3 capital letters of the title). */
    margin: 0 0 0 min(8vw, 120px);
  }
}

.ll-hero-title {
  margin: 0 0 18px;
  font-family: var(--ll-head-font);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ll-teal-dark);
}

/* Subtitle: plain text on the photo, no pill background. */
.ll-hero-sub {
  display: block;
  margin: 0 0 30px;
  font-size: 1.25rem; /* 20px */
  line-height: 1.4;
  font-weight: 700;
  color: var(--ll-teal-dark);
}

.ll-hero-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  /* Narrow pill: the number and the "call now" label stack in two lines. */
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ll-teal);
  color: #fff;
  font-family: var(--ll-ui-font);
  font-size: 1.1875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgb(4 96 94 / 28%);
  transition: background-color .15s ease, transform .15s ease;
}

.ll-hero-call-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.25;
}

.ll-hero-call:hover,
.ll-hero-call:focus {
  background: var(--ll-teal-dark);
  transform: translateY(-1px);
  color: #fff;
}

.ll-hero-call-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex: none;
}

.ll-hero-call-ico svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Rotating hotline number (js/hero-phones.js): brief fade between slides. */
.ll-hero-call-num {
  transition: opacity 0.25s ease;
}

.ll-hero-call-num.is-swapping {
  opacity: 0;
}

@media (max-width: 480px) {
  .ll-hero-call {
    font-size: 1rem;
    padding: 13px 20px;
  }
}

/* Messenger pills under the call CTA: white rounded chips with the brand
 * icon (simple-icons SVGs) and a bold label, as in the mockup. */
.ll-hero-mess {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .ll-hero-mess {
    justify-content: flex-start;
  }
}

.ll-hero-mess-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  /* Compact chips on a translucent background; icon/text sizes unchanged. */
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 55%);
  color: #2b3230;
  font-family: var(--ll-ui-font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgb(5 72 75 / 14%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ll-hero-mess-btn:hover,
.ll-hero-mess-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgb(5 72 75 / 22%);
}

.ll-hero-mess-btn img {
  display: block;
}

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 1.01rem; /* 16.16px */
  line-height: 1.625;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-success {
  background-color: #00934a;
  color: #fff;
}

.btn-success:hover {
  background-color: #007a3d;
}

/* ---------------------------------------------------------------------------
 * Content region: headings, blocks, menus, forms, messages
 * ------------------------------------------------------------------------- */

/* All content headings share the brand green; links inside them inherit it
 * (comment titles, teaser titles) so title color is uniform site-wide. */
.layout-content h1,
.layout-content h2,
.layout-content h3 {
  color: var(--ll-green);
  line-height: 1.2;
}

.layout-content :is(h1, h2, h3) a {
  color: inherit;
}

.layout-content .block {
  margin-bottom: 1.5rem;
}

/* Node/comment submitted metadata: the shared icon meta line (date, author). */
.submitted {
  color: #6b7775;
  font-size: 1rem; /* was 14px; 1rem readability floor */
  margin: 0 0 1rem;
}

.comment-submitted {
  margin-bottom: .5rem;
}

.comment-meta .comment-permalink a {
  color: inherit;
  font-size: 1rem; /* 1rem readability floor */
}

/* D7-style bordered comment cards with role/user avatars. */
article.js-comment {
  display: flex;
  gap: 18px;
  margin: 0 0 10px;
  padding: 25px;
  border: 1px solid #aeaeae;
  background: transparent;
}

.ll-comment-avatar {
  flex: 0 0 70px;
}

.ll-comment-avatar img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.ll-comment-main {
  flex: 1 1 auto;
  min-width: 0;
}

.ll-prayer-counter {
  width: 7rem;
  margin: 16px 0 24px;
  padding: .3rem;
  border-top: 1px solid #fbf389;
  border-bottom: 1px solid #fbf389;
  background: #fbfbe6;
  text-align: center;
  line-height: 1.25;
}

.ll-prayer-counter form {
  margin: 0;
}

.ll-prayer-counter button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ll-teal);
  font: inherit;
  cursor: pointer;
}

.ll-prayer-counter__voted {
  display: block;
  color: #56615f;
}

.ll-prayer-counter__count {
  display: block;
  padding: .4rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  article.js-comment {
    flex-direction: column;
  }
}

/* D7-style public request archive headers, metadata, and action links. */
:is(.view-id-lifeline_prayers, .view-id-lifeline_questions, .view-id-lifeline_testimonies).view-display-id-page_1 .prayer-archive-header img {
  display: block;
  max-width: 100%;
  height: auto;
}

:is(.view-id-lifeline_prayers, .view-id-lifeline_questions, .view-id-lifeline_testimonies).view-display-id-page_1 .prayer-archive-header p {
  margin: 18px 0;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.55;
}

:is(.view-id-lifeline_prayers, .view-id-lifeline_questions, .view-id-lifeline_testimonies).view-display-id-page_1 .prayer-archive-header hr {
  margin: 0 0 30px;
  border: 0;
  border-top: 2px solid #141414;
}

/* Shared archive/list teaser: title, icon meta line, body, action links. */
.prayer-archive-item {
  margin-bottom: 42px;
}

.prayer-archive-item h2 {
  margin: 0 0 10px;
  font-size: 1.375rem; /* 22px */
}

.prayer-archive-item h2 a {
  color: var(--ll-green);
  text-decoration: none;
}

.prayer-archive-item h2 a:hover,
.prayer-archive-item h2 a:focus {
  text-decoration: underline;
}

.prayer-archive-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: #5f6d69;
  font-size: 1rem; /* was 15px; 1rem readability floor */
}

.prayer-archive-meta li,
.prayer-archive-meta a,
.prayer-archive-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prayer-archive-meta a {
  color: inherit;
  text-decoration: none;
}

/* Blog author name links to the author's blog listing — keep it visibly a link. */
.prayer-archive-meta span > a {
  color: var(--ll-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prayer-archive-meta span > a:hover,
.prayer-archive-meta span > a:focus {
  color: var(--ll-blue);
}

.prayer-archive-meta svg,
.prayer-archive-action svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prayer-archive-body {
  font-size: 1.0625rem; /* 17px */
  line-height: 1.55;
}

.prayer-archive-body img,
.prayer-archive-body iframe {
  max-width: 100%;
}

.prayer-archive-body img {
  height: auto;
}

.prayer-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 14px;
}

/* Action links match the icon+text links at the bottom of article pages. */
.prayer-archive-action {
  font-size: 1rem;
  color: var(--ll-green);
  text-decoration: underline;
}

.prayer-archive-action:hover,
.prayer-archive-action:focus {
  color: var(--ll-blue);
}

/* Menus rendered in content/sidebar regions (e.g. migrated nav menus).
 * Stable9 outputs menu blocks as bare <nav id="block-..."><ul><li> markup. */
.layout-content nav[id^="block-"] ul,
.layout-sidebar nav[id^="block-"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layout-content nav[id^="block-"] ul ul,
.layout-sidebar nav[id^="block-"] ul ul {
  padding-left: 18px;
}

.layout-content nav[id^="block-"] a,
.layout-sidebar nav[id^="block-"] a {
  display: inline-block;
  padding: 3px 0;
  text-decoration: none;
}

.layout-content nav[id^="block-"] a:hover,
.layout-sidebar nav[id^="block-"] a:hover {
  text-decoration: underline;
}

.book-navigation {
  margin: 1.5rem 0;
}

.book-navigation h6 {
  color: var(--ll-green);
  font-size: 1rem; /* was 15px; 1rem readability floor */
  margin: 0 0 .5rem;
}

.book-navigation ol {
  margin-top: 0;
  padding-left: 2rem;
}

.book-navigation .field {
  margin-top: .75rem;
}

.book-navigation .field-label {
  font-weight: bold;
}

.page-article .layout-content article > div {
  display: flex;
  flex-direction: column;
}

.ll-article-actions {
  clear: both;
  order: 1000;
  margin: 28px 0 18px;
}

.ll-article-actions__main,
.ll-article-actions__left,
.ll-article-actions__right,
.ll-article-actions__views,
.ll-article-actions__reactions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ll-article-actions__main {
  justify-content: space-between;
}

.ll-article-actions__right {
  margin-left: auto;
}

.ll-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  color: var(--ll-green);
  text-decoration: none;
  gap: 5px;
}

.ll-action-label {
  font-size: 1rem; /* was 14px; 1rem readability floor */
  line-height: 1.2;
}

.ll-action-icon:hover,
.ll-action-icon:focus,
.ll-reaction-button.is-active {
  color: var(--ll-blue);
}

.ll-action-icon svg,
.ll-article-actions__views svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ll-action-icon--prev svg,
.ll-action-icon--next svg,
.ll-action-icon--up svg {
  stroke-width: 3.6;
}

.ll-article-actions__views {
  color: #6b7775;
  font-size: 1rem; /* was 15px; 1rem readability floor */
}

/* Consultant page node body: match the 18px inline spans the migrated content
 * uses further down, so the announcement text doesn't look smaller. Teasers in
 * the unanswered blocks keep their own .prayer-archive-* sizes. */
.consultant-dashboard .layout-content article {
  font-size: 1.125rem;
}

.consultant-sidebar-links {
  display: grid;
  gap: 14px;
}

.consultant-sidebar-pane {
  box-sizing: border-box;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 12%);
}

.consultant-sidebar-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultant-sidebar-links ul.consultant-sidebar-pane {
  padding: 18px 20px;
}

.consultant-sidebar-links li + li {
  margin-top: 10px;
}

.consultant-sidebar-links a {
  color: var(--ll-teal);
  font-family: "PT Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1rem; /* 16px */
  font-weight: normal;
  line-height: 1.35;
  text-decoration: underline;
}

.consultant-sidebar-links a:hover,
.consultant-sidebar-links a:focus {
  color: var(--ll-blue);
}

/* Consultant dashboard main-column blocks: underlined block titles; the
 * teasers themselves use the shared .prayer-archive-item style. */
:is(#block-lifeline-theme-unanswered-prayers, #block-lifeline-theme-unanswered-questions) {
  margin-bottom: 36px;
}

:is(#block-lifeline-theme-unanswered-prayers, #block-lifeline-theme-unanswered-questions) > h2 {
  padding-bottom: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--ll-green);
}

/* Node and comment bottom links: green icon+text links like the bottom of
 * article pages, instead of core's bullet lists. */
.layout-content article ul.links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 1rem;
}

.layout-content article ul.links li,
.layout-content article ul.links a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  margin: 0;
}

.layout-content article ul.links a {
  color: var(--ll-green);
}

.layout-content article ul.links a:hover,
.layout-content article ul.links a:focus {
  color: var(--ll-blue);
}

/* Comment-bubble icon on add-comment/reply links. */
.layout-content article ul.links a[href*="comment-form"]::before,
.layout-content article ul.links a[href*="/comment/reply/"]::before {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The staff-only statistics "N views" item: muted, eye icon, pushed right. */
.layout-content article ul.links li:not(:has(a)) {
  margin-left: auto;
  color: #6b7775;
}

.layout-content article ul.links li:not(:has(a))::before {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ll-reaction-count {
  margin-left: 4px;
  color: #6b7775;
  font-size: 1rem; /* was 15px; 1rem readability floor */
}

@media (max-width: 575.98px) {
  .ll-article-actions__main {
    align-items: flex-start;
    gap: 16px;
  }

  .ll-article-actions__left,
  .ll-article-actions__right {
    flex-wrap: wrap;
  }
}

/* Top-level migrated menu items read as section headers. */
.layout-content nav[id^="block-"] > ul > li > a {
  font-weight: bold;
  text-transform: uppercase;
}

/* Sidebar block titles. */
.layout-sidebar h2 {
  font-size: 1.125rem; /* 18px */
  margin: 0 0 .5rem;
  color: var(--ll-green);
}

/* Forms (login, contact, node add). */
.layout-content input[type="text"],
.layout-content input[type="email"],
.layout-content input[type="password"],
.layout-content input[type="search"],
.layout-content textarea,
.layout-content select {
  box-sizing: border-box;
  max-width: 420px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

.layout-content .form-item {
  margin-bottom: 1rem;
}

.layout-content label {
  display: block;
  font-weight: bold;
  margin-bottom: .25rem;
}

.layout-content .form-required::after {
  content: " *";
  color: #c00;
}

.layout-content .form-submit,
.layout-content .button {
  display: inline-block;
  background-color: var(--ll-teal);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  text-transform: uppercase;
  cursor: pointer;
  font: inherit;
}

.layout-content .form-submit:hover,
.layout-content .button:hover {
  background-color: #00504c;
}

.node-pray-request-form .js-filter-wrapper,
.node-question-form .js-filter-wrapper,
.node-testimony-form .js-filter-wrapper,
.node-repentance-form-form .js-filter-wrapper {
  display: none;
}

/* Status / warning / error messages. */
.messages,
[data-drupal-messages] > div,
[data-drupal-messages] .messages {
  padding: 12px 16px;
  margin: 0 0 1rem;
  border-radius: 4px;
  border-left: 4px solid var(--ll-teal);
  background: #eef5f4;
}

.messages--warning,
[data-drupal-messages] .messages--warning {
  border-left-color: #e0a800;
  background: #fdf6e3;
}

.messages--error,
[data-drupal-messages] .messages--error {
  border-left-color: #c0392b;
  background: #fbeae8;
}

/* ---------------------------------------------------------------------------
 * Pager (archive/listing pages)
 * Core outputs a bare <ul class="pager__items">; the theme ships no list
 * reset for it, so style it as a horizontal row of page links.
 * ------------------------------------------------------------------------- */

.pager {
  margin: 1.5rem 0;
}

.pager__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.pager__item {
  margin: 0;
}

.pager__item a,
.pager__item.is-active > a {
  display: block;
  padding: 6px 12px;
  border: 1px solid #cdd9d8;
  border-radius: 4px;
  text-decoration: none;
  color: var(--ll-teal);
}

.pager__item a:hover {
  background: #eef5f4;
}

.pager__item.is-active > a {
  background: var(--ll-teal);
  border-color: var(--ll-teal);
  color: #fff;
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */

.footer {
  margin: 56px 0 0;
  background: linear-gradient(180deg, var(--ll-footer) 0%, #04606022 400%), var(--ll-footer);
  background-color: var(--ll-footer);
  color: #e7f2ee;
}

/* Front page: the testimony quote band sits flush on the footer. */
.is-front .footer {
  margin-top: 0;
}

.footer a {
  color: #e7f2ee;
}

.footer-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 44px 15px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-bottom: 34px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-title {
  margin: 0 0 16px;
  font-family: var(--ll-head-font);
  font-size: 17px; /* fixed: footer chrome */
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

/* Column 1: brand, description, social icons. */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 30px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-sitename {
  font-family: var(--ll-head-font);
  font-size: 20px; /* fixed: footer chrome */
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

.footer-church {
  font-size: 15px; /* fixed: footer chrome */
  color: #b9d4cd;
}

.footer-desc {
  margin: 16px 0 18px;
  max-width: 300px;
  font-size: 16px; /* fixed: footer chrome */
  line-height: 1.55;
  color: #cfe3dd;
}

.footer-social,
.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

:is(.footer-social, .footer-messengers) a {
  display: inline-flex;
  border-radius: 50%;
  opacity: .92;
  transition: opacity .15s ease, transform .15s ease;
}

:is(.footer-social, .footer-messengers) a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

:is(.footer-social, .footer-messengers) img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
}

/* Column 2: phones. */
.footer-phones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px; /* fixed: footer chrome */
  font-weight: 700;
}

.footer-phones a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.footer-phones a::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M11.6 4.9c.9-.3 1.9.1 2.4 1l1.9 3.6c.4.8.3 1.8-.4 2.4l-1.7 1.7c1.1 2.4 3 4.3 5.4 5.4l1.7-1.7c.6-.7 1.6-.8 2.4-.4l3.6 1.9c.9.5 1.3 1.5 1 2.4l-1 3.1c-.3 1-1.2 1.6-2.2 1.5C14.5 24.9 8 18.4 6.6 8.1c-.1-1 .5-1.9 1.5-2.2l3.5-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-phones a:hover {
  text-decoration: underline;
}

.footer-roundclock {
  margin: 10px 0 14px;
  color: #b9d4cd;
  font-size: 16px; /* fixed: footer chrome */
}

/* Column 3: short curated navigation list. */
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav a {
  display: inline-block;
  padding: 2px 0;
  font-size: 16px; /* fixed: footer chrome */
  color: #cfe3dd;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Bottom bar. */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px; /* fixed: footer chrome */
  color: #b9d4cd;
}

.footer-love span {
  color: var(--ll-orange-soft);
}

@media (max-width: 767px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
 * Legacy WYSIWYG / migrated content classes (from style.less)
 * ------------------------------------------------------------------------- */

.epigraph {
  display: block;
  margin-left: 0;
  padding: 5px 10px;
  border-left: 3px solid #008e85;
  background: #fff5ef;
  text-align: justify;
  text-indent: 0;
  color: #003d7f;
  font-weight: 400;
  line-height: 1.5;
}

.bible_quote {
  font-style: italic;
  font-family: sans-serif;
  color: #005650;
  font-weight: 500;
  font-size: max(1rem, 0.93em); /* was 93%; floored at 1rem for readability */
  background: #effcff;
}

/* Bible chapter page: #vN anchors (theme bible-read.html.twig override).
 * Highlight the linked verse and keep it clear of the viewport edge. */
.bible-chapter-content dt {
  scroll-margin-top: 24px;
}

.bible-chapter-content dt:target,
.bible-chapter-content dt:target + dd {
  background: #fbf0d9;
}

.hilited {
  font-weight: bold;
  color: #0066cc;
}

.content b {
  font-weight: bold;
  color: #74152a;
}

p.epigraph,
p.hilited,
p.bible_quote {
  margin: 0 0 1rem;
}

span.epigraph,
span.hilited,
span.bible_quote {
  margin: 0;
}

.imgleft,
img.left,
.ibimage_left {
  float: left;
  margin: 10px 20px 10px 0;
}

.imgright,
img.right,
.ibimage_right {
  float: right;
  margin: 10px 0 10px 20px;
}

.inline .caption {
  text-align: center;
}

.content p {
  text-align: justify;
  padding: 3px;
}

.content p.rtecenter {
  text-align: center;
}

/* ---------------------------------------------------------------------------
 * Spacing utilities used by the page template (subset from legacy theme)
 * ------------------------------------------------------------------------- */

.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.m-4  { margin: 1.5rem !important; }

/* ---------------------------------------------------------------------------
 * Front page (2026 redesign): the front node body renders nothing visible;
 * the sections live in the highlighted region (help cards, daily word,
 * testimony quote).
 * ------------------------------------------------------------------------- */

.is-front #block-lifeline-theme-theme946-system-main {
  display: none;
}

/* Centered section titles with a small ornament (thin lines + heart). */
.ll-section-title {
  margin: 0 0 14px;
  padding: 0 0 26px;
  position: relative;
  font-family: var(--ll-head-font);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: var(--ll-teal-dark);
}

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

.ll-section-title a:hover,
.ll-section-title a:focus {
  color: var(--ll-teal);
}

.ll-section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 170px;
  height: 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c17709' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 27S4 19.5 4 11.5A5.5 5.5 0 0 1 16 8a5.5 5.5 0 0 1 12 3.5C28 19.5 16 27 16 27Z'/%3E%3C/svg%3E") center / 15px 15px no-repeat,
    linear-gradient(#d9a94f, #d9a94f) left center / 64px 1px no-repeat,
    linear-gradient(#d9a94f, #d9a94f) right center / 64px 1px no-repeat;
}

/* Section title style used by the article sidebar. */
#main-wrapper .front-title,
.article-sidebar .side-title {
  font-family: "Open Sans", var(--ll-ui-font);
  font-size: 2.25rem; /* 36px */
  font-weight: 800;
  line-height: 1.2;
  color: #222;
  border-bottom: 1px solid #aeaeae;
  padding-bottom: 17px;
  margin: 0 0 30px;
}

/* ---------------------------------------------------------------------------
 * Help section — design variant 2 (front page + full page).
 * Softer cards with accent bar and tinted icon circles; the detailed full page
 * also keeps its phones-first contact strip.
 * ------------------------------------------------------------------------- */

.ll-help2 {
  font-family: var(--ll-ui-font);
  margin-bottom: 45px;
  color: #212529;
}

.ll-help2-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.ll-help2-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 8px;
}

.ll-help2-eyebrow {
  margin: 0;
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ll-teal);
}

.ll-help2-more {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 20px;
  background: var(--ll-teal);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.ll-help2-more:hover,
.ll-help2-more:focus {
  background: #00504c;
  color: #fff;
  text-decoration: underline;
}

.ll-help2-title {
  margin: 0 0 12px;
  font-family: "Open Sans", var(--ll-ui-font);
  font-size: 2.25rem; /* 36px */
  font-weight: 800;
  line-height: 1.15;
  color: #222;
}

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

.ll-help2-title a:hover,
.ll-help2-title a:focus {
  color: var(--ll-blue);
  text-decoration: underline;
}

.ll-help2-lead {
  margin: 0;
  font-size: 1.125rem; /* 18px */
  line-height: 1.55;
  color: #41504d;
}

/* Full-page contact strip: phones first, messengers beside them. */
.ll-help2-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 22px 24px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f2f8f7 0%, #e8f2f0 100%);
  border: 1px solid #d3e4e1;
}

@media (min-width: 768px) {
  .ll-help2-contact {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .ll-help2-contact-side {
    border-left: 1px solid #d3e4e1;
    padding-left: 24px;
  }
}

.ll-help2-contact-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 1.0625rem; /* 17px */
  font-weight: 700;
  color: var(--ll-teal);
}

.ll-help2-contact-label svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ll-help2-badge {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ll-teal);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: lowercase;
}

.ll-help2-phones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 480px) {
  .ll-help2-phones { grid-template-columns: repeat(2, max-content); }
}

.ll-help2-phones a {
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: var(--ll-blue);
  text-decoration: none;
  white-space: nowrap;
}

.ll-help2-phones a:hover,
.ll-help2-phones a:focus {
  color: var(--ll-teal);
  text-decoration: underline;
}

.ll-help2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ll-help2-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #bcd6d2;
  background: #fff;
  color: var(--ll-teal);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.ll-help2-chip svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ll-help2-chip:hover,
.ll-help2-chip:focus {
  background: var(--ll-teal);
  border-color: var(--ll-teal);
  color: #fff;
}

/* Action cards. */
.ll-help2-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .ll-help2-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .ll-help2-cards { grid-template-columns: repeat(4, 1fr); }
}

.ll-help2-card {
  min-width: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e1e8e6;
  box-shadow: 0 3px 14px rgb(15 60 55 / 7%);
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.ll-help2-card > a {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  height: 100%;
  padding: 22px 20px 20px;
  border-top: 4px solid var(--ll-accent, var(--ll-teal));
  color: inherit;
  text-decoration: none;
  transition: background-color .18s ease;
}

.ll-help2-card:hover,
.ll-help2-card:focus-within {
  border-color: var(--ll-accent, var(--ll-teal));
  box-shadow: 0 8px 22px rgb(15 60 55 / 14%);
  transform: translateY(-2px);
}

.ll-help2-card--prayer   { --ll-accent: #00934a; --ll-accent-soft: #e7f5ed; }
.ll-help2-card--question { --ll-accent: #006c67; --ll-accent-soft: #e4f1f0; }
.ll-help2-card--testimony{ --ll-accent: #c07a10; --ll-accent-soft: #fbf1e0; }
.ll-help2-card--read     { --ll-accent: #003268; --ll-accent-soft: #e4ebf3; }

.ll-help2-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ll-accent-soft, #e4f1f0);
  color: var(--ll-accent);
}

.ll-help2-ico svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ll-help2-ico .ll-help2-prayer-icon {
  width: 32px;
  fill: currentColor;
  stroke: none;
}

.ll-help2-card strong {
  font-size: 1.1875rem; /* 19px */
  line-height: 1.25;
  color: var(--ll-green);
}

.ll-help2-desc {
  font-size: 1rem;
  line-height: 1.45;
  color: #55625f;
}

.ll-help2-cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ll-accent);
}

.ll-help2-lead > :first-child,
.ll-help2-cta > :first-child {
  margin-top: 0;
}

.ll-help2-lead > :last-child,
.ll-help2-cta > :last-child {
  margin-bottom: 0;
}

.ll-help2-card > a:hover .ll-help2-cta,
.ll-help2-card > a:focus .ll-help2-cta {
  text-decoration: underline;
}

.ll-help2-cta::after {
  content: " →";
}

/* The front-page variant follows the 2026 mockup: pastel cards, centered
 * content, round white icon plates, teal titles. */
.is-front .ll-help2 {
  margin: 40px 0 56px;
}

.is-front .ll-help2-cards {
  margin: 26px 0 0;
}

.is-front .ll-help2-card {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgb(84 60 22 / 7%);
}

.is-front .ll-help2-card--prayer   { --ll-card-bg: #e7ebe2; --ll-accent: #c17709; }
.is-front .ll-help2-card--question { --ll-card-bg: #fbebce; --ll-accent: #c17709; }
.is-front .ll-help2-card--testimony{ --ll-card-bg: #e4eaea; --ll-accent: var(--ll-teal); }
.is-front .ll-help2-card--read     { --ll-card-bg: #fbebd6; --ll-accent: #c17709; }

.is-front .ll-help2-card > a {
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 20px 24px;
  border-top: 0;
  background: var(--ll-card-bg, #fff);
}

.is-front .ll-help2-card > a:hover,
.is-front .ll-help2-card > a:focus {
  background: var(--ll-card-bg, #fff);
  filter: saturate(1.12) brightness(1.015);
}

.is-front .ll-help2-ico {
  width: 68px;
  height: 68px;
  background: var(--ll-ivory);
  box-shadow: 0 2px 8px rgb(84 60 22 / 12%);
}

.is-front .ll-help2-ico svg {
  width: 32px;
  height: 32px;
}

.is-front .ll-help2-card strong {
  font-family: var(--ll-head-font);
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: var(--ll-teal-dark);
}

.is-front .ll-help2-cta {
  margin-top: 0;
  padding-top: 0;
  color: #55625f;
  font-weight: 400;
  line-height: 1.45;
}

.is-front .ll-help2-cta::after {
  content: none;
}

/* Social follow row. */
.ll-help2-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #e1e8e6;
  font-size: 1rem;
}

.ll-help2-follow-label {
  font-weight: 700;
  color: #55625f;
}

.ll-help2-follow a {
  color: var(--ll-green);
  font-weight: 700;
  text-decoration: underline;
}

.ll-help2-follow a:hover,
.ll-help2-follow a:focus {
  color: var(--ll-blue);
}

/* On the full article page the section sits inside the body column. */
.layout-content .ll-help2 {
  margin-top: 1.5rem;
}

.layout-content .ll-help2-title {
  font-size: 1.75rem; /* 28px */
}

@media (min-width: 992px) {
  .layout-content .ll-help2-cards { grid-template-columns: repeat(2, 1fr); }
}

/* The page body is editor content, so its icon circles are drawn with CSS
 * backgrounds instead of inline SVG (CKEditor would strip inline markup on
 * edit). The front-page block ships real inline SVG, so this is scoped to the
 * rendered node body only. */
.layout-content .ll-help2-card > a::before {
  content: "";
  display: block;
  flex: none;
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--ll-accent-soft, #e4f1f0);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
}

.layout-content .ll-help2-card--prayer > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512' fill='%2300934a'%3E%3Cpath d='M351.2 4.8c3.2-2 6.6-3.3 10-4.1 4.7-1 9.6-.9 14.1.1 7.7 1.8 14.8 6.5 19.4 13.6l119.9 179.8c8.8 13.1 13.4 28.6 13.4 44.4v73.5c0 6.9 4.4 13 10.9 15.2l79.2 26.4C631.2 358 640 370.2 640 384v96c0 9.9-4.6 19.3-12.5 25.4s-18.1 8.1-27.7 5.5L431 465.9c-56-14.9-95-65.7-95-123.7V224c0-17.7 14.3-32 32-32s32 14.3 32 32v80c0 8.8 7.2 16 16 16s16-7.2 16-16v-84.9c0-7-1.8-13.8-5.3-19.8L340.3 48.1c-1.7-3-2.9-6.1-3.6-9.3-1-4.7-1-9.6.1-14.1 1.9-8 6.8-15.2 14.3-19.9zm-62.4 0c7.5 4.6 12.4 11.9 14.3 19.9 1.1 4.6 1.2 9.4.1 14.1-.7 3.2-1.9 6.3-3.6 9.3l-86.3 151.2c-3.5 6-5.3 12.9-5.3 19.8V304c0 8.8 7.2 16 16 16s16-7.2 16-16v-80c0-17.7 14.3-32 32-32s32 14.3 32 32v118.2c0 58-39 108.7-95 123.7l-168.7 45c-9.6 2.6-19.9.5-27.7-5.5S0 490 0 480v-96c0-13.8 8.8-26 21.9-30.4l79.2-26.4c6.5-2.2 10.9-8.3 10.9-15.2v-73.5c0-15.8 4.7-31.2 13.4-44.4L245.2 14.5c4.6-7.1 11.7-11.8 19.4-13.6 4.6-1.1 9.4-1.2 14.1-.1 3.5.8 6.9 2.1 10 4.1z'/%3E%3C/svg%3E");
  background-size: 32px 26px;
}

.layout-content .ll-help2-card--question > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23006c67' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='16' r='12'/%3E%3Cpath d='M12 12.5a4 4 0 1 1 5.5 3.7c-1.3.6-1.9 1.6-1.9 3.3M16 24h.01'/%3E%3C/svg%3E");
}

.layout-content .ll-help2-card--testimony > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23c07a10' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 27S4 19.5 4 11.5A5.5 5.5 0 0 1 16 8a5.5 5.5 0 0 1 12 3.5C28 19.5 16 27 16 27Z'/%3E%3C/svg%3E");
}

.layout-content .ll-help2-card--read > a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23003268' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h9a4 4 0 0 1 3 3v19a5 5 0 0 0-3-2H4V6Zm24 0h-9a4 4 0 0 0-3 3v19a5 5 0 0 1 3-2h9V6Z'/%3E%3C/svg%3E");
}

/* Phone/messenger labels inside editor content keep the same icon rhythm.
 * Article-body links are underlined by default, and that decoration propagates
 * to every child, so the card/chip/phone links opt out explicitly. */
.layout-content .ll-help2 a,
.layout-content .ll-help2 .ll-help2-card > a,
.layout-content .ll-help2 .ll-help2-chip,
.layout-content .ll-help2 .ll-help2-phones a {
  text-decoration: none;
}

.layout-content .ll-help2-card > a:hover .ll-help2-cta,
.layout-content .ll-help2-card > a:focus .ll-help2-cta,
.layout-content .ll-help2-phones a:hover,
.layout-content .ll-help2-phones a:focus,
.layout-content .ll-help2-follow a {
  text-decoration: underline;
}

.layout-content .ll-help2-contact-label {
  font-size: 1.0625rem;
}

.layout-content .ll-help2-phones a {
  font-size: 1.1875rem; /* 19px */
}

.layout-content .ll-help2 p {
  padding: 0;
  text-align: left;
}

/* "More" links (дальше / далі / read more), live: green bold underlined. */
.more-link {
  color: #198754;
  font-weight: 700;
  text-decoration: underline;
}

.more-link:hover {
  color: #146c43;
}

/* Articles link list. */
.front-articles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--ll-ui-font);
}

.front-articles-list li {
  margin: 0 0 10px;
}

.front-articles-list a {
  color: var(--ll-green);
  text-decoration: none;
}

.front-articles-list a:hover {
  text-decoration: underline;
}

/* Bottom banner blocks (telegram / VCTV / there-is-hope). */
.front-banner {
  text-align: center;
  font-family: var(--ll-ui-font);
  font-size: 1rem; /* 16px */
}

.front-banner hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  margin: 0 0 25px;
}

.front-banner h3 {
  font-family: "Open Sans", var(--ll-ui-font);
  font-size: 1.25rem; /* 20px */
  font-weight: 400;
  color: #222;
  margin: 15px 0 10px;
}

.front-banner h6 {
  font-size: 1rem; /* was 14px; 1rem readability floor */
  font-weight: 500;
  margin: 10px 0;
}

.front-banner p {
  margin: 10px 0;
}

.front-banner img {
  max-width: 100%;
  height: auto;
}

.front-banner .img-full {
  width: 100%;
}

.front-banner a {
  color: var(--ll-green);
}

.front-banner .teal-text {
  color: #008080;
}

.front-banner .purple-link {
  color: #800080;
  font-weight: 700;
}

.front-banner-link a {
  font-size: 1.125rem; /* 18px */
}

/* ---------------------------------------------------------------------------
 * Article pages (book / internal / blog nodes) — live styles, right sidebar
 * with banner blocks, bottom banner blocks, no author/date line.
 * ------------------------------------------------------------------------- */

/* Live article text: system-ui ~19px/1.5 justified, Open Sans headings. */
.page-article .layout-content {
  font-family: var(--ll-ui-font);
  font-size: 1.1875rem; /* ~19px, live is 18.95px */
  line-height: 1.5;
  color: #212529;
}

.page-article .layout-content h1 {
  font-family: "Open Sans", var(--ll-ui-font);
  font-size: 2.5rem; /* 40px */
  font-weight: 500;
  line-height: 1.2;
  color: var(--ll-green);
  margin: 0 0 10px;
}

.page-article .layout-content h2,
.page-article .layout-content h3,
.page-article .layout-content h4 {
  font-family: "Open Sans", var(--ll-ui-font);
  font-weight: 400;
  color: var(--ll-green);
}

.page-article .layout-content h2 { font-size: 1.375rem; } /* 22px */
.page-article .layout-content h3 { font-size: 1.25rem; } /* 20px */

.page-article .layout-content article a {
  color: var(--ll-green);
  text-decoration: underline;
}

.page-article .layout-content article img {
  max-width: 100%;
  height: auto;
}

/* Live article pages show no submitted-by (author/date) line — except blog
 * posts, which show author + date (owner request 2026-08-01). */
.page-article:not(.page-blog) .submitted {
  display: none;
}

.page-blog .node-submitted {
  margin: 0 0 22px;
}

/* Blog posts: center pictures whatever indent class the editor pasted;
 * only paragraphs holding a lone (possibly linked) image are centered, so
 * inline emoji images inside text paragraphs stay untouched. */
.page-blog .layout-content article p:has(> img:only-child),
.page-blog .layout-content article p:has(> a:only-child > img) {
  text-align: center;
  text-indent: 0;
  margin-left: 0;
}

/* "всі записи блогу" link under every blog post. */
.ll-blog-all {
  display: inline-block;
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 700;
}

.page-article .layout-content article a.ll-blog-all {
  color: var(--ll-green);
}

.page-article .layout-content article a.ll-blog-all:hover,
.page-article .layout-content article a.ll-blog-all:focus {
  color: var(--ll-blue);
}

/* Right sidebar: live is 370px on desktop, stacks under content on mobile. */
.page-layout .article-sidebar {
  flex: 0 0 100%;
}

@media (min-width: 992px) {
  .page-layout .article-sidebar {
    flex: 0 0 370px;
    max-width: 370px;
  }
}

/* Sidebar banner stack (live block-30): centered 320px images. */
.article-sidebar .side-banners {
  text-align: center;
}

.article-sidebar .side-banners p {
  margin: 0 0 16px;
}

.article-sidebar .side-banners img {
  max-width: 100%;
  height: auto;
}

/* Sidebar messengers (live block-40): one centered adjacent row. */
.article-sidebar .side-messengers {
  text-align: center;
  font-size: 0; /* kill inline gaps */
  margin: 10px 0 40px;
}

.article-sidebar .side-messengers img {
  display: inline-block;
  width: 77px;
  height: 55px;
}

/* Sidebar articles list title shares the live pane-title style (see the
 * .front-title rule); list reuses .front-articles-list. */

/* Promo banner blocks (D7 blocks 19/38/42), moved from below the article
 * body into the sidebar as image-only banners: the editable block content
 * keeps its headings/text links, but only linked images are shown here.
 * They must appear below the vbogev banner — the 2nd <p> inside the single
 * editable side-banners block — so the sidebar is a flex column, the
 * side-banners block is flattened with display:contents (its <p> banners
 * become flex items) and everything is reordered visually. */
.page-layout .article-sidebar {
  display: flex;
  flex-direction: column;
}

.article-sidebar .editorial-block--sidebar-banners,
.article-sidebar .editorial-block--sidebar-banners > div,
.article-sidebar .editorial-block--sidebar-banners .side-banners {
  display: contents;
}

.article-sidebar .side-banners p:nth-of-type(-n+2) {
  order: 1; /* phones + vbogev banners */
}

.article-sidebar .side-promos {
  order: 2; /* the three former bottom banners */
}

.article-sidebar .side-banners p:nth-of-type(n+3) {
  order: 3; /* "change your life" + "happy family" banners */
}

.article-sidebar .editorial-block--messengers {
  order: 4;
}

.article-sidebar .side-articles {
  order: 5;
}

.article-sidebar .side-promos {
  text-align: center;
}

.article-sidebar .side-promos .front-banner {
  margin: 0 0 16px;
}

.article-sidebar .side-promos :is(hr, h3, h6, p):not(:has(img)) {
  display: none;
}

.article-sidebar .side-promos img {
  max-width: 100%;
  height: auto;
}

/* "Ми разом" / "Мы вместе": logo-only ministry links. */
.ll-together-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.ll-together-logos a {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgb(5 72 75 / 12%);
  text-decoration: none !important;
}

.ll-together-logos a:hover,
.ll-together-logos a:focus {
  outline: 3px solid var(--ll-teal);
  outline-offset: 3px;
}

.ll-together-logos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 767px) {
  .ll-together-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Node edit forms: keep all edit options in one column on wide screens. */
.node-form .layout-region-node-main,
.node-form .layout-region-node-footer,
.node-form .layout-region-node-secondary {
  float: none;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.node-form .vertical-tabs {
  margin-left: 0;
}

.node-form .vertical-tabs__menu {
  float: none;
  width: 100%;
  margin: 0;
}

.node-form .vertical-tabs__panes {
  width: 100%;
}

/* ---------------------------------------------------------------------------
 * Front page: "Щоденно з Богом" — verse of the day + daily video.
 * ------------------------------------------------------------------------- */

.ll-daily {
  margin: 10px 0 56px;
  font-family: var(--ll-ui-font);
}

.ll-daily-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 26px;
  align-items: start;
}

@media (min-width: 768px) {
  .ll-daily-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.ll-daily-word {
  box-sizing: border-box;
  border-radius: 20px;
  background: #fbf0d9;
  box-shadow: 0 4px 16px rgb(84 60 22 / 7%);
  padding: 28px 30px 26px;
}

.ll-daily-word-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ll-orange);
}

.ll-daily-sun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f6c66b;
  color: #fff;
  flex: none;
}

.ll-daily-sun svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* The quote is a link to this exact verse in the on-site Bible. */
.ll-daily-verse-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ll-daily-verse-link:hover .ll-daily-verse p,
.ll-daily-verse-link:focus .ll-daily-verse p {
  text-decoration: underline;
}

.ll-daily-verse {
  margin: 0;
}

.ll-daily-verse p {
  margin: 0 0 16px;
  font-family: "PT Serif", Georgia, serif;
  font-style: italic;
  font-size: 1rem; /* scales with browser font size */
  line-height: 1.5;
  color: #14423f;
}

.ll-daily-verse cite {
  font-family: "PT Serif", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ll-orange);
}

/* Arrow hints that the reference opens the verse in the on-site Bible. */
.ll-daily-verse cite::after {
  content: " →";
  font-style: normal;
  font-weight: 700;
}

/* Latest blog post card ("Слово на сьогодні"): full width on desktop,
 * first in the section (above the golden verse) on mobile. */
.ll-daily-post {
  box-sizing: border-box;
  border-radius: 20px;
  background: #fcf1de;
  box-shadow: 0 4px 16px rgb(84 60 22 / 7%);
  padding: 28px 30px 26px;
  margin-top: 26px;
  text-align: center;
}

.ll-daily-post .ll-daily-word-label {
  justify-content: center;
}

.ll-daily-post-title {
  margin: 0 0 14px;
  font-family: var(--ll-head-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.ll-daily-post-title a {
  color: var(--ll-teal-dark);
  text-decoration: none;
}

.ll-daily-post-title a:hover,
.ll-daily-post-title a:focus {
  color: var(--ll-teal);
  text-decoration: underline;
}

.ll-daily-post-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.55;
  color: #3c4643;
  overflow-wrap: break-word;
}

/* Editors paste images with fixed inline sizes — keep them tame. */
.ll-daily-post-body img {
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  max-height: 420px;
  border-radius: 14px;
}

/* Tiny pasted emoji images (e.g. from Facebook) stay inline and square. */
.ll-daily-post-body img[height="16"] {
  border-radius: 0;
  vertical-align: text-bottom;
}

.ll-daily-post-more {
  display: inline-block;
  margin: 14px 12px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ll-orange);
  text-decoration: none;
}

.ll-daily-post-more::after {
  content: " →";
}

.ll-daily-post-more:hover,
.ll-daily-post-more:focus {
  text-decoration: underline;
}

.ll-daily-video {
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--ll-ivory);
  box-shadow: 0 4px 16px rgb(84 60 22 / 7%);
  padding: 18px 18px 20px;
}

.ll-daily-video-embed {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.ll-daily-video-embed iframe,
.ll-daily-video-embed img {
  display: block;
  max-width: 100%;
}

.ll-daily-video-title {
  margin: 16px 4px 6px;
  font-family: var(--ll-head-font);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.ll-daily-video-title a {
  color: var(--ll-teal-dark);
  text-decoration: none;
}

.ll-daily-video-title a:hover,
.ll-daily-video-title a:focus {
  color: var(--ll-teal);
  text-decoration: underline;
}

.ll-daily-video-more {
  margin: 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ll-orange);
  text-decoration: none;
}

.ll-daily-video-more::after {
  content: " →";
}

.ll-daily-video-more:hover,
.ll-daily-video-more:focus {
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
 * Front page: testimony-of-the-day quote band.
 * ------------------------------------------------------------------------- */

/* Full-bleed band: the watercolor artwork is the section background, the text
 * stays inside the 1170px content column (as in the mockup). */
.ll-quote {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0;
  padding: 46px calc((100vw - 1170px) / 2 + 15px) 44px
           calc((100vw - 1170px) / 2 + 95px);
  background: #fcf1de;
  font-family: var(--ll-ui-font);
}

@media (max-width: 1199px) {
  .ll-quote {
    padding-left: 95px;
    padding-right: 15px;
  }
}

/* Watercolor heart + branch from the mockup, anchored to the right edge. */
.ll-quote::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(38vw, 480px);
  background: url("../images/quote-heart.jpg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  pointer-events: none;
}

.ll-quote-body {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

@media (max-width: 767px) {
  .ll-quote::after {
    width: 62vw;
    opacity: 0.4;
  }
}

.ll-quote-mark {
  position: absolute;
  top: 30px;
  left: calc((100vw - 1170px) / 2 + 15px);
  font-family: Georgia, serif;
  font-size: 6.5rem;
  line-height: 1;
  color: #f0c37b;
}

@media (max-width: 1199px) {
  .ll-quote-mark {
    left: 15px;
  }
}

.ll-quote-body {
  margin: 0;
}

.ll-quote-body > p {
  margin: 0 0 18px;
  font-family: "PT Serif", Georgia, serif;
  font-style: italic;
  font-size: 1rem; /* scales with browser font size */
  line-height: 1.6;
  color: #3c4643;
}

.ll-quote-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-size: 1rem;
}

.ll-quote-author {
  font-weight: 700;
  color: #7a5410;
}

.ll-quote-heart {
  color: #c8781d;
}

.ll-quote-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.ll-quote-links a {
  color: var(--ll-teal);
  font-weight: 700;
  text-decoration: none;
}

.ll-quote-links a:hover,
.ll-quote-links a:focus {
  text-decoration: underline;
}

@media (max-width: 575px) {
  .ll-quote {
    padding: 76px 20px 30px;
  }
  .ll-quote-mark {
    top: 18px;
    left: 18px;
    font-size: 5rem;
  }
  .ll-quote-body > p {
    font-size: 1.125rem;
  }
}
