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

:root {
  --primary: #ff6b78;
  --primary-dark: #f25564;
  --primary-soft: #fff1f3;
  --navy: #26334a;
  --text: #6f7889;
  --muted: #a3aab6;
  --line: #eceef2;
  --surface: #fff;
  --soft: #fafbfc;
  --container: 1140px;
  --shadow: 0 10px 30px rgba(38, 51, 74, 0.07);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}
a:hover {
  color: var(--primary);
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  max-width: var(--container) !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: var(--navy);
  font-weight: 700;
}
p {
  font-size: 13px;
  line-height: 1.8;
}

/* HEADER */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-main {
  height: 125px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.header-brand-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f1f4;
  margin: 0 auto 7px;
}
.brand-name {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--navy);
}
.brand-name span {
  color: var(--primary);
}
.brand-subtitle {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  color: #a6adba;
}
.header-social,
.header-actions {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-social {
  left: 15px;
  top: 55px;
}
.header-actions {
  right: 15px;
  top: 50px;
}
.header-social a {
  font-size: 11px;
  color: #536179;
}
.header-social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}
.header-action {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #ff8c86);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.header-action:hover {
  color: #fff;
  box-shadow: 0 6px 15px rgba(255, 107, 120, 0.2);
  transform: translateY(-2px);
}
.site-nav {
  border-top: 1px solid #f2f3f5;
}
.site-nav .navbar {
  min-height: 52px;
}
.site-nav .navbar-nav {
  margin: auto;
  align-items: center;
}
.site-nav .nav-link {
  padding: 9px 17px !important;
  font-size: 11px;
  font-weight: 500;
  color: #7f8899;
  border-radius: 22px;
}
.site-nav .nav-link:hover {
  color: var(--primary);
}
.site-nav .nav-link.active {
  background: linear-gradient(135deg, var(--primary), #ff8e88);
  color: #fff;
}
.site-nav .dropdown-menu {
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.site-nav .dropdown-item {
  padding: 9px 12px;
  font-size: 11px;
  border-radius: 5px;
  color: var(--text);
}
.site-nav .dropdown-item:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* FEATURED CAROUSEL */
.featured-section {
  padding: 38px 0 30px;
  overflow: hidden;
}
.featured-carousel {
  position: relative;
}
.featured-track {
  display: flex;
  gap: 14px;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.featured-card {
  flex: 0 0 calc((100% - 56px) / 5);
  height: 185px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: #dfe4eb;
}
.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 41, 60, 0.15), rgba(28, 41, 60, 0.76));
}
.featured-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.badge-category {
  display: inline-flex;
  width: max-content;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}
.featured-content h2 {
  max-width: 190px;
  margin: 11px auto 7px;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}
.featured-meta {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.82);
}
.carousel-control-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 5;
}
.carousel-control-custom:hover {
  background: var(--primary);
  color: #fff;
}
.carousel-prev {
  left: -17px;
}
.carousel-next {
  right: -17px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}
.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9dce1;
}
.slider-dots button.active {
  width: 18px;
  border-radius: 10px;
  background: var(--primary);
}

/* MAIN */
.main-section {
  padding: 12px 0 70px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 28px;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: 0.25s ease;
}
.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.post-cover {
  display: block;
  width: 100%;
  height: 215px !important;
  overflow: hidden;
  position: relative;
  background: #e5e9ef;
}
.post-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.post-card-body {
  padding: 17px 18px 16px;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #a1a8b3;
  font-size: 8px;
}
.post-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.post-category {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 600;
  text-transform: capitalize;
}
.post-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}
.post-title:hover {
  color: var(--primary);
}
.post-excerpt {
  margin: 0;
  color: #8b94a3;
  font-size: 10px;
  line-height: 1.75;
}
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid #f1f2f4;
  color: #b3bac4;
  font-size: 11px;
}
.post-footer a:hover {
  color: var(--primary);
}

/* SIDEBAR */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.widget {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}
.widget-title {
  position: relative;
  margin: 0 0 23px;
  padding-bottom: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
}
.widget-title:after {
  content: "⌁";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  font-size: 16px;
  color: var(--primary);
}
.about-widget {
  text-align: center;
}
.about-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 50%;
  object-fit: cover;
}
.about-name {
  font-size: 14px;
  margin: 0 0 6px;
}
.about-text {
  max-width: 270px;
  margin: 0 auto;
  color: #8c95a4;
  font-size: 9px;
  line-height: 1.8;
}
.about-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.about-social a {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
  color: #58667b;
  font-size: 9px;
}
.about-social a:hover {
  background: var(--primary);
  color: #fff;
}
.popular-item {
  display: grid;
  grid-template-columns: 20px 58px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 17px;
}
.popular-item:last-child {
  margin-bottom: 0;
}
.popular-number {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 8px;
}
.popular-item img {
  width: 58px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
}
.popular-title {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 9px;
  line-height: 1.5;
  font-weight: 700;
}
.popular-date {
  font-size: 7px;
  color: #abb2bd;
}
.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.topic-list li {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 9px 0 9px 15px;
  border-bottom: 1px solid #f1f2f4;
  color: #697487;
  font-size: 9px;
}
.topic-list li:last-child {
  border-bottom: 0;
}
.topic-list li:before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 13px;
}
.topic-list span {
  color: #aeb4bd;
}
.newsletter {
  text-align: center;
}
.newsletter-highlight {
  font-size: 10px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.newsletter-small {
  font-size: 8px;
  color: #9ba3af;
  margin-bottom: 12px;
}
.newsletter input {
  width: 100%;
  height: 34px;
  border: 1px solid #e9ebef;
  border-radius: 20px;
  padding: 0 13px;
  text-align: center;
  outline: 0;
  font-size: 9px;
  margin-bottom: 8px;
}
.newsletter input:focus {
  border-color: var(--primary);
}
.newsletter button {
  width: 100%;
  height: 35px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--primary), #ff8d82);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
}
.newsletter-legal {
  font-size: 6.5px;
  color: #b4bac3;
  margin-top: 7px;
}
.newsletter-legal a {
  color: var(--primary);
}
.celebration-image {
  width: 100%;
  height: 125px;
  border-radius: 6px;
  object-fit: cover;
}
.celebration-title {
  margin: 9px 0 4px;
  font-size: 10px;
  color: var(--navy);
  line-height: 1.5;
}
.celebration-date {
  font-size: 7px;
  color: #adb4be;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-cloud a {
  padding: 5px 9px;
  border: 1px solid #e8eaee;
  border-radius: 20px;
  color: #929aa7;
  font-size: 7px;
}
.tag-cloud a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* PAGINATION */
.pagination-wrap {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 2px;
}
.pagination-wrap a {
  width: 32px;
  height: 32px;
  border: 1px solid #eceef1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9da5b1;
  font-size: 9px;
}
.pagination-wrap a:hover,
.pagination-wrap a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* INSTAGRAM */
.instagram-section {
  padding: 35px 0 28px;
  border-top: 1px solid #f0f1f3;
}
.instagram-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
.instagram-grid a {
  overflow: hidden;
  border-radius: 6px;
}
.instagram-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  transition: 0.4s;
}
.instagram-grid a:hover img {
  transform: scale(1.06);
}
.instagram-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 17px;
  border-radius: 25px;
  background: linear-gradient(90deg, var(--primary), #ff8d82);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(255, 107, 120, 0.2);
}

/* MODERN FOOTER */
.site-footer {
  margin-top: 0;
  background: #202b3d;
  color: #9da8b8;
}
.footer-top {
  padding: 55px 0 42px;
}
.footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.footer-brand span {
  color: #ff7884;
}
.footer-description {
  max-width: 330px;
  margin: 14px 0 18px;
  color: #9da8b8;
  font-size: 9px;
  line-height: 1.9;
}
.footer-heading {
  margin: 0 0 15px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 8px;
  color: #9da8b8;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 3px;
}
.footer-social-modern {
  display: flex;
  gap: 8px;
}
.footer-social-modern a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c3cad4;
  font-size: 10px;
}
.footer-social-modern a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.footer-newsletter {
  display: flex;
  height: 35px;
  margin-top: 13px;
}
.footer-newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 0;
  border-radius: 20px 0 0 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0 12px;
  font-size: 8px;
  outline: 0;
}
.footer-newsletter button {
  width: 40px;
  border: 0;
  border-radius: 0 20px 20px 0;
  background: var(--primary);
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.footer-copy {
  font-size: 7px;
  color: #8995a7;
}
.footer-policy {
  display: flex;
  gap: 15px;
}
.footer-policy a {
  font-size: 7px;
  color: #8995a7;
}
.footer-policy a:hover {
  color: #fff;
}
.back-top {
  font-size: 7px;
  color: #8995a7;
}
.back-top:hover {
  color: #fff;
}

/* INNER */
.page-header {
  padding: 52px 0;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
}
.page-kicker {
  color: var(--primary);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.page-title {
  margin: 5px 0 0;
  font-size: 32px;
  line-height: 1.3;
}
.breadcrumbs {
  margin-top: 9px;
  color: #a1a8b3;
  font-size: 8px;
}
.inner-section {
  padding: 50px 0 70px;
}
.article-page {
  max-width: 820px;
  margin: auto;
}
.article-header {
  text-align: center;
  margin-bottom: 28px;
}
.article-header .badge-category {
  margin-bottom: 13px;
}
.article-header h1 {
  margin: 0 auto 12px;
  font-size: 36px;
  line-height: 1.3;
}
.article-lead {
  max-width: 690px;
  margin: 0 auto;
  color: #8b94a2;
  font-size: 12px;
}
.article-meta {
  margin-top: 13px;
  color: #a6adb7;
  font-size: 8px;
}
.article-cover {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 8px;
  margin: 30px 0;
}
.article-body {
  color: #697487;
  font-size: 12px;
  line-height: 2;
}
.article-body h2 {
  margin: 30px 0 12px;
  font-size: 21px;
}
.article-body h3 {
  margin: 23px 0 10px;
  font-size: 17px;
}
.article-body blockquote {
  margin: 25px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  background: #fafbfc;
  font-size: 13px;
  font-style: italic;
}
.article-body ul,
.article-body ol {
  padding-left: 22px;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-tags a {
  padding: 5px 10px;
  border: 1px solid #e8eaee;
  border-radius: 20px;
  font-size: 7px;
  color: #949ca8;
}
.article-tags a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.about-page {
  max-width: 920px;
  margin: auto;
}
.about-photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
}
.about-page h2 {
  font-size: 26px;
}
.about-page p {
  font-size: 11px;
}
.info-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.info-card h3 {
  font-size: 15px;
}
.contact-form .form-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--navy);
}
.contact-form .form-control {
  font-size: 10px;
  border-color: #e7e9ed;
  padding: 10px 12px;
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 120, 0.08);
}
.search-bar {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
}
.search-bar input {
  height: 42px;
  flex: 1;
  border: 1px solid #e8eaee;
  border-radius: 24px;
  padding: 0 17px;
  font-size: 10px;
  outline: 0;
}
.search-bar input:focus {
  border-color: var(--primary);
}
.search-bar button {
  width: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.no-results {
  display: none;
  padding: 40px;
  text-align: center;
  color: #929aa6;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
  .container {
    max-width: 960px !important;
  }
  .featured-card {
    flex-basis: calc((100% - 42px) / 4);
  }
}
@media (max-width: 991px) {
  .header-main {
    height: 112px;
  }
  .header-social,
  .header-actions {
    display: none;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-card {
    flex-basis: calc((100% - 28px) / 3);
  }
}
@media (max-width: 767px) {
  body {
    font-size: 13px;
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .site-nav .navbar-nav {
    align-items: stretch;
    padding: 8px 0;
  }
  .site-nav .nav-link {
    padding: 9px 12px !important;
  }
  .featured-section {
    padding: 25px 0;
  }
  .featured-card {
    flex-basis: 78vw;
    height: 190px;
  }
  .carousel-control-custom {
    display: none;
  }
  .content-grid {
    gap: 28px;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .post-cover {
    height: 230px !important;
  }
  .post-card-body {
    padding: 16px;
  }
  .post-title {
    font-size: 16px;
  }
  .post-excerpt {
    font-size: 11px;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .instagram-grid img {
    height: 105px;
  }
  .instagram-label {
    font-size: 7px;
    padding: 7px 10px;
  }
  .footer-top {
    padding: 42px 0 28px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-policy {
    justify-content: center;
  }
  .page-header {
    padding: 40px 0;
  }
  .page-title {
    font-size: 26px;
  }
  .article-header h1 {
    font-size: 27px;
  }
  .article-cover {
    height: 280px;
  }
  .article-body {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .featured-card {
    flex-basis: 84vw;
  }
  .post-cover {
    height: 215px !important;
  }
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

body {
  font-size: 16px;
}
p {
  font-size: 15px;
}
.site-nav .nav-link,
.site-nav .dropdown-item {
  font-size: 14px;
}
.brand-subtitle {
  font-size: 11px;
}
.header-social a {
  font-size: 13px;
}
.featured-content h2 {
  font-size: 17px;
}
.featured-meta {
  font-size: 11px;
}
.post-author {
  font-size: 11px;
}
.post-category {
  font-size: 12px;
}
.post-title {
  font-size: 18px;
}
.post-excerpt {
  font-size: 14px;
}
.post-footer {
  font-size: 13px;
}
.widget-title {
  font-size: 17px;
}
.about-name {
  font-size: 17px;
}
.about-text {
  font-size: 13px;
}
.popular-title {
  font-size: 12px;
}
.popular-date {
  font-size: 10px;
}
.topic-list li {
  font-size: 13px;
}
.newsletter-highlight {
  font-size: 13px;
}
.newsletter-small {
  font-size: 11px;
}
.newsletter input,
.newsletter button {
  font-size: 12px;
}
.celebration-title {
  font-size: 13px;
}
.tag-cloud a {
  font-size: 11px;
}
.pagination-wrap a {
  font-size: 12px;
}
.instagram-label {
  font-size: 12px;
}
.footer-description {
  font-size: 12px;
}
.footer-heading {
  font-size: 14px;
}
.footer-links a {
  font-size: 11px;
}
.footer-copy,
.footer-policy a,
.back-top {
  font-size: 10px;
}
.page-kicker {
  font-size: 11px;
}
.breadcrumbs {
  font-size: 10px;
}
.article-lead {
  font-size: 15px;
}
.article-meta {
  font-size: 11px;
}
.article-body {
  font-size: 15px;
}
.article-tags a {
  font-size: 11px;
}
.about-page p {
  font-size: 14px;
}
.contact-form .form-label {
  font-size: 12px;
}
.contact-form .form-control,
.search-bar input {
  font-size: 13px;
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }
  .post-title {
    font-size: 18px;
  }
  .post-excerpt {
    font-size: 14px;
  }
  .page-title {
    font-size: 28px;
  }
  .article-header h1 {
    font-size: 30px;
  }
  .article-body {
    font-size: 14px;
  }
}

:root {
  --primary: #d56445;
  --primary-dark: #a94731;
  --primary-soft: #f7e5dc;
  --navy: #17231f;
  --text: #59645f;
  --muted: #8d9790;
  --line: #dce1da;
  --surface: #fffdf8;
  --soft: #f5f2ea;
  --container: 1180px;
  --shadow: 0 18px 45px rgba(23, 35, 31, 0.08);
  --teal: #246b68;
}

html {
  background: var(--soft);
}

body {
  background: var(--soft);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
}

a:hover {
  color: var(--primary-dark);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-main {
  height: 142px;
}

.header-brand-photo {
  width: 62px;
  height: 62px;
  border: 4px solid var(--primary-soft);
  margin-bottom: 9px;
}

.brand-name {
  font-size: 30px;
  line-height: 1;
  color: var(--navy);
}

.brand-name span,
.footer-brand span {
  color: var(--primary);
}

.brand-subtitle {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-social,
.header-actions {
  gap: 14px;
}

.header-social a {
  color: var(--muted);
  font-size: 14px;
}

.header-action {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--surface);
  font-size: 15px;
}

.header-action:hover {
  background: var(--teal);
  box-shadow: 0 8px 20px rgba(36, 107, 104, 0.2);
}

.site-nav {
  border-top: 1px solid var(--line);
}

.site-nav .navbar {
  min-height: 62px;
}

.site-nav .nav-link {
  padding: 11px 18px !important;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-nav .nav-link:hover {
  color: var(--primary);
}

.site-nav .nav-link.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.site-nav .dropdown-menu {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-nav .dropdown-item {
  padding: 10px 13px;
  color: var(--text);
  font-size: 13px;
}

.featured-section {
  padding: 52px 0 42px;
  background: var(--navy);
}

.featured-track {
  gap: 18px;
}

.featured-card {
  height: 245px;
  border-radius: 14px;
  background: #293a35;
}

.featured-card:after {
  background: linear-gradient(180deg, rgba(23, 35, 31, 0.04), rgba(23, 35, 31, 0.9));
}

.featured-content {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  text-align: left;
}

.badge-category {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--primary);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-content h2 {
  max-width: 230px;
  margin: 12px 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.featured-meta {
  color: rgba(255, 253, 248, 0.72);
  font-size: 11px;
}

.carousel-control-custom {
  width: 40px;
  height: 40px;
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.carousel-control-custom:hover {
  background: var(--primary);
  color: #fff;
}

.slider-dots button {
  background: rgba(255, 253, 248, 0.35);
}

.slider-dots button.active {
  background: var(--primary);
}

.main-section {
  padding: 72px 0 92px;
}

.content-grid {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  gap: 48px;
}

.posts-grid {
  gap: 28px;
}

.post-card,
.widget,
.info-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.post-card {
  box-shadow: 0 4px 0 rgba(23, 35, 31, 0.02);
}

.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.post-cover {
  height: 250px !important;
}

.post-card-body {
  padding: 22px 22px 20px;
}

.post-author {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}

.post-author img {
  width: 28px;
  height: 28px;
}

.post-category,
.page-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-title {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

.post-title:hover {
  color: var(--primary-dark);
}

.post-excerpt {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.post-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-color: var(--line);
  color: var(--muted);
  font-size: 14px;
}

.sidebar {
  gap: 24px;
}

.widget {
  padding: 26px;
}

.widget-title {
  margin-bottom: 27px;
  padding-bottom: 14px;
  font-size: 20px;
  text-align: left;
}

.widget-title:after {
  left: 0;
  transform: none;
  bottom: -7px;
  color: var(--primary);
  font-size: 20px;
}

.about-avatar {
  width: 88px;
  height: 88px;
  border: 4px solid var(--primary-soft);
}

.about-name {
  font-size: 20px;
}

.about-text,
.popular-title,
.topic-list li,
.newsletter-small,
.celebration-title {
  font-size: 14px;
}

.about-text {
  color: var(--text);
  line-height: 1.7;
}

.about-social a {
  width: 32px;
  height: 32px;
  background: var(--soft);
  color: var(--teal);
  font-size: 13px;
}

.popular-item {
  grid-template-columns: 26px 72px 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.popular-number {
  width: 24px;
  height: 24px;
  background: var(--teal);
  font-size: 11px;
}

.popular-item img {
  width: 72px;
  height: 56px;
  border-radius: 8px;
}

.popular-title {
  color: var(--navy);
  line-height: 1.35;
}

.popular-date,
.celebration-date {
  color: var(--muted);
  font-size: 11px;
}

.topic-list li {
  padding: 12px 0 12px 19px;
  border-color: var(--line);
}

.topic-list li:before {
  color: var(--primary);
  font-size: 18px;
}

.newsletter-highlight {
  color: var(--navy);
  font-size: 16px;
}

.newsletter input,
.newsletter button,
.footer-newsletter input {
  height: 44px;
  border-radius: 8px;
  font-size: 13px;
}

.newsletter input {
  border-color: var(--line);
  text-align: left;
}

.newsletter button {
  background: var(--teal);
}

.newsletter-legal {
  font-size: 10px;
}

.celebration-image {
  height: 160px;
  border-radius: 10px;
}

.tag-cloud {
  gap: 8px;
}

.tag-cloud a,
.article-tags a {
  padding: 7px 11px;
  border-color: var(--line);
  border-radius: 6px;
  color: var(--teal);
  font-size: 11px;
}

.tag-cloud a:hover,
.article-tags a:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.pagination-wrap {
  gap: 8px;
  margin-top: 10px;
}

.pagination-wrap a {
  width: 38px;
  height: 38px;
  border-color: var(--line);
  border-radius: 8px;
  font-size: 13px;
}

.pagination-wrap a:hover,
.pagination-wrap a.active {
  background: var(--teal);
  border-color: var(--teal);
}

.instagram-section {
  padding: 58px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.instagram-grid {
  gap: 8px;
}

.instagram-grid a {
  border-radius: 10px;
}

.instagram-grid img {
  height: 145px;
}

.instagram-label {
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--navy);
  font-size: 12px;
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--navy);
  color: #b6c0b9;
}

.footer-top {
  padding: 72px 0 56px;
}

.footer-brand {
  font-size: 30px;
}

.footer-description {
  color: #b6c0b9;
  font-size: 13px;
  line-height: 1.8;
}

.footer-heading {
  margin-bottom: 18px;
  color: var(--surface);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #b6c0b9;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-social-modern a {
  width: 36px;
  height: 36px;
  border-color: rgba(255, 253, 248, 0.2);
  font-size: 13px;
}

.footer-newsletter {
  height: 44px;
}

.footer-newsletter input {
  border-color: rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.08);
  color: var(--surface);
}

.footer-newsletter button {
  width: 48px;
  border-radius: 0 8px 8px 0;
  background: var(--primary);
}

.footer-bottom {
  border-top-color: rgba(255, 253, 248, 0.13);
  padding: 22px 0;
}

.footer-copy,
.footer-policy a,
.back-top {
  color: #8f9c94;
  font-size: 11px;
}

.page-header {
  padding: 72px 0;
  background: var(--navy);
  border-bottom: 0;
}

.page-header .page-kicker {
  color: #e79a7f;
}

.page-title {
  margin-top: 9px;
  color: var(--surface);
  font-size: 48px;
  line-height: 1.12;
}

.breadcrumbs {
  margin-top: 14px;
  color: #aebbb3;
  font-size: 12px;
}

.inner-section {
  padding: 80px 0 100px;
}

.article-page {
  max-width: 860px;
}

.article-header h1 {
  color: var(--navy);
  font-size: 52px;
  line-height: 1.12;
}

.article-lead {
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.article-meta {
  color: var(--muted);
  font-size: 12px;
}

.article-cover {
  height: 510px;
  border-radius: 14px;
  margin: 38px 0 44px;
}

.article-body {
  color: var(--text);
  font-size: 18px;
  line-height: 1.9;
}

.article-body h2 {
  margin-top: 44px;
  color: var(--navy);
  font-size: 30px;
}

.article-body h3 {
  color: var(--navy);
  font-size: 23px;
}

.article-body blockquote {
  padding: 24px 28px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  color: var(--navy);
  font-size: 20px;
}

.about-page h2 {
  color: var(--navy);
  font-size: 36px;
  line-height: 1.2;
}

.about-page p {
  font-size: 16px;
}

.about-photo {
  height: 390px;
  border-radius: 14px;
}

.info-card {
  padding: 28px;
}

.info-card h3 {
  color: var(--navy);
  font-size: 22px;
}

.info-card p {
  font-size: 15px;
}

.contact-form .form-label {
  color: var(--navy);
  font-size: 13px;
}

.contact-form .form-control,
.search-bar input {
  border-color: var(--line);
  border-radius: 8px;
  font-size: 15px;
}

.search-bar input {
  height: 50px;
}

.search-bar button {
  width: 50px;
  background: var(--teal);
}

.offcanvas-title {
  color: var(--navy) !important;
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px !important;
}

.offcanvas-body p {
  color: var(--text) !important;
  font-size: 14px !important;
}

.offcanvas .btn-light {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
}

.btn-primary {
  border-color: var(--teal);
  background: var(--teal);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--navy);
  background: var(--navy);
}

.accordion-item {
  border-color: var(--line);
  background: var(--surface);
}

.accordion-button {
  color: var(--navy);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: var(--teal);
  background: var(--primary-soft);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(213, 100, 69, 0.12);
}

.footer-description[style] {
  font-size: 13px !important;
}

@media (max-width: 991px) {
  .header-main {
    height: 118px;
  }

  .header-social {
    display: none;
  }

  .header-actions {
    display: flex;
    right: 15px;
    top: 39px;
  }

  .content-grid {
    gap: 34px;
  }
}

@media (max-width: 767px) {
  .header-main {
    height: 110px;
  }

  .brand-name {
    font-size: 27px;
  }

  .featured-section {
    padding: 34px 0 30px;
  }

  .featured-card {
    height: 265px;
  }

  .featured-content h2 {
    font-size: 21px;
  }

  .main-section {
    padding: 48px 0 64px;
  }

  .post-cover {
    height: 245px !important;
  }

  .post-title {
    font-size: 22px;
  }

  .page-header {
    padding: 52px 0;
  }

  .page-title {
    font-size: 36px;
  }

  .inner-section {
    padding: 56px 0 72px;
  }

  .article-header h1 {
    font-size: 38px;
  }

  .article-lead {
    font-size: 16px;
  }

  .article-cover {
    height: 300px;
  }

  .article-body {
    font-size: 17px;
  }

  .article-body h2 {
    font-size: 27px;
  }

  .about-page h2 {
    font-size: 30px;
  }

  .about-photo {
    height: 300px;
  }

  .instagram-grid img {
    height: 120px;
  }
}

.editorial-intro,
.topic-directory {
  padding: 92px 0;
  background: var(--surface);
}

.editorial-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 90px;
  align-items: end;
}

.editorial-intro h2,
.section-heading-row h2,
.reader-banner h2 {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.15;
}

.editorial-intro p {
  max-width: 450px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--primary-dark);
}

.topic-directory {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-heading-row h2 {
  font-size: 38px;
}

.topic-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-directory-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  color: var(--navy);
}

.topic-directory-item:first-child {
  border-left: 1px solid var(--line);
}

.topic-directory-item span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.topic-directory-item strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
}

.topic-directory-item i {
  color: var(--teal);
  font-size: 16px;
  transition: transform 0.2s ease;
}

.topic-directory-item:hover {
  background: var(--surface);
  color: var(--primary-dark);
}

.topic-directory-item:hover i {
  transform: translate(3px, -3px);
}

.reader-banner {
  padding: 76px 0;
  background: var(--teal);
}

.reader-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.reader-banner .page-kicker {
  color: #f2b09a;
}

.reader-banner h2 {
  max-width: 560px;
  color: var(--surface);
  font-size: 40px;
}

.reader-banner p {
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.75);
  font-size: 16px;
}

.reader-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  min-width: min(100%, 430px);
}

.reader-form input {
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 248, 0.3);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 253, 248, 0.1);
  color: var(--surface);
  font-size: 14px;
}

.reader-form input::placeholder {
  color: rgba(255, 253, 248, 0.65);
}

.reader-form button {
  height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.reader-form button:hover {
  background: var(--primary-dark);
}

.reader-form [data-form-message] {
  grid-column: 1 / -1;
  color: #fff;
  font-size: 12px;
}

@media (max-width: 767px) {
  .editorial-intro,
  .topic-directory {
    padding: 62px 0;
  }

  .editorial-intro-grid,
  .reader-banner-inner {
    grid-template-columns: 1fr;
    display: grid;
    gap: 30px;
  }

  .editorial-intro h2,
  .section-heading-row h2,
  .reader-banner h2 {
    font-size: 31px;
  }

  .editorial-intro p {
    font-size: 16px;
  }

  .section-heading-row {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading-row .text-link {
    margin-top: 17px;
  }

  .topic-directory-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topic-directory-item:nth-child(2) {
    border-right: 0;
  }

  .topic-directory-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .reader-banner {
    padding: 58px 0;
  }

  .reader-form {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .reader-form {
    grid-template-columns: 1fr;
  }

  .reader-form button {
    width: 100%;
  }
}

.page-additions {
  padding: 0 0 96px;
  background: var(--soft);
}

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

.addition-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 4px 0 rgba(23, 35, 31, 0.02);
}

.addition-card:nth-child(2) {
  background: var(--primary-soft);
}

.addition-card:nth-child(3) {
  background: var(--navy);
}

.addition-card:nth-child(3) h2 {
  color: var(--surface);
}

.addition-card:nth-child(3) p {
  color: #b6c0b9;
}

.addition-card .page-kicker {
  margin-bottom: 16px;
}

.addition-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.2;
}

.addition-card p {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.addition-card .text-link {
  font-size: 12px;
}

@media (max-width: 767px) {
  .page-additions {
    padding-bottom: 64px;
  }

  .addition-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .addition-card {
    min-height: 0;
    padding: 24px;
  }

  .addition-card h2 {
    font-size: 25px;
  }
}

.unique-page {
  padding: 0 0 96px;
  background: var(--soft);
}

.unique-section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.unique-section-heading h2 {
  margin: 12px 0 14px;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.15;
}

.unique-section-heading p {
  max-width: 570px;
  margin: 0 auto;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.unique-page .addition-grid {
  gap: 18px;
}

.unique-page .addition-card {
  min-height: 265px;
}

.unique-page .addition-card:nth-child(2) {
  background: var(--surface);
}

.unique-page .addition-card:nth-child(3) {
  background: var(--primary-soft);
}

.unique-page .addition-card:nth-child(3) h2,
.unique-page .addition-card:nth-child(3) p {
  color: var(--navy);
}

.unique-error-page .unique-section-heading {
  padding-top: 72px;
}

.error-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.error-paths a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  color: var(--navy);
}

.error-paths a:first-child {
  border-left: 1px solid var(--line);
}

.error-paths span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.error-paths strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
}

.error-paths i {
  color: var(--teal);
}

.error-paths a:hover {
  background: var(--surface);
  color: var(--primary-dark);
}

.unique-note {
  max-width: 580px;
  margin: 46px auto 0;
  padding: 28px 32px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  text-align: center;
}

.unique-note h3 {
  margin: 10px 0 6px;
  font-size: 24px;
}

.unique-note p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.about-extensions .addition-card:first-child,
.author-extensions .addition-card:first-child {
  border-top: 4px solid var(--teal);
}

.blog-extensions .addition-card:first-child,
.search-extensions .addition-card:first-child {
  background: var(--navy);
}

.blog-extensions .addition-card:first-child h2,
.blog-extensions .addition-card:first-child p,
.search-extensions .addition-card:first-child h2,
.search-extensions .addition-card:first-child p {
  color: var(--surface);
}

.category-extensions .addition-card:nth-child(2),
.faq-extensions .addition-card:nth-child(2) {
  border-top: 4px solid var(--primary);
}

.contact-extensions .addition-card:first-child {
  background: var(--teal);
}

.contact-extensions .addition-card:first-child h2,
.contact-extensions .addition-card:first-child p {
  color: var(--surface);
}

.privacy-extensions .addition-card:first-child,
.terms-extensions .addition-card:first-child {
  background: #edf2ec;
}

.article-extensions .addition-card:nth-child(2) {
  background: var(--primary-soft);
}

@media (max-width: 767px) {
  .unique-page {
    padding-bottom: 64px;
  }

  .unique-section-heading {
    margin-bottom: 26px;
    padding-top: 48px;
  }

  .unique-section-heading h2 {
    font-size: 32px;
  }

  .unique-section-heading p {
    font-size: 16px;
  }

  .error-paths {
    grid-template-columns: 1fr;
  }

  .error-paths a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .error-paths a:last-child {
    border-bottom: 0;
  }

  .unique-note {
    margin-top: 28px;
    padding: 24px;
  }
}

.article-author-info,
.comments-section,
.leave-comment,
.related-posts {
  padding: 82px 0;
}

.article-author-info {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.comments-section,
.related-posts {
  background: var(--soft);
}

.leave-comment {
  background: var(--primary-soft);
}

.article-support-heading {
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}

.article-support-heading h2 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.15;
}

.article-support-heading h2 span {
  color: var(--primary);
  font-size: 0.65em;
  vertical-align: middle;
}

.article-support-heading p {
  margin: 0 auto;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.author-info-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 760px;
  margin: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.author-info-panel img {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  border: 5px solid var(--primary-soft);
  border-radius: 50%;
  object-fit: cover;
}

.author-info-panel h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 25px;
}

.author-info-panel p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.article-support-narrow {
  max-width: 820px;
}

.comment-list {
  display: grid;
  gap: 18px;
}

.comment-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.comment-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.comment-avatar-alt {
  background: var(--primary);
}

.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.comment-meta strong {
  color: var(--navy);
  font-size: 15px;
}

.comment-meta span {
  color: var(--muted);
  font-size: 12px;
}

.comment-item p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.comment-item a {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.comment-form {
  padding: 30px;
  border: 1px solid rgba(213, 100, 69, 0.2);
  border-radius: 14px;
  background: var(--surface);
}

.comment-form .form-control {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 8px;
  font-size: 15px;
}

.comment-form textarea.form-control {
  min-height: 150px;
}

.comment-form .form-label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.comment-form [data-form-message] {
  margin-top: 14px;
  color: var(--teal);
  font-size: 13px;
  line-height: 1.5;
}

.related-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.related-post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.related-post-card a {
  display: block;
}

.related-post-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.related-post-card > a > div {
  padding: 20px;
}

.related-post-card .post-category {
  margin-bottom: 8px;
}

.related-post-card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.25;
}

.related-post-link {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .article-author-info,
  .comments-section,
  .leave-comment,
  .related-posts {
    padding: 58px 0;
  }

  .article-support-heading h2 {
    font-size: 31px;
  }

  .author-info-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .comment-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 18px;
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
  }

  .comment-meta {
    display: block;
  }

  .comment-meta span {
    display: block;
    margin-top: 3px;
  }

  .comment-form {
    padding: 20px;
  }

  .related-post-grid {
    grid-template-columns: 1fr;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

.container {
  width: 100%;
}

.featured-viewport,
.featured-track,
.content-grid,
.posts-grid,
.sidebar,
.related-post-grid {
  min-width: 0;
}

.post-card,
.widget,
.addition-card,
.related-post-card,
.author-info-panel,
.comment-form,
.comment-item {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    max-width: 100% !important;
    padding-left: 28px;
    padding-right: 28px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
    gap: 28px;
  }

  .featured-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .post-cover {
    height: clamp(210px, 25vw, 250px) !important;
  }

  .page-title {
    font-size: clamp(38px, 5vw, 48px);
  }

  .article-header h1 {
    font-size: clamp(38px, 5vw, 52px);
  }
}

@media (max-width: 991px) {
  .header-main {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-nav .navbar-collapse {
    padding: 8px 0 14px;
    background: var(--surface);
  }

  .site-nav .navbar-nav {
    width: 100%;
  }

  .site-nav .nav-link {
    display: block;
    width: 100%;
  }

  .site-nav .dropdown-menu {
    margin: 0 12px 8px;
    box-shadow: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top .row > [class*="col-"] {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100% !important;
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-main {
    height: 96px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-name {
    font-size: 25px;
  }

  .brand-subtitle {
    max-width: 210px;
    margin: 7px auto 0;
    font-size: 9px;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  .header-actions {
    top: 28px;
    right: 18px;
    gap: 7px;
  }

  .header-action {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .site-nav .navbar {
    min-height: 54px;
  }

  .site-nav .navbar-toggler {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .featured-section {
    padding: 30px 0 28px;
  }

  .featured-card {
    flex-basis: calc(100vw - 36px);
    height: 250px;
  }

  .featured-content {
    padding: 20px;
  }

  .featured-content h2 {
    max-width: 100%;
    font-size: 20px;
  }

  .carousel-prev,
  .carousel-next {
    display: none;
  }

  .main-section {
    padding: 48px 0 64px;
  }

  .posts-grid,
  .sidebar,
  .addition-grid,
  .related-post-grid,
  .topic-directory-grid {
    grid-template-columns: 1fr;
  }

  .post-cover {
    height: auto !important;
    aspect-ratio: 16 / 10;
  }

  .post-card-body {
    padding: 20px;
  }

  .post-title {
    font-size: 21px;
  }

  .post-excerpt,
  .about-text,
  .popular-title,
  .topic-list li,
  .footer-description {
    font-size: 14px;
  }

  .page-header {
    padding: 48px 0;
  }

  .page-title {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 40px);
    overflow-wrap: anywhere;
  }

  .breadcrumbs {
    overflow-wrap: anywhere;
  }

  .inner-section {
    padding: 54px 0 70px;
  }

  .article-page {
    width: 100%;
  }

  .article-header h1 {
    font-size: clamp(34px, 9vw, 42px);
    overflow-wrap: anywhere;
  }

  .article-cover {
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 28px 0 34px;
  }

  .article-body {
    font-size: 17px;
    line-height: 1.8;
  }

  .article-body h2 {
    font-size: 27px;
  }

  .article-body blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
    font-size: 18px;
  }

  .search-bar {
    gap: 8px;
  }

  .search-bar input {
    min-width: 0;
    width: 100%;
  }

  .footer-top {
    padding: 56px 0 36px;
  }

  .footer-newsletter {
    max-width: 100%;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-grid img {
    height: auto;
    aspect-ratio: 1;
  }

  .instagram-label {
    max-width: calc(100% - 30px);
    padding: 9px 12px;
    font-size: 10px;
    white-space: nowrap;
  }

  .editorial-intro-grid,
  .reader-banner-inner {
    min-width: 0;
  }

  .reader-form {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-actions .header-action:first-child {
    display: none;
  }

  .header-main {
    height: 88px;
  }

  .header-actions {
    top: 25px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-subtitle {
    max-width: 185px;
    font-size: 8px;
  }

  .featured-card {
    flex-basis: calc(100vw - 36px);
  }

  .post-card-body,
  .widget {
    padding: 18px;
  }

  .article-support-heading h2,
  .unique-section-heading h2 {
    font-size: 29px;
  }

  .author-info-panel,
  .comment-form {
    padding: 18px;
  }
}

.documentation-page {
  padding: 78px 0 100px;
  background: var(--soft);
}

.documentation-intro {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.documentation-intro h2 {
  margin: 12px 0 16px;
  color: var(--navy);
  font-size: 48px;
  line-height: 1.12;
}

.documentation-intro p {
  margin: 0 auto;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

.documentation-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 820px);
  gap: 70px;
  justify-content: center;
  align-items: start;
}

.documentation-nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border-left: 3px solid var(--primary);
  background: var(--surface);
}

.documentation-nav strong {
  margin-bottom: 5px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
}

.documentation-nav a {
  color: var(--text);
  font-size: 13px;
}

.documentation-nav a:hover {
  color: var(--primary-dark);
}

.documentation-content {
  min-width: 0;
}

.documentation-section {
  margin-bottom: 72px;
  scroll-margin-top: 24px;
}

.documentation-section:last-child {
  margin-bottom: 0;
}

.documentation-section h2 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.18;
}

.documentation-section p,
.documentation-section li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

.documentation-section ul {
  padding-left: 22px;
}

.documentation-section code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.88em;
}

.documentation-section pre {
  overflow-x: auto;
  margin: 22px 0;
  padding: 20px 22px;
  border-radius: 10px;
  background: var(--navy);
  color: #e7eee9;
  white-space: pre;
}

.documentation-section pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
}

.documentation-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.documentation-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1fr;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.documentation-table div:last-child {
  border-bottom: 0;
}

.documentation-table span {
  color: var(--text);
  font-size: 14px;
}

.documentation-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.documentation-cards article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.documentation-cards i {
  color: var(--teal);
  font-size: 24px;
}

.documentation-cards h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.documentation-cards p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .documentation-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .documentation-nav {
    position: static;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .documentation-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .documentation-page {
    padding: 56px 0 72px;
  }

  .documentation-intro {
    margin-bottom: 42px;
  }

  .documentation-intro h2 {
    font-size: 34px;
  }

  .documentation-intro p {
    font-size: 16px;
  }

  .documentation-nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }

  .documentation-section {
    margin-bottom: 52px;
  }

  .documentation-section h2 {
    font-size: 29px;
  }

  .documentation-section p,
  .documentation-section li {
    font-size: 15px;
  }

  .documentation-table div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .documentation-cards {
    grid-template-columns: 1fr;
  }
}
