/* Стили для рубрики «Тибет»: Внешний вид → Настроить → Дополнительные стили CSS */
.tibet-2027 {
  --tibet-primary: #203a50;
  --tibet-deep: #142838;
  --tibet-gold: #bd934c;
  --tibet-cream: #f8f5ef;
  --tibet-text: #34434d;
  --tibet-border: #e5e7e8;
  color: var(--tibet-text);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.8;
  max-width: 1140px;
  margin: 0 auto;
}
.tibet-2027 * { box-sizing: border-box; }
.tibet-2027 p { margin: 0 0 22px; }
.tibet-2027 h2 {
  color: var(--tibet-primary);
  font-size: clamp(26px, 3.4vw, 37px);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 27px;
}
.tibet-2027 a {
  color: #97702e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tibet-2027 .tb-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #142838, #31536a);
  border-radius: 18px;
  padding: 65px 55px;
  margin-bottom: 48px;
  color: #fff;
}
.tibet-2027 .tb-hero::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  right: -90px;
  top: -130px;
  pointer-events: none;
}
.tibet-2027 .tb-hero h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 25px;
}
.tibet-2027 .tb-hero h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 3px;
  background: var(--tibet-gold);
  margin-top: 22px;
}
.tibet-2027 .tb-hero p {
  color: #f1f4f6;
  font-size: clamp(19px, 2.3vw, 23px);
  line-height: 1.65;
  max-width: 850px;
  margin: 0;
}
.tibet-2027 .tb-section { margin: 0 0 46px; }
.tibet-2027 .tb-quote {
  padding: 22px 28px;
  background: var(--tibet-cream);
  border-left: 4px solid var(--tibet-gold);
  border-radius: 0 12px 12px 0;
  font-weight: 600;
  margin: 28px 0;
}
.tibet-2027 .tb-quote p:last-child { margin-bottom: 0; }
.tibet-2027 .tb-fact {
  border: 1px solid var(--tibet-border);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 18px;
  background: #fff;
  box-shadow: 0 5px 25px rgba(0,0,0,.035);
}
.tibet-2027 .tb-fact p:last-child { margin-bottom: 0; }
.tibet-2027 .tb-fact strong { color: var(--tibet-primary); }
.tibet-2027 .tb-sacred {
  padding: 34px;
  background: var(--tibet-cream);
  border-radius: 16px;
  margin: 30px 0;
}
.tibet-2027 .tb-sacred > p:first-child {
  color: var(--tibet-primary);
  font-weight: 700;
  font-size: 20px;
}
.tibet-2027 .tb-religions {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  counter-reset: faith;
}
.tibet-2027 .tb-religions li {
  position: relative;
  padding: 12px 0 12px 44px;
  border-bottom: 1px solid #e4ded2;
  counter-increment: faith;
}
.tibet-2027 .tb-religions li:last-child { border-bottom: none; }
.tibet-2027 .tb-religions li::before {
  content: counter(faith);
  position: absolute;
  left: 0;
  top: 12px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--tibet-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 29px;
}
.tibet-2027 .tb-invite {
  background: linear-gradient(135deg, #f8f5ed, #eee6d8);
  border-radius: 18px;
  padding: 42px;
  margin: 55px 0;
  border: 1px solid #e9dcc3;
}
.tibet-2027 .tb-invite h2 { margin-bottom: 24px; }
.tibet-2027 .tb-invite p:last-child { margin-bottom: 0; }
.tibet-2027 .tb-experience {
  background: var(--tibet-primary);
  color: #fff;
  padding: 30px 35px;
  border-radius: 14px;
  margin-bottom: 28px;
  font-size: 18px;
}
.tibet-2027 .tb-experience p { color: #fff; margin: 0; }
.tibet-2027 .tb-benefits {
  list-style: none;
  counter-reset: benefit;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tibet-2027 .tb-benefits > li {
  position: relative;
  counter-increment: benefit;
  padding: 28px 24px 25px;
  border: 1px solid var(--tibet-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.025);
}
.tibet-2027 .tb-benefits > li::before {
  content: counter(benefit, decimal-leading-zero);
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: var(--tibet-gold);
  margin-bottom: 16px;
}
.tibet-2027 .tb-benefits strong { color: var(--tibet-primary); }
.tibet-2027 .tb-benefits ul { margin: 16px 0 0; padding-left: 21px; }
.tibet-2027 .tb-benefits ul li { margin-bottom: 12px; }
.tibet-2027 .tb-benefits ul li:last-child { margin-bottom: 0; }
.tibet-2027 .tb-benefits .tb-wide { grid-column: 1 / -1; }
.tibet-2027 .tb-final {
  margin-top: 55px;
  background: linear-gradient(135deg, #142838, #2c4e63);
  color: #fff;
  border-radius: 18px;
  padding: 48px 42px;
  text-align: center;
}
.tibet-2027 .tb-final h2 {
  color: #fff;
  margin-bottom: 26px;
  font-size: clamp(29px, 3.8vw, 42px);
}
/* Full-width paragraphs prevent the CTA from shifting when the HTML contains inline margins. */
.tibet-2027 .tb-final > p {
  color: #fff;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 21px;
  text-align: center !important;
  float: none !important;
}
.tibet-2027 .tb-final p strong { color: #fff; }
.tibet-2027 .tb-register {
  display: inline-block;
  background: #c69b50;
  color: #182a37 !important;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  border-radius: 9px;
  padding: 19px 35px;
  margin-top: 22px;
  transition: background .2s ease, transform .2s ease;
}
.tibet-2027 .tb-register:hover {
  background: #e0b771;
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .tibet-2027 { font-size: 16px; line-height: 1.7; }
  .tibet-2027 .tb-hero { padding: 38px 25px; border-radius: 13px; margin-bottom: 35px; }
  .tibet-2027 .tb-hero p { font-size: 19px; }
  .tibet-2027 .tb-benefits { grid-template-columns: 1fr; }
  .tibet-2027 .tb-sacred, .tibet-2027 .tb-invite { padding: 26px 22px; }
  .tibet-2027 .tb-fact { padding: 22px; }
  .tibet-2027 .tb-experience { padding: 25px; }
  .tibet-2027 .tb-final { padding: 36px 24px; }
  .tibet-2027 .tb-register { display: block; width: 100%; padding: 18px 16px; }
}

/* Vseputi: готовые блоки для TinyMCE / ACF */
.vse-rich-card {
  padding: 24px 28px;
  margin: 24px 0;
  border: 1px solid #e5e7e8;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 25px rgba(0,0,0,.04);
}
.vse-rich-highlight {
  padding: 28px;
  margin: 24px 0;
  background: #f8f5ef;
  border-radius: 14px;
  border-left: 4px solid #bd934c;
}
.vse-rich-quote {
  padding: 22px 28px;
  margin: 24px 0;
  background: #f8f5ef;
  border-left: 4px solid #bd934c;
  font-style: italic;
}
a.vse-rich-button {
  display: inline-block;
  padding: 14px 26px;
  background: #c69b50;
  color: #182a37 !important;
  text-decoration: none !important;
  font-weight: 700;
  border-radius: 8px;
  transition: background .2s ease;
}
a.vse-rich-button:hover {background: #e0b771;}
.entry-content--country img, .vse-rich-card img, .vse-rich-highlight img {
  max-width: 100%; height: auto;
}
@media (max-width:767px) {
  .vse-rich-card, .vse-rich-highlight, .vse-rich-quote {padding: 20px 18px;}
}
