/* Твой гид Hub — экскурсии и туры / CPA */

:root {
  --tg-ink: #1e4d3a;
  --tg-ink-2: #2a5c48;
  --tg-accent: #c9a227;
  --tg-accent-hover: #a8861c;
  --tg-bg: #f6f1e8;
  --tg-card: #ffffff;
  --tg-text: #1e4d3a;
  --tg-muted: #5c6b62;
  --tg-border: #e6dcc8;
  --tg-radius: 14px;
  --tg-shadow: 0 8px 24px rgba(30, 77, 58, 0.08);
}

body { background: var(--tg-bg); }
body .site.grid-container { max-width: 1120px; }
body .content-area { width: 100% !important; float: none !important; }
body .sidebar, body #right-sidebar, body #left-sidebar { display: none !important; }

.site-header { background: #fff !important; border-bottom: 1px solid var(--tg-border); }
.site-header .inside-header { padding-top: 14px; padding-bottom: 14px; }
.site-header .custom-logo, .site-header .header-image { max-height: 52px; width: auto; height: auto; }
.single-tg_offer .featured-image,
.tg-offer-single .page-header-image-single { display: none !important; }
.site-header .main-title a { color: var(--tg-ink) !important; }

.main-navigation,
.main-navigation .inside-navigation { background: var(--tg-ink) !important; }
.main-navigation .main-nav ul li a { color: #f3f4f6 !important; font-weight: 600; }
.main-navigation .main-nav ul li a:hover { background: var(--tg-ink-2) !important; color: #fff !important; }
.main-navigation .main-nav ul li[class*="current"] > a { color: var(--tg-accent) !important; }
.menu-toggle { color: #f3f4f6 !important; }

.tg-hero {
  background: linear-gradient(145deg, #1e4d3a 0%, #2a5c48 55%, #c9a227 100%);
  color: #fff;
  border-radius: var(--tg-radius);
  padding: 2.5rem 1.75rem;
  margin: 0 0 2rem;
  box-shadow: var(--tg-shadow);
}
.tg-hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; opacity: .8; margin: 0 0 .75rem; }
.tg-hero__title { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.2; margin: 0 0 1rem; font-weight: 700; color: #fff !important; }
.tg-hero__lead { font-size: 1.05rem; max-width: 48rem; margin: 0 0 1.5rem; color: #e5e7eb; }
.tg-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.tg-hero__note { font-size: .82rem; opacity: .7; margin: 0; }

.tg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.2rem; border-radius: 10px; font-weight: 600;
  text-decoration: none !important; border: 2px solid transparent; line-height: 1.2;
}
.tg-btn--sm { padding: .5rem .9rem; font-size: .9rem; }
.tg-btn--primary { background: var(--tg-accent); color: #1e4d3a !important; }
.tg-btn--primary:hover { background: var(--tg-accent-hover); color: #1e4d3a !important; }
.tg-btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff !important; }
.tg-hero .tg-btn--ghost:hover { background: rgba(255,255,255,.1); }
body:not(.tg-hub-home) .tg-btn--ghost,
.tg-card .tg-btn--ghost,
.tg-how .tg-btn--ghost { border-color: var(--tg-border); color: var(--tg-ink) !important; }

.tg-section { margin: 0 0 2.25rem; }
.tg-section__title { font-size: 1.35rem; margin: 0 0 1rem; color: var(--tg-ink); }

.tg-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .85rem; }
.tg-cat-card {
  background: var(--tg-card); border: 1px solid var(--tg-border); border-radius: var(--tg-radius);
  padding: 1.1rem .9rem; text-decoration: none !important; color: var(--tg-text) !important;
  box-shadow: var(--tg-shadow); display: flex; flex-direction: column; gap: .35rem; min-height: 120px;
}
.tg-cat-card:hover { transform: translateY(-3px); border-color: #e4c97a; }
.tg-cat-card__icon { font-size: 1.5rem; }
.tg-cat-card__name { font-weight: 700; color: var(--tg-ink); }
.tg-cat-card__meta { font-size: .8rem; color: var(--tg-muted); margin-top: auto; }

.tg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.tg-card {
  position: relative; background: var(--tg-card); border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius); padding: 1.15rem 1.1rem 1rem; box-shadow: var(--tg-shadow);
  display: flex; flex-direction: column; gap: .55rem;
}
.tg-card--partner { border-color: #e4c97a; }
.tg-card__badge {
  position: absolute; top: .75rem; right: .75rem; background: #f5ead0; color: #7a6414;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .2rem .45rem; border-radius: 6px;
}
.tg-card__title { margin: 0; font-size: 1.05rem; padding-right: 4.5rem; line-height: 1.3; }
.tg-card__title a { color: var(--tg-ink) !important; text-decoration: none !important; }
.tg-card__title a:hover { color: var(--tg-accent-hover) !important; }
.tg-card__text { margin: 0; color: var(--tg-muted); font-size: .92rem; flex: 1; }
.tg-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.tg-card__label { margin: 0; font-size: .72rem; color: var(--tg-muted); }

.tg-how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.tg-how__item { background: var(--tg-card); border-radius: var(--tg-radius); padding: 1.1rem; border: 1px solid var(--tg-border); }
.tg-how__item p { margin: .4rem 0 0; color: var(--tg-muted); font-size: .92rem; }

.tg-disclaimer { font-size: .85rem; color: var(--tg-muted); border-left: 3px solid var(--tg-accent); padding: .5rem 0 .5rem .9rem; }
.tg-empty { color: var(--tg-muted); }

.tg-faq__item { background: #fff; border: 1px solid var(--tg-border); border-radius: 12px; padding: .85rem 1rem; margin: 0 0 .6rem; }
.tg-faq__item summary { cursor: pointer; font-weight: 700; color: var(--tg-ink); }
.tg-faq__item p { margin: .55rem 0 0; color: var(--tg-muted); }

.single-tg_offer .tg-go-box {
  background: #f5ead0; border: 1px solid #e4c97a; border-radius: var(--tg-radius); padding: 1.25rem; margin: 1.5rem 0;
}

.tg-bc { font-size: .85rem; color: var(--tg-muted); margin: 0 0 1rem; }
.tg-bc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tg-bc li:not(:last-child):after { content: "/"; margin-left: .35rem; opacity: .5; }
.tg-toc { background: #fff; border: 1px solid var(--tg-border); border-radius: 12px; padding: 1rem 1.15rem; margin: 0 0 1.5rem; }
.tg-toc ol { margin: .5rem 0 0 1.1rem; }
.tg-related { margin: 2rem 0 0; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--tg-border); border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--tg-border); padding: .55rem .7rem; text-align: left; }
.entry-content th { background: #f5ead0; color: var(--tg-ink); }
.page-header .page-title { color: var(--tg-ink); margin: 0 0 1.25rem; }

@media (max-width: 600px) {
  .tg-hero { padding: 1.75rem 1.15rem; }
  .tg-cats { grid-template-columns: repeat(2, 1fr); }
}
