/* Breadcrumb */
.post-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 18px;
}
.post-breadcrumb a {
  font-weight: 500;
  color: var(--text-2);
}
.post-breadcrumb a:hover {
  color: var(--primary);
}
.post-breadcrumb .sep {
  color: #cccbc6;
}
.post-breadcrumb .current {
  color: var(--primary);
  font-weight: 500;
}

/* Hero */
.post-hero__section {
  text-align: center;
}
.post-category {
  display: inline-block;
  background-color: var(--primary);
  color: var(--light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.post-title {
  font-size: clamp(28px, 4.5vw, 48px);
  letter-spacing: -2%;
  max-width: 900px;
  margin: 0 auto 16px;
}
.post-excerpt {
  max-width: 760px;
  margin: 0 auto;
}
.post-excerpt p {
  font-size: clamp(16px, 2vw, 18px);
}

.post-meta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 938px;
  margin: clamp(20px, 3vw, 30px) auto 0;
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1.5px dashed #1e323833;
}
.share-list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.share-list span {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  margin-right: 4px;
}
.share-list a {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background-color: #f0eadd;
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.share-list a:hover {
  background-color: var(--primary);
  color: var(--light);
}
.share-list svg {
  width: 16px;
  height: 16px;
}

.post-thumbnail {
  margin-top: clamp(25px, 4vw, 35px);
}
.post-thumbnail img {
  width: 100%;
  aspect-ratio: 12 / 6;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.post-thumbnail-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
}

/* Content layout */
.post-body-wrapper {
  display: flex;
  align-items: start;
  gap: clamp(30px, 4vw, 45px);
  margin-top: clamp(40px, 5vw, 60px);
}
.post-body-wrapper article {
  width: 66.5%;
}
.post-sidebar {
  width: 33.5%;
  position: sticky;
  top: 120px;
}

/* Article typography — scoped to .post-body-wrapper .post-content only */
.post-body-wrapper .post-content p {
  font-size: 18px;
  margin-bottom: 20px;
}
.post-body-wrapper .post-content > p:first-of-type::first-letter {
  font-family: var(--secondary-font);
  font-size: 62px;
  font-weight: 700;
  color: var(--primary);
  float: left;
  line-height: 0.8;
  margin: 6px 10px 0 0;
}
.post-body-wrapper .post-content h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin: 35px 0 16px;
}
.post-body-wrapper .post-content figure {
  margin: 30px 0;
}
.post-body-wrapper .post-content figure img {
  width: 100%;
  border-radius: 5px;
  display: block;
}
.post-body-wrapper .post-content figcaption {
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  margin-top: 10px;
}

.post-body-wrapper .post-content blockquote {
  background: linear-gradient(145.98deg, #a4ecfd 7.47%, #e4faff 93.27%);
  border-radius: 0 60px 0 60px;
  padding: clamp(24px, 4vw, 36px);
  margin: 30px 0;
}
.post-body-wrapper .post-content blockquote p {
  font-family: var(--secondary-font);
  font-size: clamp(20px, 3vw, 25px);
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.45;
  margin: 0;
}
.post-body-wrapper .post-content blockquote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: #395b69;
}

.post-body-wrapper .post-content .gallery {
  margin: 30px 0;
}

/* Tags */
.tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(30px, 4vw, 40px);
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1.5px dashed #1e323833;
}
.tag-list span.label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-right: 4px;
}
.tag-list a {
  background-color: #f0eadd;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 5px;
  transition: var(--transition);
}
.tag-list a:hover {
  background-color: var(--primary);
  color: var(--light);
}

/* Author box (end of article) */
.post-author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f0eadd;
  border-radius: 5px;
  padding: clamp(20px, 3vw, 28px);
  margin-top: clamp(25px, 3vw, 35px);
}
.post-author-box img {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 50%;
  border: 2.77px solid #ffffff;
  object-fit: cover;
  object-position: top;
}
.post-author-box h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.post-author-box p {
  font-size: 14px;
  margin: 0;
}

/* Sidebar widgets */
.widget-box {
  background-color: var(--light);
  box-shadow: inset 0 0 0 1px #0000001a;
  border-radius: 5px;
  padding: clamp(18px, 2vw, 24px);
  margin-bottom: 25px;
}
.widget-box .widget-title {
  font-family: var(--secondary-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
  display: block;
  margin-bottom: 18px;
}
.widget-author {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.widget-author img {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  border: 2.77px solid #f0eadd;
  object-fit: cover;
  object-position: top;
}
.widget-author h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.widget-author span {
  font-size: 13px;
  color: var(--text-2);
}

.widget-subscribe {
  background-color: #0783b3;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  padding: 28px;
  margin-bottom: 25px;
}
.widget-subscribe::before {
  content: "";
  background-image: url(../img/aartha-bg.png);
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.widget-subscribe > * {
  position: relative;
  z-index: 1;
}
.widget-subscribe h4 {
  color: var(--light);
  font-size: 19px;
  margin-bottom: 8px;
}
.widget-subscribe p {
  color: #daedf4;
  font-size: 14px;
  margin-bottom: 20px;
}

.widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.widget-tags a {
  background-color: #f0eadd;
  color: var(--text-1);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 5px;
  transition: var(--transition);
}
.widget-tags a:hover {
  background-color: var(--primary);
  color: var(--light);
}

/* Responsive */
@media (max-width: 1024px) {
  .post-body-wrapper {
    flex-direction: column;
  }
  .post-body-wrapper article,
  .post-sidebar {
    width: 100%;
  }
  .post-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: start;
    position: unset;
  }
  .widget-box,
  .widget-subscribe {
    margin-bottom: 0;
  }
}
@media (max-width: 767px) {
  .post-meta-wrapper {
    justify-content: center;
    text-align: center;
  }
  .post-author-box {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 567px) {
  .post-sidebar {
    grid-template-columns: 1fr;
  }
  .post-thumbnail img {
    aspect-ratio: 4 / 3;
  }
}

.default__section .wrapper {
  max-width: 1240px;
}

.default__section :where(.post-content, .entry-content) {
  max-width: 820px;
  margin: 0 auto;
}

.entry-header {
  max-width: 820px;
  margin: 0 auto clamp(25px, 3vw, 35px);
  padding-bottom: clamp(18px, 2vw, 24px);
  border-bottom: 1.5px dashed #1e323833;
  text-align: center;
}
.entry-title {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -2%;
}

.default__section :where(.post-content, .entry-content) > *:first-child {
  margin-top: 0;
}

/* Headings */
.default__section :where(.post-content, .entry-content) h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 20px;
}
.default__section :where(.post-content, .entry-content) h2 {
  font-family: var(--secondary-font);
  color: #154865;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  margin: 40px 0 16px;
}
.default__section :where(.post-content, .entry-content) h3 {
  font-size: clamp(19px, 2.4vw, 22px);
  margin: 30px 0 12px;
}
.default__section :where(.post-content, .entry-content) h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 10px;
}
.default__section :where(.post-content, .entry-content) h5,
.default__section :where(.post-content, .entry-content) h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
}

/* Body text */
.default__section :where(.post-content, .entry-content) p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin: 0 0 20px;
}
.default__section :where(.post-content, .entry-content) a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.default__section :where(.post-content, .entry-content) a:hover {
  color: #154865;
}
.default__section :where(.post-content, .entry-content) strong,
.default__section :where(.post-content, .entry-content) b {
  color: var(--text-1);
  font-weight: 600;
}

/* Lists */
.default__section :where(.post-content, .entry-content) ul,
.default__section :where(.post-content, .entry-content) ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.8;
}
.default__section :where(.post-content, .entry-content) li {
  margin-bottom: 8px;
}
.default__section :where(.post-content, .entry-content) ul {
  list-style: none;
  padding-left: 4px;
}
.default__section :where(.post-content, .entry-content) ul li {
  position: relative;
  padding-left: 20px;
}
.default__section :where(.post-content, .entry-content) ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
}
.default__section :where(.post-content, .entry-content) ol {
  list-style: decimal;
}
.default__section :where(.post-content, .entry-content) ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

/* Blockquote */
.default__section :where(.post-content, .entry-content) blockquote {
  background: linear-gradient(145.98deg, #a4ecfd 7.47%, #e4faff 93.27%);
  border-radius: 0 40px 0 40px;
  padding: clamp(20px, 3vw, 32px);
  margin: 30px 0;
}
.default__section :where(.post-content, .entry-content) blockquote p {
  font-family: var(--secondary-font);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.5;
  margin-bottom: 0;
}
.default__section :where(.post-content, .entry-content) blockquote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: #395b69;
}

/* Divider */
.default__section :where(.post-content, .entry-content) hr {
  border: none;
  border-top: 1.5px dashed #1e323833;
  margin: 35px 0;
}

/* Tables */
.default__section :where(.post-content, .entry-content) table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 15px;
}
.default__section :where(.post-content, .entry-content) table th {
  background-color: #154865;
  color: var(--light);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
}
.default__section :where(.post-content, .entry-content) table td {
  padding: 12px 16px;
  border-bottom: 1px solid #0000001a;
  color: var(--text-2);
}
.default__section
  :where(.post-content, .entry-content)
  table
  tr:nth-child(even)
  td {
  background-color: #f7f5ee;
}

/* Code */
.default__section :where(.post-content, .entry-content) code {
  background-color: #f0eadd;
  color: #154865;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: monospace;
}
.default__section :where(.post-content, .entry-content) pre {
  background-color: #051b28;
  color: #e4faff;
  padding: 20px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 25px 0;
}
.default__section :where(.post-content, .entry-content) pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Images, WP alignment + captions */
.default__section :where(.post-content, .entry-content) img {
  border-radius: 5px;
  height: auto;
  max-width: 100%;
}
.default__section :where(.post-content, .entry-content) .alignleft {
  float: left;
  margin: 6px 24px 16px 0;
}
.default__section :where(.post-content, .entry-content) .alignright {
  float: right;
  margin: 6px 0 16px 24px;
}
.default__section :where(.post-content, .entry-content) .aligncenter {
  display: block;
  margin: 25px auto;
}
.default__section :where(.post-content, .entry-content) .alignnone {
  margin: 20px 0;
}
.default__section :where(.post-content, .entry-content) .wp-caption {
  max-width: 100%;
}
.default__section :where(.post-content, .entry-content) .wp-caption img {
  display: block;
  width: 100%;
  border-radius: 5px;
}
.default__section :where(.post-content, .entry-content) .wp-caption-text,
.default__section :where(.post-content, .entry-content) figcaption {
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  margin-top: 10px;
}
.default__section :where(.post-content, .entry-content) figure {
  margin: 25px 0;
}

/* Buttons inside content */
.default__section :where(.post-content, .entry-content) .btn {
  margin: 10px 0;
}

/* Embeds / video */
.default__section :where(.post-content, .entry-content) iframe,
.default__section :where(.post-content, .entry-content) video {
  max-width: 100%;
  border-radius: 5px;
}
.default__section
  :where(.post-content, .entry-content)
  .wp-block-embed__wrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  margin: 25px 0;
}
.default__section
  :where(.post-content, .entry-content)
  .wp-block-embed__wrapper
  iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

/* Page links (<!--nextpage-->) */
.default__section .page-links {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}
.default__section .page-links a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #f0eadd;
  border-radius: 5px;
  margin: 0 4px;
  color: var(--text-1);
}
.default__section .page-links a:hover {
  background-color: var(--primary);
  color: var(--light);
}

/* Accessibility */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Comments (WP default markup: comments_template())
   ========================================================================== */
#comments {
  max-width: 820px;
  margin: clamp(40px, 5vw, 60px) auto 0;
  padding-top: clamp(30px, 4vw, 45px);
  border-top: 1.5px dashed #1e323833;
}
.comments-title,
.comment-reply-title {
  font-family: var(--secondary-font);
  color: #154865;
  font-weight: 600;
}
.comments-title {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 25px;
}
.comment-reply-title {
  font-size: clamp(18px, 2.4vw, 22px);
  margin-bottom: 16px;
}
.comment-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.comment-list .children {
  list-style: none;
  margin: 16px 0 0 40px;
  padding: 0;
}
.comment {
  margin-bottom: 20px;
}
.comment-body {
  background-color: var(--light);
  box-shadow: inset 0 0 0 1px #0000001a;
  border-radius: 5px;
  padding: 20px;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.comment-author .avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.comment-author .fn {
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-1);
}
.comment-metadata {
  font-size: 13px;
  color: var(--text-2);
}
.comment-metadata a {
  color: var(--text-2);
}
.comment-content p {
  font-size: 15px;
  margin-bottom: 10px;
}
.comment-reply-link,
.comment-edit-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 6px;
}
.comment-reply-link:hover,
.comment-edit-link:hover {
  color: #154865;
}
.comment-awaiting-moderation {
  display: block;
  font-size: 13px;
  color: #a35c00;
  margin-top: 8px;
}
.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
}
.comment-navigation a {
  color: var(--primary);
}

/* Comment / reply form */
#respond {
  margin-top: 10px;
}
.comment-notes,
.logged-in-as {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 16px;
}
.comment-form p {
  margin-bottom: 18px;
}
.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #0000001a;
  border-radius: 5px;
  padding: 12px 16px;
  font-family: var(--primary-font);
  font-size: 14px;
  color: var(--text-1);
  background-color: #fffef7;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}
.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.form-submit {
  margin-top: 6px;
  margin-bottom: 0;
}
.form-submit #submit {
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--light);
  background-color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 22px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}
.form-submit #submit:hover {
  background-color: #154865;
  border-color: #154865;
}

/* Responsive */
@media (max-width: 767px) {
  .default__section :where(.post-content, .entry-content) .alignleft,
  .default__section :where(.post-content, .entry-content) .alignright {
    float: none;
    display: block;
    margin: 20px auto;
  }
  .default__section :where(.post-content, .entry-content) table {
    font-size: 14px;
  }
  .default__section :where(.post-content, .entry-content) table th,
  .default__section :where(.post-content, .entry-content) table td {
    padding: 10px;
  }
  .comment-list .children {
    margin-left: 20px;
  }
}
