/* ============================================================
   TipWise — Modernist Theme
   White · Black · Gray · Muted Blue
   Inter font · Strict grid · Zero decoration
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root {
  --white:      #FFFFFF;
  --black:      #000000;
  --gray:       #666666;
  --gray-dark:  #333333;
  --gray-light: #F5F5F5;
  --gray-mid:   #E0E0E0;
  --blue:       #3A6EA5;
  --blue-dark:  #2D5786;
  --blue-light: #EBF0F7;
  --font:       'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  --border:     1px solid #E0E0E0;
  --border-b:   2px solid #000000;
  --tr:         all 0.2s ease;
}

/* ==================== RESET ==================== */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
img{max-width:100%;height:auto;display:block}
a{color:inherit;transition:var(--tr)}
button{font-family:var(--font);cursor:pointer}
ul,ol{list-style:none}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==================== UTILITY ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 72px 0; }

.section-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  border-left: 3px solid var(--blue);
  padding-left: 10px;
  margin-bottom: 24px;
  display: block;
}

.cat-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 1px;
  text-decoration: none;
  white-space: nowrap;
}
.cat-badge:hover { color: var(--blue-dark); border-color: var(--blue-dark); }

.article-meta {
  font-size: 0.73rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.meta-dot { color: var(--gray-mid); }

/* ==================== BUTTONS ==================== */
.btn-blue,
.btn-black,
.btn-outline,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border: 2px solid transparent;
  transition: var(--tr);
  white-space: nowrap;
  line-height: 1;
}
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: var(--gray-dark); border-color: var(--gray-dark); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 0.72rem; }
.btn-full { width: 100%; }

/* ==================== TOP BAR ==================== */
.top-bar {
  background: var(--blue);
  padding: 7px 0;
  border-bottom: 1px solid var(--blue-dark);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}
.top-bar-tag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 3px 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.top-bar-links {
  display: flex;
  gap: 32px;
  overflow: hidden;
}
.top-bar-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  white-space: nowrap;
}
.top-bar-links a:hover { color: var(--white); }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: var(--border-b);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 28px;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  line-height: 1;
}
.site-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links li a {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 24px 14px;
  display: block;
  border-bottom: 3px solid transparent;
  transition: var(--tr);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--black);
  border-bottom-color: var(--blue);
}

.header-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-mid);
  padding: 7px 14px;
  gap: 8px;
  flex-shrink: 0;
  transition: var(--tr);
}
.header-search:focus-within { border-color: var(--blue); }
.header-search input {
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.82rem;
  width: 140px;
  color: var(--black);
  background: transparent;
}
.header-search input::placeholder { color: var(--gray); }
.search-icon { font-size: 0.85rem; color: var(--gray); flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-top: var(--border-b);
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mobile-menu ul li a {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}
.mobile-menu ul li a:hover { color: var(--blue); }
.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 2px solid var(--black);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-close:hover { background: var(--black); color: var(--white); }

@media(max-width:960px) {
  .nav-links, .header-search { display: none; }
  .hamburger { display: flex; }
}

/* ==================== HERO ==================== */
.hero { border-bottom: var(--border-b); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  border-right: var(--border-b);
}
.hero-main {
  position: relative;
  overflow: hidden;
  border-right: var(--border);
}
.hero-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hero-main:hover .hero-main-img { transform: scale(1.03); }
.hero-main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  padding: 32px 28px 28px;
}
.hero-main-content .cat-badge {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  display: block;
}
.hero-main-content h1 {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.hero-main-content h1 a { color: inherit; text-decoration: none; }
.hero-main-content h1 a:hover { text-decoration: underline; }
.hero-main-content .article-meta { color: rgba(255,255,255,0.6); }
.hero-main-content .meta-dot { color: rgba(255,255,255,0.3); }

.hero-sidebar { display: flex; flex-direction: column; }
.hero-side-item {
  display: flex;
  gap: 0;
  border-bottom: var(--border);
  overflow: hidden;
  transition: background 0.2s;
  flex: 1;
}
.hero-side-item:last-child { border-bottom: none; }
.hero-side-item:hover { background: var(--gray-light); }
.hero-side-img {
  width: 130px;
  min-height: 120px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-right: var(--border);
}
.hero-side-body {
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
}
.hero-side-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}
.hero-side-body h3 a { text-decoration: none; color: inherit; }
.hero-side-body h3 a:hover { color: var(--blue); }
.hero-side-body .article-meta { font-size: 0.7rem; }

/* ==================== CATEGORY BAR ==================== */
.cat-bar {
  border-bottom: var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar-inner {
  display: flex;
  align-items: stretch;
  white-space: nowrap;
}
.cat-bar-item {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  padding: 13px 18px;
  border-right: var(--border);
  display: block;
  transition: var(--tr);
}
.cat-bar-item:first-child { border-left: none; }
.cat-bar-item:hover,
.cat-bar-item.active {
  color: var(--black);
  background: var(--gray-light);
  border-bottom: 2px solid var(--blue);
}

/* ==================== ARTICLE GRID ==================== */
.grid-section { padding: 0; border-bottom: var(--border-b); }
.grid-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 20px;
  border-bottom: var(--border);
  margin-bottom: 0;
}
.grid-section-header h2 {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  border-left: 3px solid var(--blue);
  padding-left: 10px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: var(--border);
  border-top: var(--border);
}
.article-card {
  border-right: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  background: var(--white);
  transition: background 0.2s;
}
.article-card:hover { background: var(--gray-light); }
.article-card-img-wrap { overflow: hidden; }
.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card-img { transform: scale(1.05); }
.article-card-body { padding: 20px; }
.article-card-body .cat-badge { margin-bottom: 9px; display: block; }
.article-card-body h2 {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 9px;
}
.article-card-body h2 a { text-decoration: none; color: inherit; }
.article-card-body h2 a:hover { color: var(--blue); }
.article-card-body p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}
.read-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.read-link:hover { color: var(--blue-dark); }
.read-link::after { content: '→'; }

/* ==================== FEATURED STRIP ==================== */
.featured-strip {
  border-top: var(--border-b);
  border-bottom: var(--border-b);
  padding: 56px 0;
  background: var(--gray-light);
}
.featured-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.featured-strip-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.featured-strip-body .section-label { margin-bottom: 18px; }
.featured-strip-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}
.featured-strip-body h2 a { text-decoration: none; color: inherit; }
.featured-strip-body h2 a:hover { color: var(--blue); }
.featured-strip-body p {
  font-size: 0.91rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 20px;
}
.featured-mini-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.featured-mini-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: var(--border);
}
.featured-mini-item:last-child { border-bottom: none; padding-bottom: 0; }
.featured-mini-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}
.featured-mini-body h4 {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
}
.featured-mini-body h4 a { text-decoration: none; color: inherit; }
.featured-mini-body h4 a:hover { color: var(--blue); }
.featured-mini-body span { font-size: 0.7rem; color: var(--gray); }

/* ==================== CTA STRIP ==================== */
.cta-strip {
  background: var(--black);
  padding: 72px 0;
  text-align: center;
}
.cta-strip-inner { max-width: 560px; margin: 0 auto; }
.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.cta-strip p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 28px;
}
.cta-strip-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==================== MORE ARTICLES ==================== */
.more-articles { padding: 56px 0 64px; }
.more-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border-b);
  padding-bottom: 14px;
  margin-bottom: 36px;
}
.more-header h2 {
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.more-card { display: flex; flex-direction: column; }
.more-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}
.more-card:hover .more-card-img { opacity: 0.9; }
.more-card .cat-badge { margin-bottom: 7px; display: block; }
.more-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--black);
}
.more-card h3 a { text-decoration: none; color: inherit; }
.more-card h3 a:hover { color: var(--blue); }
.more-card .article-meta { font-size: 0.7rem; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  border-top: 3px solid var(--blue);
}
.footer-top { padding: 56px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.3px;
  display: block;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--blue); }
.footer-brand p {
  font-size: 0.83rem;
  line-height: 1.8;
  max-width: 250px;
  margin-bottom: 18px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer-social a:hover { border-color: var(--white); color: var(--white); }

.footer-col h4 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: center;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  border-bottom: var(--border-b);
  padding: 48px 0 40px;
  background: var(--gray-light);
  border-top: var(--border);
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.75;
}

/* ==================== ARTICLE PAGE ==================== */
.article-hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-bottom: var(--border-b);
}
.article-header { padding: 36px 0 28px; border-bottom: var(--border); }
.article-header .cat-badge { margin-bottom: 14px; display: block; }
.article-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  max-width: 860px;
}
.article-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.author-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-avatar {
  width: 34px;
  height: 34px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.author-chip strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
}
.author-chip span {
  font-size: 0.72rem;
  color: var(--gray);
  display: block;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  padding: 48px 0 72px;
  align-items: start;
}
.article-body {
  font-size: 0.97rem;
  line-height: 1.95;
  color: var(--gray-dark);
}
.article-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin: 36px 0 14px;
  letter-spacing: -0.2px;
}
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin: 28px 0 10px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul,
.article-body ol { padding-left: 22px; margin-bottom: 18px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--black); font-weight: 700; }
.article-body a { color: var(--blue); text-decoration: underline; }
.pullquote {
  border-left: 4px solid var(--blue);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--blue-light);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--black);
  font-style: italic;
  line-height: 1.65;
}

.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-box {
  border: var(--border);
  border-top: 3px solid var(--blue);
  padding: 20px;
}
.sidebar-box h3 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.sidebar-box p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}
.sidebar-box .btn-blue { width: 100%; font-size: 0.72rem; }

.related-article-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: var(--border);
  margin-bottom: 14px;
}
.related-article-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.related-article-item img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  flex-shrink: 0;
}
.related-article-item h4 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 3px;
}
.related-article-item h4 a { text-decoration: none; color: inherit; }
.related-article-item h4 a:hover { color: var(--blue); }
.related-article-item span { font-size: 0.7rem; color: var(--gray); }

.more-from-section { padding: 48px 0; border-top: var(--border-b); }
.more-from-section .section-label { margin-bottom: 28px; }
.more-from-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==================== CONTACT PAGE ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  padding: 56px 0 72px;
  align-items: start;
}
.contact-form-area h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.contact-form-area .sub {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.75;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--gray-mid);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: var(--tr);
  background: var(--white);
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58,110,165,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-top: 2px;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
  border-radius: 0;
}
.form-check label {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.65;
}
.form-check label a { color: var(--blue); }

.form-success-msg {
  display: none;
  text-align: center;
  padding: 52px 32px;
  border: var(--border);
  border-top: 3px solid var(--blue);
}
.form-success-msg .tick {
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 18px;
}
.form-success-msg h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success-msg p { font-size: 0.9rem; color: var(--gray); }

.contact-info-area { display: flex; flex-direction: column; gap: 16px; padding-top: 52px; }
.info-card {
  border: var(--border);
  border-left: 3px solid var(--blue);
  padding: 20px;
}
.info-card .icon { font-size: 1.2rem; margin-bottom: 8px; }
.info-card h3 {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: var(--gray);
}
.info-card p, .info-card a {
  font-size: 0.88rem;
  color: var(--gray-dark);
  text-decoration: none;
  line-height: 1.7;
  display: block;
}
.info-card a:hover { color: var(--blue); }

/* ==================== LEGAL PAGES ==================== */
.legal-wrap { max-width: 760px; padding: 56px 0 80px; }
.legal-wrap h1 { font-size: 2rem; font-weight: 900; margin-bottom: 6px; }
.legal-wrap .legal-meta {
  font-size: 0.8rem;
  color: var(--gray);
  border-bottom: var(--border);
  padding-bottom: 18px;
  margin-bottom: 36px;
}
.legal-wrap h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}
.legal-wrap h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--black);
}
.legal-wrap p {
  font-size: 0.91rem;
  color: var(--gray-dark);
  line-height: 1.9;
  margin-bottom: 14px;
}
.legal-wrap ul {
  padding-left: 22px;
  margin-bottom: 14px;
  list-style: disc;
}
.legal-wrap ul li {
  font-size: 0.91rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-wrap a { color: var(--blue); }
.legal-contact-block {
  background: var(--gray-light);
  border-left: 3px solid var(--blue);
  padding: 18px 22px;
  margin: 16px 0;
}
.legal-contact-block p { margin-bottom: 0; }

/* ==================== POPUP ==================== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  border-top: 4px solid var(--blue);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.popup-head { padding: 32px 32px 0; }
.popup-head .section-label { margin-bottom: 10px; }
.popup-head h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.2;
}
.popup-head p { font-size: 0.84rem; color: var(--gray); line-height: 1.65; }
.popup-form-area { padding: 20px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 2px solid var(--gray-mid);
  width: 32px;
  height: 32px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}
.popup-close:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.popup-success {
  display: none;
  text-align: center;
  padding: 52px 32px;
}
.popup-success .tick {
  width: 52px;
  height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.popup-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.popup-success p { font-size: 0.86rem; color: var(--gray); line-height: 1.7; }

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 3px solid var(--blue);
  z-index: 2500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-inner p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}
.cookie-inner p a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ==================== RESPONSIVE ==================== */
@media(max-width:900px) {
  .hero-grid { grid-template-columns: 1fr; border-right: none; }
  .hero-sidebar { display: none; }
  .article-grid { grid-template-columns: repeat(2,1fr); }
  .featured-strip-grid { grid-template-columns: 1fr; gap: 28px; }
  .featured-strip-img { height: 260px; }
  .more-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .more-from-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-area { padding-top: 0; }
}

@media(max-width:620px) {
  .article-grid { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .more-from-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .popup-head { padding: 24px 22px 0; }
  .popup-form-area { padding: 18px 22px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-main-img { height: 340px; }
  .cta-strip-actions { flex-direction: column; align-items: center; }
  .article-hero-img { height: 280px; }
}
