/*
Theme Name: TradeNet
Theme URI: https://tradenet.hu
Author: Digital Footprint
Author URI: https://digitalfootprint.hu
Description: TradeNet – egyedi blog téma
Version: 1.0.0
License: Proprietary
Text Domain: tradenet
*/

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --primary:   #7a3ae3;
  --dark:      #181623;
  --bg:        #fafafa;
  --pink-bg:   #ebdfff;
  --white:     #ffffff;
  --border:    #dcdcdc;
  --hero-cat:  #dfbe47;
  --muted:     #5d6c7b;
}

/* =============================================
   Reset / Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  margin-top: 0;
  line-height: 1.2;
}
p { margin-top: 0; }

/* =============================================
   Containers
   ============================================= */
.tn-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.tn-container--lg {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
.tn-header {
  background: transparent;
  padding-top: 60px;
  position: relative;
  z-index: 100;
}
.tn-navbar {
  border-top: 2px solid var(--dark);
  border-bottom: 2px solid var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}
.tn-nav-logo img,
.tn-nav-logo svg {
  height: 36px;
  width: auto;
}
.tn-nav-logo span {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
}

/* Center nav */
.tn-center-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tn-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 4px;
  transition: color .2s;
}
.tn-nav-link:hover { color: var(--primary); }
.tn-nav-circle {
  border: 2px solid var(--dark);
  border-radius: 100%;
  min-width: 22px;
  max-width: 22px;
  min-height: 22px;
  max-height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color .2s, border-color .2s;
  overflow: hidden;
}
.tn-nav-link:hover .tn-nav-circle {
  background-color: var(--dark);
}

/* Search form */
.tn-nav-search {
  display: flex;
  align-items: stretch;
  margin-left: 5px;
}
.tn-nav-search form {
  display: flex;
  align-items: stretch;
}
.tn-nav-search input[type="search"] {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-left: 2px solid var(--dark);
  border-right: none;
  background: transparent;
  color: var(--dark);
  min-width: 150px;
  height: 60px;
  padding: 5px 10px;
  font-size: 16px;
  font-family: 'Jost', sans-serif;
  outline: none;
  transition: all .2s;
}
.tn-nav-search input[type="search"]::placeholder { color: var(--muted); }
.tn-nav-search-btn {
  background-color: var(--dark);
  color: var(--white);
  border: none;
  margin: 2px;
  padding: 13px 30px;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  cursor: pointer;
  transition: background-color .2s;
  white-space: nowrap;
}
.tn-nav-search-btn:hover { background-color: var(--primary); }

/* Mobile button */
.tn-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.tn-mobile-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all .3s ease;
}
.tn-mobile-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tn-mobile-btn.open span:nth-child(2) { opacity: 0; }
.tn-mobile-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.tn-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.tn-mobile-nav.open { max-height: 600px; border-bottom: 2px solid var(--dark); }
.tn-mobile-nav .tn-nav-link {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   HERO
   ============================================= */
.tn-hero {
  padding-top: 50px;
  padding-bottom: 50px;
}
.tn-hero-title-wrap {
  text-align: center;
  margin-bottom: 55px;
  overflow: hidden;
  position: relative;
}
.tn-hero-title {
  color: var(--dark);
  font-family: 'Jost', sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  animation: tn-fade-up .8s ease forwards;
  opacity: 0;
}
@keyframes tn-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero grid: text (left) | image (right) */
.tn-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  min-height: 460px;
}
.tn-hero-content {
  background-color: var(--dark);
  color: var(--white);
  padding: 45px 30px 60px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tn-hero-cat {
  display: inline-block;
  color: var(--hero-cat);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px;
  transition: color .2s;
}
.tn-hero-cat:hover { color: var(--white); }
.tn-hero-post-title {
  font-family: 'Jost', sans-serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
  transition: color .2s;
  display: block;
}
.tn-hero-post-title:hover { color: var(--hero-cat); }
.tn-hero-excerpt {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  margin: 0;
}
.tn-hero-img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--dark);
}
.tn-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tn-hero-img-wrap:hover img { transform: scale(1.03); }

/* =============================================
   FEATURE LISTING
   ============================================= */
.tn-feature-listing {
  border-top: 2px solid var(--dark);
  padding-bottom: 80px;
}
.tn-feature-inner {
  display: flex;
}
.tn-feature-posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 60%;
  height: 100%;
  border-right: 2px solid var(--dark);
}
.tn-feature-item {
  border-right: 2px solid var(--dark);
  border-bottom: 2px solid var(--dark);
  background: var(--white);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 30px 36px 30px;
  transition: background-color .2s;
  gap: 30px;
}
.tn-feature-item:hover { background-color: var(--pink-bg); }
.tn-feature-item:nth-child(2n) { border-right: none; }
.tn-feature-item:nth-child(n+3) { border-bottom: none; }

.tn-feature-cat {
  display: inline-block;
  background-color: var(--dark);
  color: var(--white);
  padding: 6px 22px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
  transition: background-color .2s;
}
.tn-feature-cat:hover { background-color: var(--primary); }
.tn-feature-title {
  font-family: 'Jost', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
  display: block;
  transition: color .2s;
}
.tn-feature-title:hover { color: var(--primary); }
.tn-feature-excerpt {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.tn-feature-img {
  flex: none;
  width: 40%;
  overflow: hidden;
  position: relative;
  background-color: var(--dark);
  min-height: 400px;
}
.tn-feature-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease;
}

/* =============================================
   LATEST POSTS + SIDEBAR
   ============================================= */
.tn-latest { padding-bottom: 50px; }

.tn-section-bar {
  background-color: var(--dark);
  min-height: 80px;
  max-height: 80px;
  padding: 0 30px;
  display: flex;
  align-items: center;
}
.tn-section-bar h2 {
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin: 0;
}

.tn-latest-body {
  display: flex;
  gap: 50px;
  margin-top: 80px;
}
.tn-latest-posts { flex: 1; }
.tn-latest-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 30px;
  align-self: flex-start;
}

/* Latest post card (1-col list) */
.tn-latest-item {
  padding-bottom: 60px;
}
.tn-latest-item:last-child { padding-bottom: 0; }
.tn-latest-img-wrap {
  display: block;
  overflow: hidden;
  height: 340px;
  margin-bottom: 0;
}
.tn-latest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.tn-latest-img-wrap:hover img { transform: scale(1.06); }
.tn-latest-img-placeholder {
  width: 100%;
  height: 340px;
  background: var(--border);
}
.tn-latest-cat {
  display: inline-block;
  background-color: var(--dark);
  color: var(--white);
  padding: 6px 22px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 14px;
  margin-bottom: 14px;
  transition: background-color .2s;
}
.tn-latest-cat:hover { background-color: var(--primary); }
.tn-latest-title {
  font-family: 'Jost', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 15px;
  display: block;
  transition: color .2s;
}
.tn-latest-title:hover { color: var(--primary); }
.tn-latest-excerpt {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Popular posts */
.tn-sidebar-popular { margin-bottom: 40px; }
.tn-popular-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tn-popular-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.tn-popular-img-wrap {
  width: 80px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
}
.tn-popular-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.tn-popular-item:hover .tn-popular-img-wrap img { transform: scale(1.06); }
.tn-popular-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--border);
}
.tn-popular-title {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  transition: color .2s;
}
.tn-popular-item:hover .tn-popular-title { color: var(--primary); }

/* Sidebar */
.tn-sidebar-title {
  font-family: 'Jost', sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 30px;
}
.tn-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tn-cat-item {
  margin-bottom: 25px;
}
.tn-cat-link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color .2s;
}
.tn-cat-link:hover { color: var(--primary); }
.tn-cat-circle {
  border: 2px solid var(--dark);
  border-radius: 100%;
  min-width: 22px;
  max-width: 22px;
  min-height: 22px;
  max-height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: background-color .2s, border-color .2s;
}
.tn-cat-link:hover .tn-cat-circle {
  background-color: var(--primary);
  border-color: var(--primary);
}
/* Override wp_list_categories output */
.tn-sidebar-cats ul.tn-cat-list li {
  margin-bottom: 25px;
  list-style: none;
}
.tn-sidebar-cats ul.tn-cat-list li a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 500;
  transition: color .2s;
}
.tn-sidebar-cats ul.tn-cat-list li a:hover { color: var(--primary); }

/* =============================================
   ALL POSTS (3-col grid)
   ============================================= */
.tn-all-posts { padding-bottom: 80px; }
.tn-all-posts .tn-section-bar { margin-bottom: 40px; }

.tn-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tn-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.tn-card-wrap {
  border: 2px solid var(--dark);
  background-color: var(--white);
  min-height: 572px;
  padding: 35px 30px 30px;
  transition: background-color .2s;
  display: flex;
  flex-direction: column;
}
.tn-card-wrap:hover { background-color: var(--pink-bg); }
.tn-card-img-area {
  border: 2px solid var(--dark);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.tn-card-img-area img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.tn-card-wrap:hover .tn-card-img-area img { transform: scale(1.03); }
.tn-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: var(--border);
}
.tn-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--dark);
  color: var(--white);
  padding: 6px 22px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  transition: background-color .2s;
}
.tn-card-wrap:hover .tn-card-badge { background-color: var(--primary); }
.tn-card-content { flex: 1; display: flex; flex-direction: column; }
.tn-card-title {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
  display: block;
  transition: color .2s;
}
.tn-card-wrap:hover .tn-card-title { color: var(--primary); }
.tn-card-excerpt {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.tn-footer {
  background-color: var(--dark);
  color: var(--white);
  padding-top: 80px;
  padding-bottom: 75px;
}
.tn-footer-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 60px;
}
.tn-footer-brand {
  min-width: 160px;
}
.tn-footer-brand img,
.tn-footer-brand svg {
  height: 36px;
  width: auto;
  filter: brightness(10) invert(0);
}
.tn-footer-brand span {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
}
.tn-footer-col h3 {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 10px;
}
.tn-footer-col a {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  padding: 5px 0;
  transition: color .2s;
}
.tn-footer-col a:hover { color: var(--white); }
/* wp_list_categories override in footer */
.tn-footer-col ul { list-style: none; margin: 0; padding: 0; }
.tn-footer-col ul li a {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  padding: 5px 0;
  transition: color .2s;
}
.tn-footer-col ul li a:hover { color: var(--white); }

.tn-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 30px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

/* =============================================
   ARCHIVE PAGE
   ============================================= */
.tn-archive-header {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0;
  margin-top: 50px;
}
.tn-archive-header h1 {
  font-family: 'Jost', sans-serif;
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--white);
}
.tn-archive-desc { color: rgba(255,255,255,.75); margin: 0; }
.tn-archive-grid {
  padding: 60px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.tn-archive-card {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
.tn-archive-card:hover .tn-archive-title { color: var(--primary); }
.tn-archive-card-img {
  width: 180px;
  height: 130px;
  object-fit: cover;
  flex-shrink: 0;
}
.tn-archive-card-img-placeholder {
  width: 180px;
  height: 130px;
  background: var(--border);
  flex-shrink: 0;
}
.tn-archive-card-body { flex: 1; }
.tn-archive-cat {
  display: inline-block;
  background-color: var(--dark);
  color: var(--white);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  transition: background-color .2s;
}
.tn-archive-card:hover .tn-archive-cat { background-color: var(--primary); }
.tn-archive-title {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 8px;
  transition: color .2s;
}
.tn-archive-excerpt {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* =============================================
   SINGLE POST (Layout B — Szerkesztői hero)
   ============================================= */
.tn-single-hero {
  height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  margin-top: 50px;
}
.tn-single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tn-single-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 100%);
  padding: 60px 40px 50px;
}
.tn-single-hero .tn-cat-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 14px;
  transition: background-color .2s;
}
.tn-single-hero .tn-cat-badge:hover { background: var(--dark); }
.tn-single-hero h1 {
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

/* Fallback header (no thumbnail) */
.tn-single-header {
  padding: 50px 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
}
.tn-single-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.tn-single-breadcrumb a { color: var(--muted); transition: color .2s; }
.tn-single-breadcrumb a:hover { color: var(--primary); }
.tn-single-header .tn-cat-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 14px;
  transition: background-color .2s;
}
.tn-single-header h1 {
  font-family: 'Jost', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
  margin: 0;
}

/* Content */
.tn-single-content {
  max-width: 720px;
  margin: 60px auto 80px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--dark);
}
.tn-single-content p { margin-bottom: 20px; }
.entry-content img,
.tn-single-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
}

/* Related posts */
.tn-related {
  background-color: var(--pink-bg);
  padding: 60px 0 80px;
}
.tn-related-title {
  font-family: 'Jost', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 40px;
}
.tn-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tn-related-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
}
.tn-related-item:last-child { border-bottom: none; }
.tn-related-num {
  font-family: 'Jost', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--dark);
  opacity: .2;
  min-width: 40px;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}
.tn-related-img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
}
.tn-related-img-placeholder {
  width: 160px;
  height: 110px;
  background: var(--border);
  flex-shrink: 0;
}
.tn-related-body { flex: 1; }
.tn-related-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.tn-related-post-title {
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 6px;
  transition: color .2s;
  display: block;
}
.tn-related-item:hover .tn-related-post-title { color: var(--primary); }
.tn-related-excerpt {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* =============================================
   PAGE TEMPLATE
   ============================================= */
.tn-page-header {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0;
}
.tn-page-header h1 {
  font-family: 'Jost', sans-serif;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}
.tn-page-content {
  padding: 60px 0 80px;
  font-size: 17px;
  line-height: 1.8;
  max-width: 800px;
}
.entry-content p { margin-bottom: 20px; }

/* =============================================
   404
   ============================================= */
.tn-404 {
  padding: 120px 0;
  text-align: center;
}
.tn-404 h1 {
  font-family: 'Jost', sans-serif;
  font-size: 120px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0;
  opacity: .1;
}
.tn-404 h2 {
  font-family: 'Jost', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}
.tn-404 p { color: var(--muted); margin-bottom: 30px; }
.tn-btn {
  display: inline-block;
  background-color: var(--dark);
  color: var(--white);
  padding: 14px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: background-color .2s;
  cursor: pointer;
}
.tn-btn:hover { background-color: var(--primary); color: var(--white); }

/* =============================================
   PAGINATION
   ============================================= */
.pagination-wrap { padding: 40px 0; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  color: var(--dark);
}
.pagination a:hover,
.pagination .current {
  background-color: var(--dark);
  color: var(--white);
}
.tn-pagination-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
}
.tn-pagination-nav a {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid var(--dark);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: all .2s;
  cursor: pointer;
}
.tn-pagination-nav a:hover {
  background-color: var(--dark);
  color: var(--white);
}

/* =============================================
   MOBILE — ≤991px
   ============================================= */
@media (max-width: 991px) {
  .tn-hero-grid { grid-template-columns: 1fr; }
  .tn-hero-img-wrap { height: 300px; }
  .tn-hero-img-wrap img { height: 300px; }

  .tn-feature-inner { flex-direction: column; }
  .tn-feature-posts { width: 100%; border-right: none; }
  .tn-feature-img { width: 100%; min-height: 300px; }

  .tn-latest-body { flex-direction: column; }
  .tn-latest-sidebar { width: 100%; }

  .tn-cards-grid { grid-template-columns: repeat(2, 1fr); }

  .tn-archive-grid { grid-template-columns: 1fr; }

  .tn-center-nav { display: none; }
  .tn-nav-search { display: none; }
  .tn-mobile-btn { display: flex; }
  .tn-mobile-nav { display: flex; }

  .tn-single-hero { height: 320px; }
  .tn-single-hero h1 { font-size: 30px; }
}

/* =============================================
   MOBILE — ≤767px
   ============================================= */
@media (max-width: 767px) {
  .tn-header { padding-top: 20px; }
  .tn-hero-title { font-size: 36px; }
  .tn-hero-title-wrap { margin-bottom: 30px; }

  .tn-section-bar { padding-left: 24px; }
  .tn-section-bar h2 { font-size: 22px; }

  .tn-cards-grid { grid-template-columns: 1fr; }
  .tn-card-img-area img { height: 300px; }
  .tn-card-img-placeholder { height: 300px; }

  .tn-latest-img-wrap { height: 300px; }
  .tn-latest-img-placeholder { height: 300px; }

  .tn-feature-posts { grid-template-columns: 1fr; }
  .tn-feature-item:nth-child(2n) { border-right: 2px solid var(--dark); }
  .tn-feature-item:nth-child(n+3) { border-bottom: 2px solid var(--dark); }
  .tn-feature-item:last-child { border-bottom: none; }

  .tn-archive-card { flex-direction: column; }
  .tn-archive-card-img,
  .tn-archive-card-img-placeholder { width: 100%; height: 200px; }

  .tn-footer-grid { flex-direction: column; gap: 30px; }

  .tn-single-hero h1 { font-size: 26px; }
  .tn-single-content { font-size: 16px; margin: 40px auto 60px; padding: 0 16px; }
}

/* =============================================
   GDPR / Cookie plugin gomb override — 0 border-radius
   ============================================= */
#cookie-notice-accept-button,
#cookie-notice-decline-button,
.cn-button,
.cli-plugin-button,
.cli-plugin-main-button,
#cookie_action_close_header,
#cookie_action_reject_header_2,
.moove-gdpr-infobar-allow-btn,
.moove-gdpr-infobar-reject-btn,
.gdpr-policy-btn,
.cmplz-btn,
.cmplz-accept,
.cmplz-deny,
.cc-btn,
.CybotCookiebotDialogBodyButton,
.borlabs-btn,
.wt-cli-accept-btn,
.wt-cli-reject-btn {
  border-radius: 0 !important;
}
