/*
Theme Name: air-ticket-booking-child
Template: air-ticket-booking
*/

.bb,
.site-navigation {
  width: 100%;
}

.site-navigation .primary-menu {
  justify-content: flex-end;
}

:root {
  --forest: #1a3a3a;
  --forest-mid: #2a5454;
  --terra: #c4755b;
  --terra-light: #d4917d;
  --terra-pale: #f0ddd6;
  --herb: #7a8b6f;
  --herb-light: #a3b396;
  --herb-pale: #e5ebe1;
  --linen: #f5f0e8;
  --linen-dark: #e8e0d2;
  --bark: #3d2e2a;
  --bark-light: #5c4a44;
  --ink: #2c2420;
  --ink-soft: #5a4e48;
  --cream: #faf7f2;
  --white: #ffffff;
}

body {
  font-size: 1.5rem;
  background: var(--linen);
  color: var(--ink);
  line-height: 1.78;
}

.aa {
  width: 15%;
}

.header-right-box {
  width: 85%;
  justify-content: flex-end;
}

.site-logo .custom-logo-link img {
  max-width: 80px;
  width: 100%;
}

.theme-header-areas.header-areas-left.aa {
  padding: 0;
}

.site-navigation .primary-menu a {
  color: var(--terra) !important;
}

.header-navbar {
  background: var(--cream);
  border-bottom: 2px dashed var(--linen-dark);
  padding: 12px 0;
}

.header-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title a.custom-logo-name {
  color: var(--forest);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.site-title a.custom-logo-name::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--terra);
  margin-top: 2px;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.primary-menu a:hover,
.primary-menu .current_page_item a {
  color: var(--terra);
}

span.navbar-control-trigger {
  color: #000;
}

.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.entry-header {
  text-align: center;
  padding: 10px;
  position: relative;
}

h1.entry-title {
  color: var(--forest);
  font-weight: 800;
  line-height: 1.3;
}

.entry-title-large {
  font-size: 5.1rem;
}

h1.entry-title span {
  background-image: linear-gradient(
    to right,
    var(--terra-pale) 0%,
    var(--terra-pale) 100%
  );
  background-position: 0 88%;
  background-size: 100% 8px;
  background-repeat: no-repeat;
  padding-bottom: 4px;
}

.entry-content {
  max-width: 960px;
  margin: 0 auto;
}

.entry-content > p {
  margin-bottom: 14px;
  color: var(--ink);
}

.entry-content > p:first-of-type {
  color: var(--bark);
  position: relative;
  padding: 20px 24px;
  background: var(--cream);
  border: 1px dashed var(--linen-dark);
}

.entry-content > p:first-of-type::before {
  content: "❧";
  display: block;
  font-size: 1.4rem;
  color: var(--herb);
  margin-bottom: 6px;
}

.entry-content a {
  color: var(--terra);
  text-decoration: none;
  border-bottom: 1px dotted var(--terra-light);
  transition:
    border-color 0.2s,
    color 0.2s;
}

.entry-content a:hover {
  color: var(--forest);
  border-bottom-color: var(--forest);
}

h2.wp-block-heading {
  color: var(--forest);
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  position: relative;
}

h2.wp-block-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--terra);
}

h2.wp-block-heading::before {
  content: "✦";
  margin-right: 8px;
  color: var(--herb);
  font-size: 0.8em;
}

h3.wp-block-heading {
  color: var(--bark);
  font-weight: 700;
  margin: 20px 0 10px;
}

.top-group {
  background:
    radial-gradient(circle at 10% 90%, var(--herb-pale) 80px, transparent 80px),
    radial-gradient(
      circle at 95% 10%,
      var(--terra-pale) 60px,
      transparent 60px
    ),
    var(--cream);
  border: 2px solid var(--herb);
  padding: 28px 28px 20px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.top-group::before {
  content: "🌿";
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 2.2rem;
  line-height: 1;
  z-index: 2;
}

.top-group::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--herb) 0px,
    var(--herb) 8px,
    transparent 8px,
    transparent 14px
  );
}

.top-group h2.wp-block-heading {
  margin-top: 12px;
  color: var(--forest);
}

.top-group h2.wp-block-heading::before {
  content: none;
}

.top-group p {
  color: var(--ink);
}

p.important {
  background: var(--terra-pale);
  border: 2px dashed var(--terra);
  padding: 16px 20px;
  margin: 24px 0;
  position: relative;
}

p.important::before {
  content: "⚠";
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--terra);
  color: var(--white);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 1;
}

p.important strong,
p.important em {
  color: var(--bark);
}

.wp-block-columns {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.wp-block-column {
  flex: 1;
}

.first-block,
.second-block,
.third-block {
  background: var(--cream);
  border: 1px solid var(--linen-dark);
  padding: 20px;
  position: relative;
  transition: border-color 0.25s;
}

.first-block:hover,
.second-block:hover,
.third-block:hover {
  border-color: var(--herb);
}

.first-block {
  border-top: 3px solid var(--herb);
}

.first-block::before {
  content: "①";
  display: block;
  font-size: 2rem;
  color: var(--herb);
  margin-bottom: 4px;
  line-height: 1;
}

.second-block {
  border-top: 3px solid var(--terra);
}

.second-block::before {
  content: "②";
  display: block;
  font-size: 2rem;
  color: var(--terra);
  margin-bottom: 4px;
  line-height: 1;
}

.third-block {
  border-top: 3px solid var(--forest-mid);
}

.third-block::before {
  content: "③";
  display: block;
  font-size: 2rem;
  color: var(--forest-mid);
  margin-bottom: 4px;
  line-height: 1;
}

.first-block h3.wp-block-heading {
  color: var(--herb);
}

.second-block h3.wp-block-heading {
  color: var(--terra);
}

.third-block h3.wp-block-heading {
  color: var(--forest-mid);
}

.first-block p,
.second-block p,
.third-block p {
  color: var(--ink-soft);
}

.wp-block-quote {
  background:
    radial-gradient(circle at 5% 50%, var(--herb-pale) 40px, transparent 40px),
    var(--linen);
  border: 1px dashed var(--herb);
  border-top: none;
  padding: 24px 28px;
  margin: 28px 0;
  position: relative;
}

.wp-block-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--herb) 0px,
    var(--herb) 6px,
    transparent 6px,
    transparent 12px
  );
}

.wp-block-quote::after {
  content: "〝";
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 3rem;
  color: var(--herb-light);
  opacity: 0.4;
  line-height: 1;
}

.wp-block-quote p {
  color: var(--bark);
}

.wp-block-quote p strong em {
  color: var(--forest);
}

ul.list-theme {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

ul.list-theme li {
  background: var(--cream);
  border: 1px solid var(--linen-dark);
  border-bottom: 2px solid var(--herb-pale);
  padding: 14px 18px 14px 48px;
  margin-bottom: 10px;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s;
}

ul.list-theme li:hover {
  background: var(--white);
  border-color: var(--herb);
}

ul.list-theme li::before {
  content: "⬢";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--herb);
  font-size: 1.1rem;
}

ul.list-theme li:nth-child(2)::before {
  color: var(--terra);
}

ul.list-theme li:nth-child(3)::before {
  color: var(--forest-mid);
}

ul.list-theme li:nth-child(4)::before {
  color: var(--terra-light);
}

ul.list-theme li strong {
  color: var(--forest);
}

ol.list-num {
  list-style: none;
  counter-reset: num-counter;
  padding: 0;
  margin: 24px 0;
}

ol.list-num li {
  counter-increment: num-counter;
  background: var(--cream);
  border: 1px solid var(--linen-dark);
  border-bottom: 2px solid var(--herb-pale);
  padding: 14px 18px 14px 56px;
  margin-bottom: 10px;
  position: relative;
  color: var(--ink);
  line-height: 1.72;
  transition:
    background 0.2s,
    border-color 0.2s;
}

ol.list-num li:hover {
  background: var(--white);
  border-color: var(--herb);
}

ol.list-num li::before {
  content: counter(num-counter);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

ol.list-num li:nth-child(2)::before {
  background: var(--herb);
}

ol.list-num li:nth-child(3)::before {
  background: var(--terra);
}

ol.list-num li:nth-child(4)::before {
  background: var(--forest-mid);
}

ol.list-num li:nth-child(5)::before {
  background: var(--bark);
}

ol.list-num li strong {
  color: var(--forest);
}

.wp-block-table {
  margin: 28px 0;
  overflow-x: auto;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
}

.wp-block-table thead tr {
  background: var(--forest);
}

.wp-block-table thead th {
  color: var(--cream);
  padding: 12px 14px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.wp-block-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px dotted var(--linen-dark);
  color: var(--ink);
  vertical-align: middle;
}

.wp-block-table tbody td.has-text-align-center {
  text-align: center;
}

.wp-block-table tbody tr:hover {
  background: var(--white);
}

.wp-block-table tbody td strong {
  color: var(--terra);
  font-weight: 700;
}

.wp-block-table tbody tr:last-child td {
  border-bottom: 2px solid var(--herb-pale);
}

.stop-group {
  background:
    radial-gradient(circle at 92% 88%, var(--herb-pale) 70px, transparent 70px),
    radial-gradient(circle at 8% 15%, var(--terra-pale) 50px, transparent 50px),
    var(--cream);
  border: 2px solid var(--forest-mid);
  padding: 28px 28px 20px;
  margin: 30px 0;
  position: relative;
}

.stop-group::before {
  content: "⏸";
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 2.2rem;
  line-height: 1;
  z-index: 2;
}

.stop-group::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--forest-mid) 0px,
    var(--forest-mid) 8px,
    transparent 8px,
    transparent 14px
  );
}

.stop-group h2.wp-block-heading {
  margin-top: 12px;
  color: var(--forest);
}

.stop-group h2.wp-block-heading::before {
  content: none;
}

.stop-group .s,
.stop-group .t,
.stop-group .o,
.stop-group .p {
  background: var(--white);
  border: 1px solid var(--linen-dark);
  padding: 12px 16px 12px 52px;
  margin: 8px 0;
  position: relative;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.stop-group .s:hover,
.stop-group .t:hover,
.stop-group .o:hover,
.stop-group .p:hover {
  border-color: var(--herb);
  background: var(--linen);
}

.stop-group .s::before,
.stop-group .t::before,
.stop-group .o::before,
.stop-group .p::before {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stop-group .s::before {
  content: "S";
  background: var(--forest);
}

.stop-group .t::before {
  content: "T";
  background: var(--herb);
}

.stop-group .o::before {
  content: "O";
  background: var(--terra);
}

.stop-group .p::before {
  content: "P";
  background: var(--bark);
}

.stop-group .s p,
.stop-group .t p,
.stop-group .o p,
.stop-group .p p {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.stop-group .s p strong,
.stop-group .t p strong,
.stop-group .o p strong,
.stop-group .p p strong {
  color: var(--forest);
}

.stop-group > .wp-block-group__inner-container > p {
  color: var(--ink-soft);
  margin-top: 10px;
  margin-bottom: 10px;
}

.stop-group > .wp-block-group__inner-container > p:last-child {
  border-top: 1px dotted var(--linen-dark);
  padding-top: 12px;
  margin-top: 14px;
  font-style: italic;
  color: var(--bark-light);
}

.rank-math-block {
  margin: 24px 0;
}

.rank-math-list-item {
  margin-bottom: 12px;
  background: var(--cream);
  border: 1px solid var(--linen-dark);
  overflow: hidden;
  transition: border-color 0.2s;
}

.rank-math-list-item:hover {
  border-color: var(--herb);
}

div.rank-math-question {
  background: var(--linen);
  padding: 12px 16px;
  margin: 0;
  font-size: 1.6rem;
  color: var(--forest);
  cursor: pointer;
  position: relative;
  padding-left: 36px;
}

div.rank-math-question::before {
  content: "Q";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--terra);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

.rank-math-answer {
  padding: 14px 16px;
}

.rank-math-answer p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

p.website-info {
  background: var(--linen);
  border: 2px dashed var(--linen-dark);
  padding: 18px 22px;
  margin: 32px 0 0;
  color: var(--ink-soft);
}

p.website-info strong em {
  color: var(--bark-light);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 3px solid var(--linen-dark);
  padding: 4px;
  background: var(--white);
}

.wp-block-image figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

#site-footer {
  background: var(--forest);
  color: var(--herb-pale);
  margin-top: 48px;
}

.site-info {
  padding: 20px 0;
}

.site-info .wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-copyright {
  color: var(--herb-light);
  line-height: 1.6;
}

.footer-copyright a {
  color: var(--terra-light);
  text-decoration: none;
  border-bottom: 1px dotted var(--terra-light);
}

.footer-copyright a:hover {
  color: var(--cream);
}

.to-the-top {
  color: var(--herb-light);
  text-decoration: none;
  transition: color 0.2s;
}

.to-the-top:hover {
  color: var(--cream);
}

@media (max-width: 781px) {
  .reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  /* h1.entry-title {
    font-size: 1.5rem;
  }

  h2.wp-block-heading {
    font-size: 1.25rem;
  } */

  .first-block,
  .second-block,
  .third-block {
    margin-bottom: 12px;
  }

  .top-group {
    padding: 24px 18px 16px;
  }
}
