:root {
  --bg: #ffffff;
  --surface: #f4f6f5;
  --text: #171b1f;
  --muted: #5f6972;
  --line: #d9dee3;
  --primary: #003c51;
  --green: #016e00;
  --gold: #fc8e00;
  --black: #0f1113;
  --radius: 8px;
  --shadow: 0 14px 36px rgba(15, 17, 19, .1);
  --shadow-soft: 0 8px 22px rgba(15, 17, 19, .06);
  --ring: 0 0 0 4px rgba(1, 110, 0, .12);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body.bdt-body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(1, 110, 0, .035), rgba(255, 255, 255, 0) 340px),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.bdt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(15, 17, 19, .05);
  backdrop-filter: blur(10px);
}

.bdt-header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 360px);
  align-items: center;
  gap: 28px;
}

.bdt-logo img,
.custom-logo {
  width: auto;
  max-width: 240px;
  max-height: 58px;
  filter: drop-shadow(0 4px 10px rgba(15, 17, 19, .08));
}

.bdt-nav ul,
.bdt-nav .bdt-fallback-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.bdt-nav li {
  list-style: none;
}

.bdt-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
}

.bdt-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(.25);
  transition: opacity .18s ease, transform .18s ease;
}

.bdt-nav a:hover,
.bdt-nav .current-menu-item > a {
  color: var(--green);
}

.bdt-nav a:hover::after,
.bdt-nav .current-menu-item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.bdt-search-form {
  display: flex;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), var(--shadow-soft);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.bdt-search-form:focus-within {
  border-color: var(--green);
  box-shadow: var(--ring), var(--shadow-soft);
}

.bdt-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
}

.bdt-search-form button,
.bdt-button {
  border: 0;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--primary), var(--green));
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.bdt-search-form button:hover,
.bdt-button:hover,
.comment-form .submit:hover {
  background: linear-gradient(135deg, var(--green), var(--primary));
}

.bdt-main {
  background: transparent;
}

.bdt-hero {
  padding: 42px 0 26px;
}

.bdt-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 36px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(217, 222, 227, .9);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(1, 110, 0, .07), rgba(252, 142, 0, .08)),
    #fff;
  box-shadow: var(--shadow);
}

.bdt-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  isolation: isolate;
}

.bdt-media--large {
  aspect-ratio: 1200 / 700;
}

.bdt-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.bdt-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 19, 0), rgba(15, 17, 19, .2));
  content: "";
  opacity: .75;
  pointer-events: none;
}

.bdt-media:hover img,
.bdt-card:hover img {
  transform: scale(1.045);
}

.bdt-media span,
.bdt-card__category {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bdt-media span {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 11px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 17, 19, .14);
}

.bdt-accent {
  position: relative;
  padding-left: 28px;
  border-left: 5px solid var(--green);
}

.bdt-accent h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.bdt-accent h1 a:hover {
  color: var(--primary);
}

.bdt-accent p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 20px;
}

.bdt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.bdt-section {
  padding: 48px 0;
}

.bdt-section--gray {
  background: var(--surface);
}

.bdt-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.bdt-section__head h1,
.bdt-section__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  position: relative;
}

.bdt-section__head h1::before,
.bdt-section__head h2::before {
  display: block;
  width: 56px;
  height: 5px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 999px;
  content: "";
}

.bdt-section__head--green {
  border-color: var(--green);
}

.bdt-section__head--orange {
  border-color: var(--gold);
}

.bdt-section__head a {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.bdt-section__head a:hover {
  color: var(--primary);
}

.bdt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bdt-card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.bdt-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 17, 19, .02);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bdt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 110, 0, .26);
  box-shadow: var(--shadow);
}

.bdt-card img {
  width: 100%;
  aspect-ratio: 600 / 400;
  object-fit: cover;
  background: var(--surface);
  transition: transform .35s ease;
}

.bdt-card a,
.bdt-card > p,
.bdt-card .bdt-meta {
  display: block;
  padding-left: 16px;
  padding-right: 16px;
}

.bdt-card a {
  padding-top: 0;
}

.bdt-card__category {
  margin-top: 14px;
  color: var(--green);
  background: rgba(1, 110, 0, .08);
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
}

.bdt-card h2,
.bdt-card h3 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.18;
}

.bdt-card h2 a:hover,
.bdt-card h3 a:hover,
.bdt-sidebar-block h3 a:hover {
  color: var(--green);
}

.bdt-card .bdt-meta {
  padding-bottom: 16px;
}

.bdt-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.bdt-post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bdt-sidebar {
  width: 320px;
  position: sticky;
  top: 112px;
}

.bdt-sidebar-block {
  margin-bottom: 32px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.bdt-sidebar-block h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--green);
}

.bdt-sidebar-block article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.bdt-sidebar-block article:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.bdt-sidebar-block img {
  width: 96px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface);
}

.bdt-sidebar-block span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.bdt-sidebar-block h3 {
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.2;
}

.bdt-sidebar-block time {
  color: var(--muted);
  font-size: 12px;
}

.bdt-single {
  max-width: 860px;
}

.bdt-single--page {
  margin: 0 auto;
}

.bdt-single__header {
  margin-bottom: 24px;
}

.bdt-single__header h1 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
}

.bdt-single__header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.bdt-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.bdt-share span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bdt-share a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(1, 110, 0, .18);
  border-radius: 999px;
  background: rgba(1, 110, 0, .08);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.bdt-share a:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.bdt-single__header a {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bdt-single__image {
  margin-bottom: 28px;
}

.bdt-single__image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bdt-single__content {
  font-size: 19px;
  line-height: 1.75;
}

.bdt-single__content a {
  color: var(--primary);
  text-decoration: underline;
}

.bdt-author-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  margin-top: 40px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(1, 110, 0, .08), rgba(252, 142, 0, .08)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.bdt-author-box__avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.bdt-author-box span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bdt-author-box h2 {
  margin: 4px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
}

.bdt-author-box p {
  margin: 0;
  color: var(--muted);
}

.bdt-comments {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.bdt-comments h2,
.comment-reply-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 30px;
}

.bdt-comment-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.bdt-comment-list .comment {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.comment-form {
  display: grid;
  gap: 14px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--green);
  box-shadow: var(--ring);
  outline: none;
}

.comment-form .submit {
  width: auto;
  border: 0;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--primary), var(--green));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  border-radius: 999px;
}

.bdt-newsletter {
  padding: 56px 0;
}

.bdt-newsletter .container {
  max-width: 920px;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(0, 60, 81, .08), rgba(1, 110, 0, .08), rgba(252, 142, 0, .1)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.bdt-newsletter h2,
.bdt-newsletter h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
}

.bdt-newsletter p {
  margin: 0 auto 22px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.bdt-newsletter .bdt-search-form {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
}

.bdt-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #128c7e, var(--green));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(1, 110, 0, .2);
}

.bdt-whatsapp-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(1, 110, 0, .28);
}

.bdt-footer {
  margin-top: 40px;
  padding: 48px 0;
  background:
    linear-gradient(135deg, rgba(1, 110, 0, .22), rgba(0, 60, 81, .18)),
    var(--black);
  color: #fff;
  border-top: 5px solid var(--gold);
}

.bdt-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}

.bdt-footer img {
  max-width: 240px;
  max-height: 58px;
  margin-bottom: 16px;
}

.bdt-footer p,
.bdt-footer a,
.bdt-footer small {
  color: rgba(255, 255, 255, .74);
}

.bdt-footer h3 {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.bdt-footer a {
  display: block;
  margin-bottom: 10px;
}

.bdt-footer a:hover {
  color: #fff;
}

.bdt-footer ul {
  margin: 0;
  padding: 0;
}

.bdt-footer li {
  list-style: none;
}

.bdt-footer-widgets {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.bdt-widget {
  margin-bottom: 18px;
}

.bdt-widget__title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 22px;
}

.bdt-ad {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 20px;
}

.bdt-ad .widget {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(15, 17, 19, .025), rgba(15, 17, 19, .025) 8px, transparent 8px, transparent 16px),
    #fff;
  text-align: center;
}

.bdt-ad img,
.bdt-ad iframe,
.bdt-ad ins {
  max-width: 100%;
}

.bdt-ad--sidebar_top {
  margin: 0 0 24px;
  padding: 0;
}

.bdt-ad--in_article {
  margin: 36px 0;
  padding: 0;
}

.pagination,
.nav-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.page-numbers {
  min-width: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.page-numbers.current {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

@media (max-width: 1024px) {
  .bdt-header__inner,
  .bdt-feature,
  .bdt-content-grid,
  .bdt-post-list,
  .bdt-footer__grid {
    grid-template-columns: 1fr;
  }

  .bdt-header__inner {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 14px;
  }

  .bdt-nav ul,
  .bdt-nav .bdt-fallback-menu {
    flex-wrap: wrap;
    gap: 14px;
  }

  .bdt-sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  .bdt-card-grid,
  .bdt-card-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .bdt-accent {
    padding-left: 16px;
  }

  .bdt-feature {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .bdt-card-grid,
  .bdt-card-grid--four,
  .bdt-post-list,
  .bdt-author-box {
    grid-template-columns: 1fr;
  }

  .bdt-search-form {
    flex-direction: column;
  }

  .bdt-search-form input,
  .bdt-search-form button {
    min-height: 44px;
  }
}
