:root {
  --trp-blue: #1769ff;
  --trp-blue-dark: #0d47d9;
  --trp-navy: #0e1a38;
  --trp-text: #17213b;
  --trp-muted: #66728d;
  --trp-line: #e2e8f2;
  --trp-soft: #f6f9ff;
  --trp-white: #ffffff;
  --trp-purple: #6b43d6;
  --trp-green: #13a66a;
  --trp-orange: #f59e0b;
  --trp-teal: #129c9e;
  --trp-radius: 18px;
  --trp-shadow: 0 14px 40px rgba(34, 59, 110, 0.10);
  --trp-shadow-sm: 0 6px 22px rgba(34, 59, 110, 0.08);
  --trp-container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--trp-text);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { display: block; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.trp-skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 10px 14px; background: var(--trp-navy); color: #fff; border-radius: 8px;
}
.trp-skip-link:focus { top: 16px; }
.trp-container { width: min(calc(100% - 40px), var(--trp-container)); margin-inline: auto; }
.trp-icon { width: 1.25em; height: 1.25em; }

.trp-site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(222,229,240,.8);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease;
}
.trp-site-header.is-scrolled { box-shadow: 0 8px 28px rgba(21,45,93,.08); }
.trp-site-header__inner { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.trp-brand { flex: 0 0 auto; }
.trp-brand__image, .custom-logo { width: 172px; max-height: 52px; object-fit: contain; object-position: left center; }
.custom-logo-link { display: flex; align-items: center; }
.trp-primary-nav { margin-left: auto; }
.trp-primary-nav__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.trp-primary-nav__list > li { position: relative; }
.trp-primary-nav__list > li > a {
  display: block; padding: 12px 10px; font-size: 14px; font-weight: 650; color: #263557; border-radius: 9px;
  transition: color .18s ease, background .18s ease;
}
.trp-primary-nav__list > li > a:hover,
.trp-primary-nav__list > .current-menu-item > a { color: var(--trp-blue); background: #eff5ff; }
.trp-primary-nav .sub-menu {
  display: none; position: absolute; left: 0; top: 100%; min-width: 240px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--trp-line); border-radius: 14px; box-shadow: var(--trp-shadow);
}
.trp-primary-nav li:hover > .sub-menu, .trp-primary-nav li:focus-within > .sub-menu { display: block; }
.trp-primary-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.trp-primary-nav .sub-menu a:hover { background: var(--trp-soft); color: var(--trp-blue); }
.trp-header-cta {
  flex: 0 0 auto; padding: 10px 16px; color: var(--trp-blue); border: 1px solid #91b7ff; border-radius: 10px;
  font-size: 14px; font-weight: 750; transition: .2s ease;
}
.trp-header-cta:hover { background: var(--trp-blue); color: #fff; border-color: var(--trp-blue); }
.trp-menu-toggle { display: none; margin-left: auto; padding: 8px; background: transparent; border: 0; color: var(--trp-navy); }
.trp-menu-toggle__close { display: none; }
.trp-menu-toggle[aria-expanded="true"] .trp-menu-toggle__open { display: none; }
.trp-menu-toggle[aria-expanded="true"] .trp-menu-toggle__close { display: block; }

.trp-hero {
  position: relative; overflow: hidden; min-height: 360px; padding: 72px 0 78px;
  background:
    radial-gradient(circle at 20% 20%, rgba(80,146,255,.12), transparent 28%),
    radial-gradient(circle at 83% 12%, rgba(127,88,225,.10), transparent 25%),
    linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}
.trp-hero::before, .trp-hero::after {
  content: ""; position: absolute; width: 130px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.85); filter: blur(.2px);
}
.trp-hero::before { left: 8%; top: 52px; box-shadow: 34px 8px 0 -8px rgba(255,255,255,.9), -28px 10px 0 -12px rgba(255,255,255,.9); }
.trp-hero::after { right: 8%; top: 70px; box-shadow: 34px 8px 0 -8px rgba(255,255,255,.9), -28px 10px 0 -12px rgba(255,255,255,.9); }
.trp-hero__inner { position: relative; z-index: 2; text-align: center; max-width: 940px; }
.trp-hero__eyebrow, .trp-section-heading__eyebrow, .trp-page-header__eyebrow {
  display: inline-block; margin-bottom: 7px; color: var(--trp-blue); font-size: 13px; line-height: 1.3; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.trp-hero h1 { max-width: 880px; margin: 0 auto 14px; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -.045em; color: var(--trp-navy); }
.trp-hero p { max-width: 760px; margin: 0 auto 30px; color: var(--trp-muted); font-size: clamp(16px, 1.7vw, 19px); }
.trp-hero__search { max-width: 800px; margin: 0 auto; }
.trp-search-form {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 18px; background: #fff; border: 1px solid #dce6f5; border-radius: 16px; box-shadow: 0 16px 38px rgba(29,77,161,.13);
}
.trp-search-form__icon { color: #7786a5; }
.trp-search-form__input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; color: var(--trp-text); background: transparent; }
.trp-search-form__input::placeholder { color: #98a4bb; }
.trp-search-form__button, .trp-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 25px; border: 0; border-radius: 10px;
  color: #fff; background: linear-gradient(135deg, var(--trp-blue), #0757e9); box-shadow: 0 8px 18px rgba(23,105,255,.24); font-weight: 750; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trp-search-form__button:hover, .trp-button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(23,105,255,.28); }
.trp-button--purple { background: linear-gradient(135deg, #774ce8, #5b36c6); box-shadow: 0 8px 18px rgba(107,67,214,.25); }
.trp-hero__city { position: absolute; bottom: 0; width: 28%; height: 130px; opacity: .85; background: linear-gradient(180deg, rgba(207,225,255,.18), rgba(185,211,253,.58)); clip-path: polygon(0 65%, 8% 65%, 8% 30%, 16% 30%, 16% 55%, 24% 55%, 24% 10%, 34% 10%, 34% 60%, 44% 60%, 44% 35%, 52% 35%, 52% 72%, 63% 72%, 63% 48%, 72% 48%, 72% 25%, 82% 25%, 82% 66%, 90% 66%, 90% 42%, 100% 42%, 100% 100%, 0 100%); }
.trp-hero__city--left { left: 0; }
.trp-hero__city--right { right: 0; transform: scaleX(-1); }

.trp-main-categories { position: relative; z-index: 3; margin-top: -38px; padding-bottom: 24px; }
.trp-main-categories__grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.trp-category-card {
  min-height: 170px; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--trp-line); border-radius: 15px; box-shadow: var(--trp-shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.trp-category-card:hover { transform: translateY(-4px); box-shadow: var(--trp-shadow); border-color: #b8ceef; }
.trp-category-card__icon, .trp-quick-card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 13px; border-radius: 16px;
}
.trp-category-card__icon .trp-icon { width: 28px; height: 28px; }
.trp-category-card strong { margin-bottom: 5px; color: var(--trp-navy); font-size: 15px; line-height: 1.3; }
.trp-category-card > span:last-child { color: var(--trp-muted); font-size: 12.5px; line-height: 1.45; }
.trp-tone-blue { color: #1769ff; background: #eaf2ff; }
.trp-tone-green { color: #0ca568; background: #e9f9f2; }
.trp-tone-orange { color: #f49a08; background: #fff4df; }
.trp-tone-royal { color: #175ee7; background: #e9f0ff; }
.trp-tone-purple { color: #6b43d6; background: #f0eaff; }
.trp-tone-teal { color: #0b9999; background: #e7f8f8; }

.trp-section { padding: 48px 0; }
.trp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.trp-section-heading h2 { margin: 0; color: var(--trp-navy); font-size: clamp(25px, 3vw, 34px); line-height: 1.15; letter-spacing: -.03em; }
.trp-section-heading > a { display: inline-flex; align-items: center; gap: 7px; color: var(--trp-blue); font-size: 14px; font-weight: 750; }
.trp-section-heading > a .trp-icon { width: 16px; transition: transform .2s ease; }
.trp-section-heading > a:hover .trp-icon { transform: translateX(3px); }
.trp-quick-section { padding-top: 28px; }
.trp-quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.trp-quick-card { padding: 18px; border: 1px solid var(--trp-line); border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(35,57,98,.05); }
.trp-quick-card__heading { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.trp-quick-card__icon { width: 40px; height: 40px; margin: 0; border-radius: 13px; }
.trp-quick-card__heading h3 { margin: 0; font-size: 17px; color: var(--trp-navy); }
.trp-quick-card ul { list-style: none; margin: 0; padding: 0; }
.trp-quick-card li + li { border-top: 1px solid #edf1f7; }
.trp-quick-card li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 1px; color: #334365; font-size: 13px; font-weight: 560; }
.trp-quick-card li a:hover { color: var(--trp-blue); }
.trp-quick-card li .trp-icon { width: 14px; height: 14px; color: #8aa0c2; }

.trp-featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.trp-kobi-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.trp-latest-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.trp-post-card { overflow: hidden; background: #fff; border: 1px solid var(--trp-line); border-radius: 16px; box-shadow: 0 5px 18px rgba(35,57,98,.055); transition: transform .2s ease, box-shadow .2s ease; }
.trp-post-card:hover { transform: translateY(-3px); box-shadow: var(--trp-shadow); }
.trp-post-card__image { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(135deg,#edf4ff,#f6f1ff); }
.trp-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.trp-post-card:hover .trp-post-card__image img { transform: scale(1.035); }
.trp-post-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #8ba7d5; }
.trp-post-card__placeholder .trp-icon { width: 48px; height: 48px; }
.trp-post-card__body { padding: 17px; }
.trp-post-card__category { display: inline-flex; margin-bottom: 8px; padding: 4px 8px; border-radius: 20px; color: var(--trp-blue); background: #edf4ff; font-size: 11px; font-weight: 800; }
.trp-post-card__title { margin: 0 0 9px; color: var(--trp-navy); font-size: 18px; line-height: 1.35; letter-spacing: -.015em; }
.trp-post-card__title a:hover { color: var(--trp-blue); }
.trp-post-card__excerpt { margin: 0 0 12px; color: var(--trp-muted); font-size: 13.5px; line-height: 1.55; }
.trp-post-card__date { color: #94a0b7; font-size: 11.5px; }
.trp-post-card--compact .trp-post-card__title { font-size: 17px; }
.trp-post-card--horizontal { display: grid; grid-template-columns: 145px 1fr; }
.trp-post-card--horizontal .trp-post-card__image { aspect-ratio: auto; min-height: 170px; }
.trp-post-card--horizontal .trp-post-card__title { font-size: 16px; }
.trp-post-card--horizontal .trp-post-card__excerpt { display: none; }
.trp-post-card--latest .trp-post-card__title { font-size: 15px; }
.trp-post-card--latest .trp-post-card__body { padding: 14px; }
.trp-post-card--latest .trp-post-card__excerpt { display: none; }
.trp-kobi-section { background: linear-gradient(180deg,#fbfcff,#f6f9ff); }

.trp-cta-section { padding-top: 30px; padding-bottom: 70px; }
.trp-cta-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.trp-cta-card { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: start; padding: 30px; border: 1px solid #cfddf5; border-radius: 18px; }
.trp-cta-card--newsletter { background: linear-gradient(135deg,#edf5ff,#f8fbff); }
.trp-cta-card--advertise { background: linear-gradient(135deg,#f4efff,#fbf9ff); border-color: #ded1fa; }
.trp-cta-card__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: var(--trp-blue); background: #dceaff; }
.trp-cta-card--advertise .trp-cta-card__icon { color: var(--trp-purple); background: #e8defd; }
.trp-cta-card__icon .trp-icon { width: 32px; height: 32px; }
.trp-cta-card h2 { margin: 0 0 5px; color: var(--trp-navy); font-size: 21px; }
.trp-cta-card p { margin: 0 0 18px; color: var(--trp-muted); font-size: 14px; }
.trp-cta-card .trp-button { min-height: 42px; padding: 9px 18px; font-size: 13px; }

.trp-site-footer { padding: 60px 0 24px; color: #53617d; background: #fbfcff; border-top: 1px solid var(--trp-line); }
.trp-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 46px; }
.trp-footer-brand img { width: 185px; max-height: 58px; object-fit: contain; object-position: left center; }
.trp-footer-brand p { max-width: 310px; margin: 16px 0; }
.trp-footer-email { display: inline-flex; align-items: center; gap: 8px; color: var(--trp-blue); font-weight: 650; }
.trp-site-footer h2 { margin: 5px 0 14px; color: var(--trp-navy); font-size: 15px; }
.trp-site-footer ul { list-style: none; margin: 0; padding: 0; }
.trp-site-footer li + li { margin-top: 9px; }
.trp-site-footer li a { font-size: 13.5px; }
.trp-site-footer li a:hover { color: var(--trp-blue); }
.trp-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--trp-line); font-size: 12px; }
.trp-footer-bottom p { margin: 0; }
.trp-footer-bottom__menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

.trp-content-area { min-height: 60vh; padding: 50px 0 72px; background: #fff; }
.trp-page-header { margin-bottom: 32px; padding: 36px; background: linear-gradient(135deg,#f1f6ff,#fbfcff); border: 1px solid var(--trp-line); border-radius: 20px; }
.trp-page-header h1 { margin: 0; color: var(--trp-navy); font-size: clamp(32px,4vw,48px); line-height: 1.12; letter-spacing: -.04em; }
.trp-page-header__description { max-width: 820px; color: var(--trp-muted); }
.trp-page-header__description p { margin-bottom: 0; }
.trp-page-header__search { max-width: 760px; margin-top: 24px; }
.trp-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--trp-line); border-radius: 10px; color: #41506d; background: #fff; }
.page-numbers.current, .page-numbers:hover { color: #fff; background: var(--trp-blue); border-color: var(--trp-blue); }
.trp-empty-state { grid-column: 1 / -1; padding: 50px; text-align: center; border: 1px dashed #cbd8eb; border-radius: 18px; background: #fafcff; }

.trp-article-container { max-width: 1020px; }
.trp-article__header { max-width: 900px; margin: 0 auto 28px; text-align: center; }
.trp-breadcrumbs { margin-bottom: 18px; color: #7a879f; font-size: 13px; }
.trp-breadcrumbs a:hover { color: var(--trp-blue); }
.trp-article__category { display: inline-flex; margin-bottom: 12px; padding: 5px 10px; color: var(--trp-blue); background: #edf4ff; border-radius: 20px; font-size: 12px; font-weight: 800; }
.trp-article__header h1 { margin: 0; color: var(--trp-navy); font-size: clamp(34px,5vw,58px); line-height: 1.08; letter-spacing: -.045em; }
.trp-article__meta { display: flex; justify-content: center; gap: 18px; margin-top: 18px; color: #77839a; font-size: 13px; }
.trp-article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.trp-article__featured { margin: 0 0 34px; overflow: hidden; border-radius: 20px; box-shadow: var(--trp-shadow-sm); }
.trp-article__featured img { display: block; width: 100%; }
.trp-article__content { max-width: 820px; margin: 0 auto; color: #26334f; font-size: 18px; line-height: 1.82; }
.trp-article__content > *:first-child { margin-top: 0; }
.trp-article__content h2 { margin: 2.1em 0 .65em; color: var(--trp-navy); font-size: clamp(27px,3vw,36px); line-height: 1.2; letter-spacing: -.03em; }
.trp-article__content h3 { margin: 1.7em 0 .55em; color: var(--trp-navy); font-size: 24px; line-height: 1.3; }
.trp-article__content h4 { color: var(--trp-navy); }
.trp-article__content a { color: var(--trp-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.trp-article__content ul, .trp-article__content ol { padding-left: 1.35em; }
.trp-article__content li { margin-bottom: .45em; }
.trp-article__content blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--trp-blue); background: #f4f8ff; border-radius: 0 13px 13px 0; }
.trp-article__content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.trp-article__content th, .trp-article__content td { padding: 11px 12px; border: 1px solid var(--trp-line); text-align: left; }
.trp-article__content th { background: #f4f7fc; }
.trp-article__content details { margin: 12px 0; padding: 16px 18px; border: 1px solid var(--trp-line); border-radius: 12px; background: #fff; }
.trp-article__content summary { color: var(--trp-navy); font-weight: 750; cursor: pointer; }
.trp-article__tags { max-width: 820px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--trp-line); color: var(--trp-muted); font-size: 13px; }
.trp-related { margin-top: 64px; }
.trp-related__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.trp-widget { max-width: 820px; margin: 35px auto; padding: 24px; border: 1px solid var(--trp-line); border-radius: 16px; }
.trp-widget__title { margin-top: 0; }

.trp-404 { max-width: 760px; margin: 30px auto; text-align: center; }
.trp-404 > span { display: block; color: #dce8ff; font-size: clamp(90px,18vw,190px); line-height: .9; font-weight: 900; letter-spacing: -.08em; }
.trp-404 h1 { color: var(--trp-navy); font-size: 38px; }
.trp-404 p { color: var(--trp-muted); }
.trp-404 .trp-search-form { margin: 26px 0; }

@media (max-width: 1180px) {
  .trp-site-header__inner { gap: 16px; }
  .trp-primary-nav__list > li > a { padding-inline: 7px; font-size: 13px; }
  .trp-header-cta { display: none; }
  .trp-main-categories__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .trp-latest-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 960px) {
  .trp-menu-toggle { display: block; }
  .trp-primary-nav {
    display: none; position: fixed; inset: 78px 0 auto 0; max-height: calc(100vh - 78px); overflow-y: auto;
    padding: 14px 20px 24px; background: #fff; border-bottom: 1px solid var(--trp-line); box-shadow: 0 20px 30px rgba(24,49,94,.12);
  }
  .trp-primary-nav.is-open { display: block; }
  .trp-primary-nav__list { display: block; }
  .trp-primary-nav__list > li > a { padding: 12px; font-size: 15px; }
  .trp-primary-nav .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 0 18px; border: 0; box-shadow: none; }
  .trp-primary-nav .sub-menu a { color: var(--trp-muted); }
  .trp-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trp-featured-grid, .trp-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trp-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .trp-container { width: min(calc(100% - 28px), var(--trp-container)); }
  .trp-site-header__inner { min-height: 68px; }
  .trp-brand__image, .custom-logo { width: 150px; }
  .trp-primary-nav { inset-top: 68px; }
  .trp-hero { min-height: auto; padding: 54px 0 72px; }
  .trp-hero h1 { font-size: 38px; }
  .trp-search-form { padding-left: 13px; }
  .trp-search-form__input { font-size: 14px; }
  .trp-search-form__button { padding-inline: 18px; }
  .trp-main-categories__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trp-category-card { min-height: 160px; }
  .trp-section { padding: 38px 0; }
  .trp-section-heading { align-items: start; }
  .trp-section-heading > a { margin-top: 8px; white-space: nowrap; }
  .trp-kobi-grid, .trp-latest-grid, .trp-cta-grid, .trp-related__grid { grid-template-columns: 1fr; }
  .trp-cta-card { grid-template-columns: 58px 1fr; padding: 22px; }
  .trp-cta-card__icon { width: 56px; height: 56px; }
  .trp-footer-grid { gap: 30px; }
  .trp-footer-bottom { flex-direction: column; align-items: flex-start; }
  .trp-article__header { text-align: left; }
  .trp-article__header h1 { font-size: 39px; }
  .trp-article__meta { justify-content: flex-start; flex-wrap: wrap; }
  .trp-article__content { font-size: 17px; }
  .trp-page-header { padding: 26px 22px; }
}

@media (max-width: 520px) {
  .trp-main-categories__grid, .trp-quick-grid, .trp-featured-grid, .trp-archive-grid, .trp-footer-grid { grid-template-columns: 1fr; }
  .trp-category-card { min-height: 0; align-items: flex-start; text-align: left; padding: 18px; }
  .trp-category-card__icon { margin-bottom: 11px; }
  .trp-post-card--horizontal { grid-template-columns: 110px 1fr; }
  .trp-post-card--horizontal .trp-post-card__body { padding: 12px; }
  .trp-post-card--horizontal .trp-post-card__date { display: none; }
  .trp-section-heading { display: block; }
  .trp-section-heading > a { margin-top: 12px; }
  .trp-cta-card { display: block; }
  .trp-cta-card__icon { margin-bottom: 15px; }
  .trp-hero__city { width: 48%; }
}

/* TrendRehber Portal 0.2.0 refinements */
.trp-menu-item--mobile-only { display: none; }
.trp-post-card__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.trp-post-card--horizontal .trp-post-card__title { -webkit-line-clamp: 4; }
.trp-front-page .trp-section + .trp-section { border-top: 1px solid rgba(226,232,242,.35); }
.trp-front-page .trp-kobi-section { border-top: 0; }
.trp-menu-open { overflow: hidden; }
.trp-all-posts-page .page-numbers { display: inline-flex; }
.trp-all-posts-page ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 36px 0 0; }

@media (max-width: 960px) {
  .trp-menu-item--mobile-only { display: list-item; }
  .trp-primary-nav { overscroll-behavior: contain; }
  .trp-primary-nav__list > li + li { border-top: 1px solid #edf1f7; }
  .trp-primary-nav__list > li > a { border-radius: 8px; }
}

@media (max-width: 720px) {
  .trp-site-header__inner { min-height: 72px; }
  .trp-brand__image, .custom-logo { width: 158px; max-height: 50px; }
  .trp-primary-nav { inset: 72px 0 auto 0; max-height: calc(100vh - 72px); }
  .trp-menu-toggle .trp-icon { width: 28px; height: 28px; }

  .trp-hero { padding: 42px 0 58px; }
  .trp-hero__eyebrow { max-width: 100%; font-size: 12px; letter-spacing: .07em; }
  .trp-hero h1 { max-width: 590px; font-size: clamp(34px, 8vw, 42px); line-height: 1.1; }
  .trp-hero p { max-width: 570px; margin-bottom: 24px; font-size: 17px; line-height: 1.6; }
  .trp-main-categories { margin-top: -24px; }

  .trp-section { padding: 34px 0; }
  .trp-section-heading { margin-bottom: 18px; }
  .trp-section-heading h2 { font-size: clamp(30px, 7vw, 38px); }
  .trp-section-heading__eyebrow { font-size: 12px; }
  .trp-quick-section { padding-top: 24px; }

  .trp-post-card__body { padding: 16px; }
  .trp-post-card--compact .trp-post-card__title { font-size: 19px; }
  .trp-post-card--latest .trp-post-card__title { font-size: 18px; }

  .trp-cta-section { padding-top: 22px; padding-bottom: 48px; }
  .trp-cta-card h2 { font-size: 23px; }
  .trp-cta-card p { font-size: 15px; }
  .trp-site-footer { padding-top: 44px; }
}

@media (max-width: 520px) {
  .trp-container { width: min(calc(100% - 24px), var(--trp-container)); }
  .trp-site-header__inner { min-height: 68px; }
  .trp-brand__image, .custom-logo { width: 154px; }
  .trp-primary-nav { inset: 68px 0 auto 0; max-height: calc(100vh - 68px); padding-inline: 14px; }

  .trp-hero { padding: 32px 0 50px; }
  .trp-hero::before, .trp-hero::after { opacity: .65; }
  .trp-hero__eyebrow { margin-bottom: 9px; font-size: 10.5px; }
  .trp-hero h1 { margin-bottom: 13px; font-size: 32px; line-height: 1.12; letter-spacing: -.04em; }
  .trp-hero p { margin-bottom: 20px; font-size: 16px; line-height: 1.55; }
  .trp-search-form { gap: 5px; padding: 6px 6px 6px 12px; border-radius: 14px; }
  .trp-search-form__icon { flex: 0 0 auto; }
  .trp-search-form__input { height: 44px; font-size: 13px; }
  .trp-search-form__button { min-width: 66px; min-height: 44px; padding: 9px 13px; font-size: 14px; }

  .trp-main-categories { margin-top: -20px; padding-bottom: 10px; }
  .trp-main-categories__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .trp-category-card { min-height: 145px; align-items: center; justify-content: flex-start; padding: 15px 10px; text-align: center; }
  .trp-category-card__icon { width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; }
  .trp-category-card__icon .trp-icon { width: 24px; height: 24px; }
  .trp-category-card strong { font-size: 14px; }
  .trp-category-card > span:last-child { font-size: 11.5px; }

  .trp-section { padding: 30px 0; }
  .trp-section-heading { margin-bottom: 16px; }
  .trp-section-heading h2 { font-size: 31px; }
  .trp-section-heading > a { margin-top: 8px; font-size: 15px; }
  .trp-section-heading__eyebrow { margin-bottom: 5px; font-size: 10.5px; }

  .trp-quick-card { padding: 18px; }
  .trp-quick-card__heading { margin-bottom: 8px; }
  .trp-quick-card__heading h3 { font-size: 22px; }
  .trp-quick-card li a { padding: 12px 1px; font-size: 15px; }

  .trp-featured-grid, .trp-archive-grid, .trp-footer-grid { grid-template-columns: 1fr; }
  .trp-post-card__image { aspect-ratio: 16/9; }
  .trp-post-card--compact .trp-post-card__title { font-size: 20px; }
  .trp-post-card--compact .trp-post-card__excerpt { display: none; }
  .trp-post-card--latest .trp-post-card__title { font-size: 18px; }

  .trp-post-card--horizontal { grid-template-columns: 118px minmax(0,1fr); min-height: 154px; }
  .trp-post-card--horizontal .trp-post-card__image { min-height: 154px; }
  .trp-post-card--horizontal .trp-post-card__body { display: flex; flex-direction: column; justify-content: center; padding: 13px; }
  .trp-post-card--horizontal .trp-post-card__title { margin-bottom: 0; font-size: 17px; line-height: 1.3; }
  .trp-post-card--horizontal .trp-post-card__category { margin-bottom: 7px; font-size: 10px; }

  .trp-cta-card { padding: 24px 22px; }
  .trp-cta-card__icon { width: 58px; height: 58px; }
  .trp-cta-card h2 { font-size: 24px; line-height: 1.25; }
  .trp-cta-card p { font-size: 15px; line-height: 1.55; }
  .trp-cta-card .trp-button { width: 100%; }

  .trp-site-footer { padding: 40px 0 20px; }
  .trp-footer-brand img { width: 200px; }
  .trp-footer-brand p { font-size: 16px; }
  .trp-footer-email { font-size: 15px; word-break: break-word; }
  .trp-site-footer h2 { margin-top: 4px; font-size: 18px; }
  .trp-site-footer li a { font-size: 15px; }
  .trp-footer-bottom__menu { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .trp-main-categories__grid { grid-template-columns: 1fr; }
  .trp-category-card { min-height: 0; }
  .trp-hero h1 { font-size: 29px; }
  .trp-search-form__button { min-width: 60px; padding-inline: 10px; }
  .trp-post-card--horizontal { grid-template-columns: 104px minmax(0,1fr); }
}


/* TrendRehber Portal 0.2.2 article refinements */
.trp-article__featured img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.trp-article__content figure:first-child,
.trp-article__content .wp-block-image:first-child {
  margin-top: 0;
}

@media (max-width: 720px) {
  .trp-content-area { padding-top: 30px; }
  .trp-article__header { margin-bottom: 22px; }
  .trp-breadcrumbs {
    display: block;
    max-width: 100%;
    margin-bottom: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .trp-breadcrumbs > span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .trp-article__header h1 {
    font-size: clamp(31px, 9vw, 36px);
    line-height: 1.06;
    letter-spacing: -.042em;
  }
  .trp-article__meta { margin-top: 14px; gap: 13px; }
  .trp-article__featured { margin-bottom: 26px; border-radius: 15px; }
  .trp-article__content { font-size: 17px; line-height: 1.76; }
  .trp-article__content h2 { margin-top: 1.8em; font-size: 29px; }
  .trp-article__content h3 { font-size: 22px; }
}

@media (max-width: 380px) {
  .trp-article__header h1 { font-size: 30px; }
  .trp-article__meta { font-size: 12px; }
}

/* TrendRehber Portal 0.3.0 portal landing pages */
.trp-page-header--hub { margin-bottom: 30px; }
.trp-page-header--hub .trp-page-header__description { max-width: 820px; margin: 14px 0 0; }
.trp-hub-summary { display: flex; align-items: baseline; gap: 7px; margin: -8px 0 20px; color: var(--trp-muted); }
.trp-hub-summary strong { color: var(--trp-blue); font-size: 22px; }
.trp-hub .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 13px; border: 1px solid var(--trp-border); border-radius: 12px; background: #fff; color: var(--trp-navy); font-weight: 700; }
.trp-hub .page-numbers.current { border-color: var(--trp-blue); background: var(--trp-blue); color: #fff; }
.trp-hub ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.trp-empty-state { padding: 44px; border: 1px solid var(--trp-border); border-radius: 24px; background: #fff; text-align: center; }
.trp-empty-state h2 { margin-top: 0; color: var(--trp-navy); }
.trp-empty-state p { margin-bottom: 24px; color: var(--trp-muted); }

@media (max-width: 520px) {
  .trp-page-header--hub { padding: 24px 20px; }
  .trp-page-header--hub h1 { font-size: 34px; line-height: 1.08; }
  .trp-page-header--hub .trp-page-header__description { font-size: 15px; line-height: 1.55; }
  .trp-hub-summary { margin-top: -10px; }
  .trp-empty-state { padding: 30px 20px; }
}


/* TrendRehber Portal 0.4.1 primary-category hubs */
.trp-hub-subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 28px;
}
.trp-hub-subcategories a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--trp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--trp-navy);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.trp-hub-subcategories a:hover {
  border-color: color-mix(in srgb, var(--trp-blue) 55%, var(--trp-border));
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(18, 43, 79, .08);
}
.trp-hub-subcategories small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--trp-blue);
  font-size: 11px;
  font-weight: 800;
}
@media (max-width: 520px) {
  .trp-hub-subcategories { gap: 8px; margin-bottom: 23px; }
  .trp-hub-subcategories a { width: 100%; justify-content: space-between; border-radius: 13px; }
}
