.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  display: block;
  height: auto;
  left: 5px;
  padding: 15px 23px 14px;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link:focus {
  background: #111;
  color: #fff;
}

.header-social__inner,
.header-top__inner,
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-social__inner {
  justify-content: flex-end;
}

.header-search-form[hidden] {
  display: none;
}

.header-search-form:not([hidden]) {
  display: block;
  padding: 12px 0;
}

.header-search-form .search-form {
  max-width: 360px;
  margin-left: auto;
}

.search-toggle {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
}

.search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 16px 0;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #004e9b;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  font: inherit;
}

.search-submit,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #004e9b;
  background: #004e9b;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0 6px 6px 0;
}

.button-link {
  border-radius: 6px;
}

p {
  text-align: justify;
}

.content-area {
  padding: 24px 0 48px;
}

.homepage-block {
  margin-bottom: 40px;
}

.block-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.block-main-content {
  flex: 1 1 auto;
  min-width: 0;
}

.block-right-ad {
  flex: 0 0 min(300px, 25%);
}

.block-right-ad img,
.block-button-ad img {
  max-width: 100%;
  height: auto;
}

.block-button-ad {
  margin-top: 16px;
}

.page-wrapper,
.single-layout,
.archive-page,
.search-results-page {
  padding: 40px 0 60px;
}

.page-card,
.single-post-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  padding: 32px;
}

.entry-title,
.archive-title,
.page-title,
.post-title {
  color: #0c5066;
  line-height: 1.2;
  margin-bottom: 16px;
}

.entry-content,
.post-content,
.archive-card__excerpt {
  color: #30424d;
  line-height: 1.8;
}

.post-meta,
.featured-meta,
.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.author-date,
.featured-author,
.search-result-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-thumbnail img,
.archive-card__image img,
.search-result-thumbnail img,
.featured-thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.featured-thumb img {
  height: 600px;
}

.single-post-header {
  margin-bottom: 28px;
}

.single-post-header .post-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 28px;
}

.single-post-header .post-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #d8e1e6;
  border-bottom: 1px solid #d8e1e6;
}

.single-post-header .author-date {
  justify-content: flex-start;
  color: #0099cc;
  font-weight: 600;
}

.single-post-header .author-date .post-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.single-post-header .reading-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0099cc;
  font-weight: 700;
  text-align: center;
}

.share-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.share-actions__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.95rem;
}

.share-actions__link--facebook { background: #4267b2; }
.share-actions__link--messenger { background: #4f86f7; }
.share-actions__link--x { background: #111; }
.share-actions__link--linkedin { background: #0a66c2; }
.share-actions__link--whatsapp { background: #665cac; }

.single-post-wrapper .post-thumbnail img {
  height: auto;
  max-height: 800px;
}

.single-post-wrapper .post-thumbnail {
  margin-bottom: 24px;
}

.single-post-wrapper .post-content p {
  font-size: 1.2rem;
  line-height: 1.95;
  text-align: justify;
}

@media (max-width: 900px) {
  .single-post-header .post-meta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .single-post-header .author-date,
  .share-actions {
    justify-content: center;
  }
}

.archive-header,
.page-header,
.error-404__content {
  text-align: center;
  margin-bottom: 32px;
}

.archive-description,
.page-content,
.error-404__content p {
  max-width: 720px;
  margin: 0 auto 16px;
}

.archive-grid,
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.archive-card,
.search-result-item {
  background: #fff;
  border: 1px solid #e4edf3;
  border-radius: 14px;
  overflow: hidden;
}

.archive-card__content,
.search-result-content {
  padding: 20px;
}

.archive-card__title,
.search-result-title {
  margin: 0 0 12px;
}

.archive-card__title a,
.search-result-title a {
  color: #0c5066;
}

.archive-pagination,
.search-pagination {
  margin-top: 32px;
  text-align: center;
}

.search-results-page {
  padding-top: 32px;
}

.search-page-header {
  padding: 28px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf7fb 0%, #ffffff 100%);
  border: 1px solid #dbeaf0;
  box-shadow: 0 18px 42px rgba(12, 80, 102, 0.08);
}

.search-page-header .page-title {
  margin-bottom: 8px;
}

.search-page-summary {
  color: #5c7280;
  font-size: 1rem;
  margin: 0;
}

.search-results-grid {
  gap: 28px;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe8ef;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(12, 80, 102, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.search-result-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(12, 80, 102, 0.14);
  border-color: #b8d9e6;
}

.search-result-thumbnail {
  position: relative;
  overflow: hidden;
}

.search-result-thumbnail img {
  border-bottom: 0;
}

.search-result-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.search-result-title {
  font-size: 1.35rem;
  line-height: 1.45;
  margin-bottom: 14px;
}

.search-result-title a {
  color: #0c5066;
}

.search-result-title a:hover {
  color: #0099cc;
}

.search-result-meta {
  gap: 10px 18px;
  margin-bottom: 14px;
  color: #0099cc;
  font-size: 0.95rem;
  font-weight: 600;
}

.search-result-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-result-excerpt {
  color: #4f6470;
  line-height: 1.75;
  margin: 0 0 18px;
}

.search-result-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #0099cc;
  color: #fff;
  font-weight: 700;
  transition: background 0.24s ease, transform 0.24s ease;
}

.search-result-link:hover {
  background: #0c5066;
  transform: translateY(-1px);
}

.page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 6px;
  background: #eef4f8;
  color: #004e9b;
}

.page-numbers.current {
  background: #004e9b;
  color: #fff;
}

.error-404 {
  padding: 64px 0;
}

.error-404__code {
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 800;
  color: #ff4c4c;
}

.error-404__image img {
  max-width: 300px;
  width: 100%;
}

.featured-posts-container {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

.featured-post-item {
  border: 1px solid #e7edf1;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}

.featured-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  text-align: center;
}

.featured-title a {
  color: #0091b9;
}

.featured-excerpt {
  margin-top: 16px;
  font-size: 1.1rem;
  text-align: center;
  color: #30424d;
}

.heading-row,
.section-heading-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0091b9 0%, #004e9b 100%);
  color: #fff;
}

.section-heading__title,
.section-heading-full h1,
.section-heading-full h2 {
  margin: 0;
  color: inherit;
}

.video-section {
  margin-top: 48px;
}

.video-section .heading-row {
  margin-bottom: 10px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #7b11cf 0%, #3376e8 100%);
}

.yt-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
  gap: 0;
  padding: 10px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #4fc2c3 0%, #49b7b7 100%);
  box-shadow: 0 18px 42px rgba(0, 96, 110, 0.18);
}

.yt-main-video iframe {
  width: 100%;
  min-height: 670px;
  border: 0;
  border-radius: 12px;
}

.yt-main-video__trigger {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #073642;
  cursor: pointer;
}

.yt-main-video__trigger img {
  width: 100%;
  min-height: 670px;
  object-fit: cover;
  display: block;
}

.yt-main-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.24) 100%);
}

.yt-main-video__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(255, 0, 51, 0.92);
  color: #fff;
  font-size: 1.9rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.yt-player-frame[hidden] {
  display: none;
}

.yt-main-video h3 {
  margin-top: 12px;
  padding: 0 4px 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.yt-playlist {
  max-height: 740px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-left: 10px;
}

.yt-video-item {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 135, 144, 0.82);
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.yt-video-item.active {
  background: rgba(0, 120, 130, 0.96);
}

.yt-thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.yt-title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.site-footer {
  background: #004e9b;
  color: #fff;
}

.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #0099cc;
  color: #fff;
  box-shadow: 0 14px 30px rgba(12, 80, 102, 0.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease, background 0.24s ease;
  z-index: 1200;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  background: #0c5066;
  outline: none;
}

.footer-widgets {
  padding: 48px 0 32px;
}

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

.footer-column .widget-title {
  margin-bottom: 16px;
}

.footer-bottom {
  background: #003366;
  padding: 16px 0;
}

.footer-menu {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.comments-area {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #dbe5ec;
}

.facebook-comments {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #dbe5ec;
}

.single-post-extra-sections {
  margin-top: 36px;
}

.single-post-extra-section + .single-post-extra-section {
  margin-top: 36px;
}

.single-post-extra-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #0c5066;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
}

.single-post-extra-title::before,
.single-post-extra-title::after {
  content: "";
  flex: 1 1 0;
  max-width: 180px;
  border-top: 2px solid #c8d9e2;
}

.single-post-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.single-post-extra-card {
  overflow: hidden;
  border: 1px solid #dbe8ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 80, 102, 0.08);
}

.single-post-extra-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.single-post-extra-card__title {
  margin: 0;
  padding: 14px 16px 18px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.single-post-extra-card__title a {
  color: #0c5066;
}

.single-post-extra-card__title a:hover {
  color: #0099cc;
}

.comment-list {
  margin: 0 0 24px;
  padding-left: 20px;
}

.widget-post-list__title,
.widget-category-grid__title {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0091b9;
  color: #fff;
}

.widget-post-list__title--accent {
  background: #ff3333;
}

.widget-post-list__items,
.widget-category-grid__items {
  display: grid;
  gap: 12px;
}

.widget-post-list__item,
.widget-category-grid__item {
  padding-bottom: 12px;
  border-bottom: 1px dashed #b9ccd9;
}

.widget-post-list__meta,
.widget-category-grid__meta {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  color: #5a6f7e;
}

.widget-category-grid__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.widget-category-grid__thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 992px) {
  .block-wrapper,
  .yt-video-grid,
  .footer-container {
    grid-template-columns: 1fr;
    display: grid;
  }

  .block-right-ad {
    flex-basis: auto;
  }

  .header-top__inner,
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-logo img {
    max-width: min(100%, 320px);
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: min(100% - 24px, 1200px);
  }

  .page-card,
  .single-post-wrapper {
    padding: 24px 20px;
  }

  .yt-video-item {
    grid-template-columns: 1fr;
  }

  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}
