/* =========================================================
   Terra — Warm Premium Lifestyle Blog Theme
   ========================================================= */

/* ---------------------------------------------------------
   0. CSS Variables
   --------------------------------------------------------- */
:root {
  --tr-bg: #FAF6F1;
  --tr-surface: #FFFFFF;
  --tr-text: #3D2C1E;
  --tr-accent: #C2491D;
  --tr-accent-hover: #A93D17;
  --tr-secondary: #4A6741;
  --tr-secondary-hover: #3D5636;
  --tr-line: #E8DDD1;
  --tr-muted: #9C8B7A;
  --tr-bg-alt: #F3EBE2;
  --tr-radius: 16px;
  --tr-radius-sm: 10px;
  --tr-radius-full: 999px;
  --tr-shadow: 0 2px 20px rgba(61,44,30,.06);
  --tr-shadow-hover: 0 8px 32px rgba(61,44,30,.10);
  --tr-font-display: 'Fraunces', Georgia, serif;
  --tr-font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
  --tr-container: 1140px;
  --tr-transition: .3s ease;
  --tr-header-height: auto;
}

/* ---------------------------------------------------------
   1. Reset / Base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--tr-font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--tr-text);
  background: var(--tr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--tr-accent);
  text-decoration: none;
  transition: color var(--tr-transition);
}
a:hover { color: var(--tr-accent-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tr-font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--tr-text);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.display-none { display: none !important; }

/* ---------------------------------------------------------
   2. Container
   --------------------------------------------------------- */
.tr-container {
  width: 100%;
  max-width: var(--tr-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------
   3. Typography Helpers
   --------------------------------------------------------- */
.tr-title-xl {
  font-family: var(--tr-font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
}

.tr-title-xxl {
  font-family: var(--tr-font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.tr-title-lg {
  font-family: var(--tr-font-display);
  font-size: 2rem;
  font-weight: 600;
}

.tr-kicker {
  display: inline-block;
  font-family: var(--tr-font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tr-accent);
  margin-bottom: 8px;
}

/* ---------------------------------------------------------
   4. Buttons
   --------------------------------------------------------- */
.tr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tr-font-body);
  font-size: .95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--tr-radius-full);
  background: var(--tr-accent);
  color: #fff;
  border: none;
  transition: background var(--tr-transition), transform var(--tr-transition);
  cursor: pointer;
}
.tr-btn:hover {
  background: var(--tr-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.tr-btn--lg { padding: 14px 36px; font-size: 1rem; }
.tr-btn--sm { padding: 8px 20px; font-size: .85rem; }

.tr-btn--ghost {
  background: transparent;
  color: var(--tr-accent);
  border: 1.5px solid var(--tr-accent);
}
.tr-btn--ghost:hover {
  background: var(--tr-accent);
  color: #fff;
}

.tr-btn--secondary {
  background: var(--tr-secondary);
}
.tr-btn--secondary:hover {
  background: var(--tr-secondary-hover);
}

/* ---------------------------------------------------------
   5. Badge
   --------------------------------------------------------- */
.tr-badge {
  display: inline-block;
  align-self: flex-start;
  width: auto;
  max-width: fit-content;
  padding: 4px 14px;
  border-radius: var(--tr-radius-full);
  background: var(--tr-accent);
  color: #fff;
  font-family: var(--tr-font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.6;
}

.tr-badge--outline {
  background: transparent;
  color: var(--tr-accent);
  border: 1.5px solid var(--tr-accent);
}

.tr-badge--secondary {
  background: var(--tr-secondary);
  color: #fff;
}

/* ---------------------------------------------------------
   6. Header
   --------------------------------------------------------- */
.tr-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--tr-bg);
  transition: box-shadow var(--tr-transition);
}
.tr-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(61,44,30,.06);
}

.tr-header__top {
  padding: 20px 0 12px;
  text-align: center;
}

.tr-header__logo {
  display: inline-block;
}
.tr-header__logo img {
  height: 52px;
  width: auto;
}

.tr-header__nav-wrap {
  border-top: 1px solid var(--tr-line);
  border-bottom: 1px solid var(--tr-line);
}
.tr-header__nav-wrap .tr-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 50px;
}

.tr-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.tr-header__link {
  position: relative;
  font-family: var(--tr-font-body);
  font-size: .9rem;
  font-weight: 500;
  color: var(--tr-text);
  padding: 14px 0;
  transition: color var(--tr-transition);
  white-space: nowrap;
}
.tr-header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--tr-accent);
  transition: width var(--tr-transition);
}
.tr-header__link:hover,
.tr-header__link--active {
  color: var(--tr-accent);
}
.tr-header__link--active::after,
.tr-header__link:hover::after {
  width: 100%;
}

/* Mobile Toggle */
.tr-nav-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1010;
}
.tr-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tr-text);
  border-radius: 2px;
  transition: transform var(--tr-transition), opacity var(--tr-transition);
}
.tr-nav-toggle.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.tr-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.tr-nav-toggle.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Overlay */
.content-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61,44,30,.4);
  z-index: 990;
  opacity: 0;
  transition: opacity var(--tr-transition);
}
.content-overlay.is-visible {
  display: block;
  opacity: 1;
}

/* ---------------------------------------------------------
   7. Section Helpers
   --------------------------------------------------------- */
.tr-section {
  padding: 72px 0;
}
.tr-section--tight {
  padding: 48px 0;
}

.tr-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tr-section-header__title {
  font-family: var(--tr-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 16px;
}
.tr-section-header__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--tr-accent);
}

/* ---------------------------------------------------------
   8. Grid System
   --------------------------------------------------------- */
.tr-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tr-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tr-grid--sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
}

/* ---------------------------------------------------------
   9. Cards
   --------------------------------------------------------- */
.tr-card {
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  overflow: hidden;
  box-shadow: var(--tr-shadow);
  transition: transform var(--tr-transition), box-shadow var(--tr-transition);
}
.tr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tr-shadow-hover);
}

.tr-card__image {
  position: relative;
  overflow: hidden;
}
.tr-card__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .5s ease;
}
.tr-card:hover .tr-card__image img {
  transform: scale(1.04);
}

.tr-card__body {
  padding: 24px;
}

.tr-card__title {
  font-family: var(--tr-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.tr-card__title a { color: var(--tr-text); }
.tr-card__title a:hover { color: var(--tr-accent); }

.tr-card__excerpt {
  font-size: .92rem;
  color: var(--tr-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Card horizontal */
.tr-card--horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tr-card--horizontal .tr-card__image img {
  height: 100%;
  aspect-ratio: auto;
}

/* Card hero */
.tr-card--hero {
  display: grid;
  grid-template-columns: 60% 40%;
}
.tr-card--hero .tr-card__image img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 320px;
}
.tr-card--hero .tr-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}
.tr-card--hero .tr-card__title {
  font-size: 1.5rem;
}
.tr-card--hero .tr-card__excerpt {
  font-size: .95rem;
}

/* Card mini */
.tr-card--mini {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--tr-line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.tr-card--mini:hover {
  transform: none;
  box-shadow: none;
}
.tr-card--mini:last-child { border-bottom: none; }
.tr-card--mini .tr-card__rank {
  font-family: var(--tr-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tr-line);
  flex-shrink: 0;
  min-width: 32px;
}
.tr-card--mini .tr-card__title {
  font-size: 1rem;
  margin-bottom: 4px;
}
.tr-card--mini .tr-card__excerpt {
  font-size: .85rem;
}

/* ---------------------------------------------------------
   10. Meta
   --------------------------------------------------------- */
.tr-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--tr-muted);
}
.tr-meta time { color: var(--tr-muted); }
.tr-meta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tr-line);
}

/* ---------------------------------------------------------
   11. Hero Slider
   --------------------------------------------------------- */
.tr-slider {
  padding: 32px 0 0;
}
.tr-slider .tr-container {
  max-width: var(--tr-container);
}

.tr-slide {
  position: relative;
  height: 420px;
  border-radius: var(--tr-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.tr-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(61,44,30,.65) 0%, transparent 60%);
  border-radius: var(--tr-radius);
}
.tr-slide__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
  color: #fff;
}
.tr-slide__title {
  font-family: var(--tr-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 12px;
  color: #fff;
}
.tr-slide__title a { color: #fff; }
.tr-slide__title a:hover { opacity: .85; }

/* bxslider overrides */
.bx-wrapper { border: none; box-shadow: none; background: none; margin-bottom: 0; }
.bx-wrapper .bx-viewport { border-radius: var(--tr-radius); overflow: hidden; }
.bx-wrapper .bx-pager { bottom: 16px; }
.bx-wrapper .bx-pager.bx-default-pager a {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -9999px;
  color: transparent;
}
.bx-wrapper .bx-pager.bx-default-pager a.active { background: #fff; }
.bx-wrapper .bx-controls-direction a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  text-indent: -9999px;
  display: flex; align-items: center; justify-content: center;
}
.bx-wrapper .bx-prev { left: 16px; }
.bx-wrapper .bx-next { right: 16px; }
.bx-wrapper .bx-prev::after,
.bx-wrapper .bx-next::after {
  content: '';
  display: block;
  width: 10px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  text-indent: 0;
  position: absolute;
}
.bx-wrapper .bx-prev::after { transform: rotate(135deg); margin-left: 4px; }
.bx-wrapper .bx-next::after { transform: rotate(-45deg); margin-right: 4px; }

/* ---------------------------------------------------------
   12. Intro Section
   --------------------------------------------------------- */
.tr-intro {
  text-align: center;
  padding: 72px 0 48px;
}
.tr-intro__inner {
  max-width: 720px;
  margin: 0 auto;
}
.tr-intro__title {
  font-family: var(--tr-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 12px 0 20px;
}
.tr-intro__desc {
  font-size: 1.05rem;
  color: var(--tr-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

/* ---------------------------------------------------------
   13. Content With Poll Layout
   --------------------------------------------------------- */
.tr-content-with-poll {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Anket sütunu: sticky — .tr-reveal transformʼu kaldırıldı (sticky ile uyum için aşağıda) */
.tr-content-with-poll .tr-poll--inline {
  position: sticky;
  top: 120px;
  align-self: start;
}

/* ---------------------------------------------------------
   14. News Hero (blog listing featured)
   --------------------------------------------------------- */
.tr-news-hero {
  display: grid;
  grid-template-columns: 55% 45%;
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  overflow: hidden;
  box-shadow: var(--tr-shadow);
  margin-bottom: 48px;
}
.tr-news-hero__image {
  overflow: hidden;
}
.tr-news-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tr-news-hero:hover .tr-news-hero__image img {
  transform: scale(1.03);
}
.tr-news-hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.tr-news-hero__title {
  font-family: var(--tr-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 12px 0;
  line-height: 1.25;
}
.tr-news-hero__title a { color: var(--tr-text); }
.tr-news-hero__title a:hover { color: var(--tr-accent); }
.tr-news-hero__excerpt {
  font-size: .95rem;
  color: var(--tr-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   15. Magazine Grid (index)
   --------------------------------------------------------- */
.tr-magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* ---------------------------------------------------------
   16. Page Header (inner pages)
   --------------------------------------------------------- */
.tr-page-header {
  padding: 48px 0 32px;
  text-align: center;
}
.tr-page-header__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------
   17. Blog Post Detail
   --------------------------------------------------------- */
.tr-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
}
.tr-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(61,44,30,.75) 0%, rgba(61,44,30,.2) 60%, transparent 100%);
}
.tr-hero__inner {
  position: relative;
  z-index: 2;
  padding: 48px 0;
  width: 100%;
  max-width: var(--tr-container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.tr-hero__title {
  font-family: var(--tr-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: 8px;
}

.tr-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--tr-accent);
  z-index: 2000;
  width: 0;
  transition: width .1s linear;
}

/* ---------------------------------------------------------
   18. Prose (article content)
   --------------------------------------------------------- */
.tr-prose {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--tr-text);
}
.tr-prose h2,
.tr-prose h3,
.tr-prose h4 {
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.tr-prose p { margin-bottom: 1.25rem; }
.tr-prose img {
  border-radius: var(--tr-radius-sm);
  margin: 1.5rem 0;
}
.tr-prose a {
  color: var(--tr-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tr-prose ul,
.tr-prose ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.tr-prose ul { list-style: disc; }
.tr-prose ol { list-style: decimal; }
.tr-prose li { margin-bottom: .5rem; }
.tr-prose blockquote {
  border-left: 3px solid var(--tr-accent);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: var(--tr-bg-alt);
  border-radius: 0 var(--tr-radius-sm) var(--tr-radius-sm) 0;
  font-style: italic;
  color: var(--tr-muted);
}

.tr-prose--dropcap > p:first-of-type::first-letter {
  font-family: var(--tr-font-display);
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--tr-accent);
  font-weight: 700;
}

/* ---------------------------------------------------------
   19. Sidebar
   --------------------------------------------------------- */
.tr-sidebar {
  position: sticky;
  top: 120px;
}

.tr-sidebar__block {
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  box-shadow: var(--tr-shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.tr-sidebar__title {
  font-family: var(--tr-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tr-line);
}

/* ---------------------------------------------------------
   20. Share
   --------------------------------------------------------- */
.tr-share {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tr-share__label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--tr-muted);
}
.tr-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tr-bg-alt);
  color: var(--tr-text);
  transition: background var(--tr-transition), color var(--tr-transition);
}
.tr-share__btn svg { width: 18px; height: 18px; fill: currentColor; }
.tr-share__btn:hover {
  background: var(--tr-accent);
  color: #fff;
}

/* ---------------------------------------------------------
   21. Author
   --------------------------------------------------------- */
.tr-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--tr-bg-alt);
  border-radius: var(--tr-radius);
  margin-top: 32px;
}
.tr-author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}
.tr-author__name {
  font-family: var(--tr-font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}
.tr-author__bio {
  font-size: .88rem;
  color: var(--tr-muted);
  margin: 0;
}

/* ---------------------------------------------------------
   22. Pagination
   --------------------------------------------------------- */
.tr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  padding: 16px 0;
}
.tr-pagination a,
.tr-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: var(--tr-radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--tr-text);
  transition: all var(--tr-transition);
}
.tr-pagination a:hover {
  background: var(--tr-bg-alt);
  color: var(--tr-accent);
}
.tr-pagination .is-active {
  background: var(--tr-accent);
  color: #fff;
  font-weight: 600;
}
.tr-pagination__arrow {
  font-size: 1.1rem;
  font-weight: 700;
}
.tr-pagination__dots {
  color: var(--tr-muted);
}

/* ---------------------------------------------------------
   23. FAQ Accordion
   --------------------------------------------------------- */
.tr-accordion {
  max-width: 800px;
}
.tr-accordion__item {
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  margin-bottom: 12px;
  box-shadow: var(--tr-shadow);
  overflow: hidden;
}

.tr-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--tr-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tr-text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--tr-transition);
}
.tr-accordion__trigger:hover { color: var(--tr-accent); }

.tr-accordion__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.tr-accordion__icon::before,
.tr-accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--tr-accent);
  border-radius: 1px;
  transition: transform var(--tr-transition);
}
.tr-accordion__icon::before {
  width: 14px; height: 2px;
  transform: translate(-50%, -50%);
}
.tr-accordion__icon::after {
  width: 2px; height: 14px;
  transform: translate(-50%, -50%);
}
.tr-accordion__item.is-open .tr-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.tr-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.tr-accordion__panel-inner {
  padding: 0 24px 24px;
  font-size: .95rem;
  color: var(--tr-muted);
  line-height: 1.7;
}
.tr-accordion__panel-inner img {
  border-radius: var(--tr-radius-sm);
  margin-bottom: 16px;
  max-width: 320px;
}

/* ---------------------------------------------------------
   24. Contact
   --------------------------------------------------------- */
.tr-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.tr-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  padding: 32px 24px;
  box-shadow: var(--tr-shadow);
  transition: transform var(--tr-transition), box-shadow var(--tr-transition);
  color: var(--tr-text);
}
.tr-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tr-shadow-hover);
  color: var(--tr-text);
}
.tr-contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--tr-accent);
}
.tr-contact-card__label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tr-muted);
  margin-bottom: 4px;
}
.tr-contact-card__value {
  font-size: .95rem;
  font-weight: 500;
}

/* Form */
.tr-contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  box-shadow: var(--tr-shadow);
  padding: 40px;
}
.tr-contact-form-header {
  text-align: center;
  margin-bottom: 32px;
}
.tr-contact-form-desc {
  color: var(--tr-muted);
  font-size: .95rem;
  margin-top: 8px;
}

.tr-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tr-form__group {
  margin-bottom: 20px;
}
.tr-form__label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--tr-text);
}
.tr-form__input,
.tr-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--tr-font-body);
  font-size: .95rem;
  border: 1.5px solid var(--tr-line);
  border-radius: var(--tr-radius-sm);
  background: var(--tr-bg);
  color: var(--tr-text);
  transition: border-color var(--tr-transition), box-shadow var(--tr-transition);
  outline: none;
}
.tr-form__input:focus,
.tr-form__textarea:focus {
  border-color: var(--tr-accent);
  box-shadow: 0 0 0 3px rgba(194,73,29,.1);
}
.tr-form__input::placeholder,
.tr-form__textarea::placeholder { color: var(--tr-muted); opacity: .6; }

.tr-form__textarea { resize: vertical; min-height: 120px; }

/* ---------------------------------------------------------
   25. Contact Success / Error
   --------------------------------------------------------- */
.tr-contact-success {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #F0F7EE;
  border: 1px solid #B8D4AE;
  border-radius: var(--tr-radius);
  margin-top: 24px;
  color: var(--tr-secondary);
}
.tr-contact-success svg { flex-shrink: 0; color: var(--tr-secondary); }
.tr-contact-success p { margin: 0; font-size: .95rem; }

.tr-contact-error {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #FEF2EE;
  border: 1px solid #E8C4B8;
  border-radius: var(--tr-radius);
  margin-top: 24px;
  color: var(--tr-accent);
}
.tr-contact-error svg { flex-shrink: 0; color: var(--tr-accent); }
.tr-contact-error p { margin: 0; font-size: .95rem; }

/* ---------------------------------------------------------
   26. Footer
   --------------------------------------------------------- */
.tr-footer {
  background: var(--tr-bg);
  border-top: 1px solid var(--tr-line);
  padding-top: 64px;
  margin-top: 48px;
}

.tr-footer__top {
  text-align: center;
  margin-bottom: 48px;
}
.tr-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}
.tr-footer__logo img {
  height: 44px;
  width: auto;
}
.tr-footer__tagline {
  font-size: .95rem;
  color: var(--tr-muted);
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.tr-footer__decor {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--tr-accent);
  margin: 0 auto;
}

.tr-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--tr-line);
  border-bottom: 1px solid var(--tr-line);
}

.tr-footer__heading {
  font-family: var(--tr-font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--tr-text);
}

.tr-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tr-footer__links a {
  font-size: .9rem;
  color: var(--tr-muted);
  transition: color var(--tr-transition);
}
.tr-footer__links a:hover { color: var(--tr-accent); }

.tr-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.tr-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tr-bg-alt);
  color: var(--tr-text);
  transition: background var(--tr-transition), color var(--tr-transition);
}
.tr-footer__social a svg { width: 18px; height: 18px; fill: currentColor; }
.tr-footer__social a:hover {
  background: var(--tr-accent);
  color: #fff;
}

.tr-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .85rem;
  color: var(--tr-muted);
}
.tr-footer__bottom a {
  color: var(--tr-muted);
  margin-left: 20px;
}
.tr-footer__bottom a:hover { color: var(--tr-accent); }

/* ---------------------------------------------------------
   27. 404
   --------------------------------------------------------- */
.tr-404 {
  text-align: center;
  padding: 120px 24px 80px;
}
.tr-404__code {
  font-family: var(--tr-font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--tr-line);
  line-height: 1;
  margin-bottom: 8px;
}
.tr-404__title {
  font-family: var(--tr-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------------------------------------------------------
   28. Parallax Break
   --------------------------------------------------------- */
.tr-parallax-break {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.tr-parallax-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61,44,30,.55);
}
.tr-parallax-break__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px;
}
.tr-parallax-break__quote {
  font-family: var(--tr-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ---------------------------------------------------------
   29. Band (alt section)
   --------------------------------------------------------- */
.tr-band {
  background: var(--tr-bg-alt);
  padding: 72px 0;
}

/* ---------------------------------------------------------
   30. Poll
   --------------------------------------------------------- */
.tr-poll {
  background: var(--tr-surface);
  border-radius: var(--tr-radius);
  box-shadow: var(--tr-shadow);
  padding: 28px;
}

.tr-poll__header {
  margin-bottom: 20px;
}

.tr-poll__title {
  font-family: var(--tr-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 10px 0 4px;
}

.tr-poll__meta {
  font-size: .85rem;
  color: var(--tr-muted);
  margin: 0;
}
.tr-poll__total {
  font-weight: 600;
  color: var(--tr-text);
}

.tr-poll__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tr-poll__option {
  position: relative;
  background: var(--tr-bg);
  border-radius: var(--tr-radius-sm);
  padding: 12px 16px;
  overflow: hidden;
}

.tr-poll__bar {
  position: absolute;
  inset: 0;
  width: var(--poll-pct, 0%);
  background: rgba(194,73,29,.08);
  border-radius: var(--tr-radius-sm);
  transition: width .6s ease;
}

.tr-poll__option-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tr-poll__option-name {
  font-size: .9rem;
  font-weight: 500;
}
.tr-poll__option-votes {
  font-size: .8rem;
  color: var(--tr-muted);
}

.tr-poll__pct {
  position: relative;
  z-index: 2;
  font-size: .82rem;
  font-weight: 600;
  color: var(--tr-accent);
  margin-top: 2px;
  display: block;
}

.tr-poll__option--winner .tr-poll__bar {
  background: rgba(194,73,29,.14);
}
.tr-poll__option--winner .tr-poll__option-name {
  font-weight: 600;
  color: var(--tr-accent);
}

.tr-poll__vote-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.tr-poll--inline {
  border: 1px solid var(--tr-line);
}

/* Anket + reveal: translateY stickyʼyi bozar — yalnızca fade */
.tr-poll.tr-reveal {
  opacity: 0;
  transform: none;
  transition: opacity .65s ease;
}
.tr-poll.tr-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   31. Captcha Overrides
   --------------------------------------------------------- */
.seo-captcha-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.seo-captcha-question {
  font-family: var(--tr-font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--tr-text);
  background: var(--tr-bg-alt);
  padding: 10px 18px;
  border-radius: var(--tr-radius-sm);
  white-space: nowrap;
}
.seo-captcha-input {
  width: 80px;
  padding: 10px 14px;
  font-size: 1rem;
  text-align: center;
  border: 1.5px solid var(--tr-line);
  border-radius: var(--tr-radius-sm);
  background: var(--tr-bg);
  color: var(--tr-text);
  transition: border-color var(--tr-transition);
  outline: none;
}
.seo-captcha-input:focus {
  border-color: var(--tr-accent);
  box-shadow: 0 0 0 3px rgba(194,73,29,.1);
}
.seo-captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tr-bg-alt);
  color: var(--tr-accent);
  border: none;
  cursor: pointer;
  transition: background var(--tr-transition);
}
.seo-captcha-refresh:hover { background: var(--tr-accent); color: #fff; }
.seo-captcha-refresh svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------
   32. Reveal Animations
   --------------------------------------------------------- */
.tr-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.tr-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.tr-reveal--delay-1 { transition-delay: .1s; }
.tr-reveal--delay-2 { transition-delay: .2s; }
.tr-reveal--delay-3 { transition-delay: .3s; }
.tr-reveal--delay-4 { transition-delay: .4s; }

/* ---------------------------------------------------------
   33. Responsive — 1024px
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .tr-grid--sidebar { grid-template-columns: 1fr 280px; gap: 32px; }
  .tr-content-with-poll { grid-template-columns: 1fr 280px; gap: 28px; }
  .tr-card--hero { grid-template-columns: 50% 50%; }
  .tr-news-hero { grid-template-columns: 50% 50%; }
  .tr-footer__grid { grid-template-columns: repeat(2, 1fr); }

  h1 { font-size: 2.25rem; }
  .tr-title-xl { font-size: 2.25rem; }
  .tr-title-xxl { font-size: 2.75rem; }
  .tr-hero__title { font-size: 2.15rem; }
}

/* ---------------------------------------------------------
   34. Responsive — 900px (Mobile Nav)
   --------------------------------------------------------- */
@media (max-width: 900px) {
  .tr-nav-toggle { display: flex; }

  .tr-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--tr-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: 4px 0 24px rgba(61,44,30,.12);
    transform: translateX(-100%);
    transition: transform var(--tr-transition);
    z-index: 1001;
    overflow-y: auto;
  }
  .tr-header__nav.is-open {
    transform: translateX(0);
  }
  .tr-header__link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--tr-line);
    font-size: 1rem;
  }
  .tr-header__link::after { display: none; }

  .tr-grid--sidebar { grid-template-columns: 1fr; }
  .tr-content-with-poll { grid-template-columns: 1fr; }
  .tr-content-with-poll .tr-poll--inline {
    position: static;
  }
  .tr-grid--2 { grid-template-columns: 1fr; }

  .tr-card--hero,
  .tr-card--horizontal { grid-template-columns: 1fr; }
  .tr-card--hero .tr-card__image img,
  .tr-card--horizontal .tr-card__image img {
    aspect-ratio: 16/10;
    min-height: auto;
  }

  .tr-news-hero { grid-template-columns: 1fr; }
  .tr-news-hero__body { padding: 24px; }

  .tr-hero { min-height: 280px; }
  .tr-hero__title { font-size: 1.75rem; }

  .tr-sidebar { position: static; }
}

/* ---------------------------------------------------------
   35. Responsive — 600px
   --------------------------------------------------------- */
@media (max-width: 600px) {
  .tr-container { padding: 0 16px; }

  h1 { font-size: 1.75rem; }
  .tr-title-xl { font-size: 1.75rem; }
  .tr-title-xxl { font-size: 2rem; }
  .tr-section-header__title { font-size: 1.35rem; }

  .tr-grid--3 { grid-template-columns: 1fr; }

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

  .tr-intro { padding: 48px 0 32px; }
  .tr-intro__title { font-size: 1.75rem; }

  .tr-form__row { grid-template-columns: 1fr; }
  .tr-contact-form-wrap { padding: 24px; }

  .tr-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .tr-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .tr-footer__bottom a { margin-left: 0; margin-right: 16px; }

  .tr-hero__inner { padding-left: 16px; padding-right: 16px; }

  .tr-slide { height: 280px; }
  .tr-slide__title { font-size: 1.25rem; }
  .tr-slide__content { padding: 20px; }

  .tr-card__body { padding: 16px; }

  .tr-404__code { font-size: 5rem; }

  .tr-parallax-break { min-height: 220px; background-attachment: scroll; }
  .tr-parallax-break__quote { font-size: 1.25rem; }
}
