:root {
  --ink: #30272b;
  --muted: #84777c;
  --accent: #e53e68;
  --accent2: #f6a4b6;
  --paper: #fff;
  --soft: #fff6f7;
  --line: #f0e4e7;
  --rose-deep: #7b203d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}

header {
  position: sticky;
  top: 0;
  background: #fffF;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1080px;
  min-height: 68px;
  padding: 10px 24px;
}

.brand {
  color: var(--rose-deep);
  font: 700 25px var(--serif);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.navlinks a {
  color: #55484d;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.menu {
  color: var(--rose-deep);
}

.wrap {
  max-width: 1080px;
  padding-inline: 24px;
}

.hero {
  padding: 0;
}

.banner-carousel {
  border-radius: 2px;
}

.banner-slide {
  height: clamp(230px, 34vw, 390px);
  min-height: 230px;
}

.hero-copy {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px) 24px clamp(28px, 4vw, 46px);
  text-align: left;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 10px 0;
  color: var(--rose-deep);
  font: 700 clamp(34px, 5vw, 58px)/1.1 var(--serif);
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.tabs {
  gap: 20px;
  padding: 12px 0 16px;
  border-bottom-color: var(--line);
}

.tab {
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
}

.tab.active,
.tab:hover {
  color: var(--accent);
  background: transparent;
  border-color: transparent;
}

.layout {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(30px, 6vw, 76px);
  padding-top: 38px;
}

.section-title {
  margin-bottom: 12px;
  color: var(--rose-deep);
  font: 700 25px var(--serif);
}

.posts {
  gap: 0;
}

.post-card {
  display: flex;
  min-height: 245px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 5vw, 56px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.post-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.post-card .post-meta {
  margin: 0 0 10px;
  color: #43989a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card h2 {
  max-width: 540px;
  margin: 0 0 11px;
  color: #b95d78;
  font: 700 clamp(24px, 3.2vw, 36px)/1.17 var(--serif);
}

.post-card .post-excerpt {
  max-width: 540px;
  color: #655b60;
  font-size: 15px;
  line-height: 1.75;
}

.post-img {
  width: min(36%, 270px);
  min-width: 160px;
  height: 190px;
  max-height: 190px;
  flex: 0 0 auto;
  border-radius: 2px;
  object-fit: cover;
}

.readmore {
  margin-top: 8px;
  padding: 4px 0;
  color: var(--accent);
  font-size: 13px;
}

.sidebar {
  padding-top: 5px;
}

.side-card {
  margin-bottom: 18px;
  padding: 18px;
  background: var(--soft);
}

.side-card h3 {
  color: var(--rose-deep);
  font: 700 19px var(--serif);
}

.side-card p {
  color: #655b60;
}

.site-footer {
  border-top: 4px solid var(--accent);
  padding: 34px 24px;
  color: #fff3f5;
  background: var(--rose-deep);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: #fff3f5;
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffc0cf;
  text-decoration: underline;
}

.modal {
  background: #271820b8;
}

.modal-box {
  width: min(790px, 100%);
  max-height: 92vh;
  padding: clamp(20px, 4vw, 38px);
  border-radius: 5px;
}

.modal-box > #modalContent > h2 {
  margin: 10px 34px 3px 0;
  color: var(--rose-deep);
  font: 700 clamp(28px, 4.3vw, 42px)/1.15 var(--serif);
}

.modal-box > #modalContent > .post-meta {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
}

.comments {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.comments h3 {
  color: var(--rose-deep);
  font: 700 24px var(--serif);
}

.comment-auth {
  position: relative;
  margin: 20px 0 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffbfb;
}

.comment-auth h4 {
  margin: 0 0 14px;
  color: var(--rose-deep);
  font: 700 19px var(--serif);
}

.comment-auth-form {
  display: grid;
  gap: 10px;
}

.comment-auth-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid #e6d8dd;
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.comment-auth-form input[hidden] {
  display: none;
}

.comment-auth-form button,
.comment-auth-actions button,
.comment-auth-google,
.comment-form button {
  justify-self: start;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 10px 16px;
  color: #fff;
  background: var(--accent);
  font: 700 13px var(--sans);
}

.comment-auth-google {
  width: 100%;
  color: var(--rose-deep);
  background: #fff;
}

.comment-auth-form button:disabled,
.comment-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.comment-auth-form .comment-auth-secondary,
.comment-auth-actions .comment-auth-secondary {
  border-color: var(--line);
  color: var(--rose-deep);
  background: #fff;
}

.comment-auth-separator {
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.comment-auth-message,
.comment-auth-identity {
  color: #62565b;
  font-size: 13px;
}

.comment-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.comment-auth-actions button {
  font-size: 12px;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.comment-form textarea {
  min-height: 95px;
  resize: vertical;
}

.comment-auth > .comment-form {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.comment-auth-identity {
  margin: 0 0 4px;
}

.comment-auth > .comment-auth-secondary {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
}

.comment {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.comment-author strong {
  color: var(--rose-deep);
}

.comment small {
  display: block;
  margin: 2px 0;
  color: var(--muted);
  font-size: 11px;
}

.comment p {
  margin: 5px 0;
  color: #51474c;
}

.comment-replies {
  margin-left: 14px;
  padding-left: 14px;
  border-left-color: #e8bbc7;
}

.post-body-text {
  color: #51474c;
}

.post-body-text a {
  color: var(--accent);
}

@media (max-width: 760px) {
  .nav {
    min-height: 62px;
    padding-inline: 16px;
  }

  .navlinks {
    top: 62px;
    background: #fff;
  }

  .hero-copy {
    padding: 34px 18px 25px;
  }

  .banner-slide {
    height: clamp(370px, 76vh, 510px);
    min-height: 370px;
    align-items: center;
  }

  .banner-copy {
    padding: 28px 18px 42px;
  }

  .banner-slide h2 {
    font-size: clamp(31px, 8vw, 44px);
    line-height: 1.08;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .wrap {
    padding-inline: 18px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 27px;
  }

  .post-card {
    min-height: 190px;
    gap: 16px;
    padding: 23px 0;
  }

  .post-card .post-meta {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .post-card h2 {
    font-size: clamp(21px, 6vw, 27px);
  }

  .post-card .post-excerpt {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .post-img {
    width: 35%;
    min-width: 112px;
    height: 144px;
    max-height: 144px;
  }

  .sidebar {
    display: block;
  }

  .footer-inner,
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    gap: 20px;
  }

  .site-footer {
    padding: 28px 20px;
  }

  .comment-auth {
    padding: 16px;
  }

  .comment-auth-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .comment-auth-actions button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .post-card {
    gap: 12px;
  }

  .post-img {
    min-width: 96px;
    width: 34%;
    height: 126px;
  }
}
