/*
Theme Name: NRF Corporate
Theme URI: http://example.com/nrf-corporate
Author: Pekin Bayar Mizrahi
Description: NRF-style corporate law firm theme for Pekin Bayar Mizrahi.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: nrf-corporate
*/

/* =============================================================
 * 1. DESIGN TOKENS
 * ============================================================= */
:root {
  --nrf-red:        #DD2728;
  --nrf-red-hover:  #bb2021;
  --nrf-white:      #ffffff;
  --nrf-navy:       #1a1a2e;
  --nrf-gray-light: #f5f5f5;
  --nrf-gray-nav:   #ebebeb;
  --nrf-gray-mid:   #d8d8d8;
  --nrf-gray-text:  #666666;
  --nrf-text:       #1a1a1a;

  --font-sans: "acumin-pro", 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: "meta-serif-pro", Georgia, 'Times New Roman', serif;

  --max-width: 1260px;
  --header-height: 72px;
  --nav-height: 48px;
}

/* =============================================================
 * 2. RESET & BASE
 * ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--nrf-text);
  background: var(--nrf-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nrf-text);
  margin-bottom: 0.75rem;
}

a { color: var(--nrf-text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--nrf-red); }

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

ul { list-style: none; }

/* =============================================================
 * 3. LAYOUT
 * ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================================
 * 4. HEADER — TOP ROW (Logo + Search)
 * ============================================================= */
.site-header {
  background: var(--nrf-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--nrf-gray-mid);
}

.header-top {
  background: var(--nrf-white);
  border-bottom: 1px solid var(--nrf-gray-mid);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* --- Logo --- */
.site-branding { flex-shrink: 0; }

.site-branding .custom-logo-link img {
  max-height: 44px;
  width: auto;
}

.site-title-link {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nrf-red);
  line-height: 1;
}

.site-title-link:hover { color: var(--nrf-red-hover); }

/* --- Right side --- */
.header-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- Search Form --- */
.header-search {
  display: flex;
  align-items: center;
}

.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--nrf-gray-mid);
  background: var(--nrf-gray-light);
  height: 36px;
  overflow: hidden;
}

.search-field {
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--nrf-text);
  width: 200px;
  outline: none;
}

.search-field::placeholder { color: #999; }

.search-submit {
  border: none;
  background: transparent;
  padding: 0 10px;
  height: 36px;
  cursor: pointer;
  color: var(--nrf-gray-text);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.search-submit:hover { color: var(--nrf-red); }

/* =============================================================
 * 5. HEADER — NAV ROW (gray bar)
 * ============================================================= */
.header-nav-bar {
  background: var(--nrf-gray-nav);
  border-bottom: 1px solid var(--nrf-gray-mid);
}

.main-navigation { display: flex; align-items: center; }

#primary-menu {
  display: flex;
  align-items: center;
  gap: 0;
  height: var(--nav-height);
}

#primary-menu > li > a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 18px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--nrf-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a {
  color: var(--nrf-red);
  background: rgba(0,0,0,0.04);
}

/* Dropdown */
#primary-menu li {
  position: relative;
}

#primary-menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--nrf-white);
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-top: 3px solid var(--nrf-red);
  z-index: 9999;
}

#primary-menu li:hover > ul { display: block; }

#primary-menu ul li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nrf-text);
  border-bottom: 1px solid var(--nrf-gray-light);
}

#primary-menu ul li a:hover {
  background: var(--nrf-gray-light);
  color: var(--nrf-red);
}

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--nrf-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================================
 * 6. HERO SECTION
 * ============================================================= */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #222;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: var(--nrf-white);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--nrf-white);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--nrf-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.hero-btn {
  display: inline-block;
  padding: 11px 28px;
  background: var(--nrf-red);
  color: var(--nrf-white);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.hero-btn:hover {
  background: var(--nrf-red-hover);
  color: var(--nrf-white);
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.hero-dot.active { background: var(--nrf-white); }

/* =============================================================
 * 7. CARDS SECTION (News / Insights / Publications)
 * ============================================================= */
.cards-section {
  padding: 48px 0 56px;
  background: var(--nrf-white);
}

.cards-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}

.cards-section-title {
  font-size: 1.6rem;
  font-family: var(--font-serif);
}

.cards-view-all {
  font-size: 0.875rem;
  color: var(--nrf-red);
  font-weight: 600;
}

.cards-view-all:hover { color: var(--nrf-red-hover); }

/* 3-column grid (matches NRF's default layout) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 4-column variant */
.cards-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--nrf-gray-light);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.card:hover { background: #ededee; }

.card-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image-wrap img { transform: scale(1.04); }

.card-content {
  padding: 20px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-type {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nrf-gray-text);
  font-weight: 400;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  flex: 1;
}

.card-title a { color: var(--nrf-text); }
.card-title a:hover { color: var(--nrf-red); }

.card-meta {
  font-size: 0.78rem;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  margin-top: auto;
}

/* Card image placeholder (no featured image) */
.card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--nrf-gray-mid);
}

/* Card excerpt */
.card-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer + Read button (NRF style) */
.card-footer {
  margin-top: auto;
  padding-top: 4px;
}

.card-read-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--nrf-gray-mid);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nrf-text);
  text-decoration: none;
  background: var(--nrf-white);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.card-read-btn:hover {
  border-color: var(--nrf-red);
  color: var(--nrf-red);
}

/* Practice area cards */
.practice-card {
  background: var(--nrf-white);
  border-top: 3px solid var(--nrf-red);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.practice-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.practice-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.practice-card-title a { color: var(--nrf-text); }
.practice-card-title a:hover { color: var(--nrf-red); }

/* =============================================================
 * 8. FOOTER
 * ============================================================= */
.site-footer {
  background: var(--nrf-text);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 24px;
  font-family: var(--font-sans);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-col-title {
  color: var(--nrf-white);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--nrf-white); }

.footer-col p,
.footer-col address {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: rgba(255,255,255,0.8);
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 99999;
  padding: 16px 24px;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cookie-banner-text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  color: #333;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--nrf-navy);
  text-decoration: underline;
}

.cookie-banner-readmore {
  font-size: 0.88rem;
  font-family: var(--font-sans);
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 0;
}

.cookie-banner-readmore:hover { color: #111; }

.cookie-banner-btn {
  background: #1a56db;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.cookie-banner-btn:hover { background: #1344b8; }

/* =============================================================
 * 9. BUTTONS
 * ============================================================= */
.btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--nrf-red);
  color: var(--nrf-white);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: var(--nrf-red-hover); color: var(--nrf-white); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--nrf-text);
  color: var(--nrf-text);
}

.btn-outline:hover { background: var(--nrf-text); color: var(--nrf-white); }

/* =============================================================
 * 10. GENERAL SECTIONS
 * ============================================================= */
.section { padding: 56px 0; }
.section-title { font-size: 2rem; margin-bottom: 2rem; }
.bg-light { background: var(--nrf-gray-light); }

/* =============================================================
 * 11. SINGLE POST / PAGE
 * ============================================================= */
.entry-header { margin-bottom: 2rem; }
.entry-title { font-size: 2.2rem; }
.entry-content { max-width: 820px; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; }
.entry-content img { max-width: 100%; height: auto; display: block; }
.entry-content figure { margin: 2rem 0; }
.entry-content figure figcaption { font-size: 0.82rem; color: var(--nrf-gray-text); margin-top: 0.5rem; }

/* =============================================================
 * 12. RESPONSIVE
 * ============================================================= */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .mobile-menu-toggle { display: flex; }

  .header-nav-bar { display: none; }
  .header-nav-bar.open { display: block; }

  #primary-menu {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 8px 0;
  }

  #primary-menu > li > a { height: auto; padding: 10px 20px; width: 100%; }

  .search-field { width: 140px; }

  .hero { height: 280px; }
  .hero-title { font-size: 1.75rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .search-form { display: none; }
}

/* =============================================================
 * 13. PAGE BANNER (inner pages hero strip)
 * ============================================================= */
.page-banner {
  background: var(--nrf-navy);
  color: var(--nrf-white);
  padding: 52px 0 44px;
}

.page-banner-breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

.page-banner-breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.page-banner-breadcrumb a:hover { color: var(--nrf-white); }

.page-banner-breadcrumb span { margin: 0 6px; }

.page-banner-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--nrf-white);
  margin: 0;
  line-height: 1.15;
}

/* =============================================================
 * 14. PUBLICATIONS FILTER BAR
 * ============================================================= */
.pub-filter-bar {
  background: var(--nrf-gray-light);
  border-bottom: 1px solid var(--nrf-gray-mid);
}

.pub-filter-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.pub-filter-inner::-webkit-scrollbar { display: none; }

.pub-filter-link {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  color: var(--nrf-gray-text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.pub-filter-link:hover,
.pub-filter-link.active {
  color: var(--nrf-red);
  border-bottom-color: var(--nrf-red);
}

.pub-filter-select {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  color: var(--nrf-gray-text);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  outline: none;
  transition: color 0.2s, border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.pub-filter-select:hover,
.pub-filter-select.active {
  color: var(--nrf-red);
  border-bottom-color: var(--nrf-red);
}

/* =============================================================
 * 15. PUBLICATIONS GRID
 * ============================================================= */
.pub-section {
  padding: 48px 0 64px;
}

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

.pub-card {
  background: var(--nrf-gray-light);
  border: 1px solid var(--nrf-gray-mid);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  overflow: hidden;
}

.pub-card:hover { background: #eaeaeb; }

/* Featured image on card */
.pub-card-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.pub-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.pub-card:hover .pub-card-img-wrap img {
  transform: scale(1.04);
}

/* Card body (padding only around text) */
.pub-card-body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pub-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nrf-gray-text);
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.pub-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.pub-title a { color: var(--nrf-text); }
.pub-title a:hover { color: var(--nrf-red); }

.pub-excerpt {
  font-size: 0.875rem;
  color: var(--nrf-gray-text);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-meta {
  font-size: 0.78rem;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  margin-bottom: 12px;
}

.pub-authors {
  font-size: 0.8rem;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  font-style: italic;
  margin-bottom: 4px;
}

.pub-read-more {
  font-size: 0.8rem;
  color: var(--nrf-red);
  font-weight: 600;
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.pub-read-more:hover { color: var(--nrf-red-hover); }

/* Pagination */
.pub-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: 40px;
}

.pub-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--nrf-gray-mid);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--nrf-text);
  transition: background 0.2s, color 0.2s;
}

.pub-pagination .page-numbers:hover,
.pub-pagination .page-numbers.current {
  background: var(--nrf-red);
  color: var(--nrf-white);
  border-color: var(--nrf-red);
}

.pub-pagination .page-numbers.dots { border: none; cursor: default; }

/* =============================================================
 * 16. TEAM GRID
 * ============================================================= */
.team-section { padding: 48px 0 64px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--nrf-gray-light);
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.team-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.team-card-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--nrf-gray-mid);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-photo img { transform: scale(1.03); }

.team-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nrf-gray-mid);
  color: rgba(0,0,0,0.25);
  font-size: 3rem;
}

.team-card-body { padding: 16px 20px 20px; }

.team-card-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-name a { color: var(--nrf-red); }
.team-card-name a:hover { color: var(--nrf-red-hover); }

.team-card-position {
  font-size: 0.8rem;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  margin-bottom: 10px;
}

.team-card-icons {
  display: flex;
  gap: 12px;
}

.team-card-icons a {
  color: var(--nrf-gray-text);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: color 0.2s;
}

.team-card-icons a:hover { color: var(--nrf-red); }

/* =============================================================
 * 17. SINGLE TEAM MEMBER
 * ============================================================= */
.team-single-wrap { padding: 56px 0 72px; }

.team-single-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.team-single-photo {
  width: 100%;
  background: var(--nrf-gray-light);
  overflow: hidden;
}

.team-single-photo img { width: 100%; height: auto; display: block; }

.team-single-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--nrf-gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.2);
  font-size: 5rem;
}

.team-single-name {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--nrf-red);
  margin-bottom: 4px;
  line-height: 1.15;
}

.team-single-position {
  font-size: 1rem;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  margin-bottom: 28px;
}

.team-single-divider {
  border: none;
  border-top: 1px solid var(--nrf-gray-mid);
  margin: 28px 0;
}

.team-single-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  margin-bottom: 10px;
}

.team-single-contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-single-contact-links a {
  font-size: 0.9rem;
  color: var(--nrf-red);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-single-contact-links a:hover { color: var(--nrf-red-hover); }

.team-single-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--nrf-text);
}

.team-single-bio p { margin-bottom: 1.25rem; }

/* =============================================================
 * 18. SINGLE POST AUTHOR BLOCK
 * ============================================================= */
.post-author-block {
  background: var(--nrf-gray-light);
  border-left: 3px solid var(--nrf-red);
  padding: 20px 24px;
  margin-bottom: 32px;
  font-family: var(--font-sans);
}

.post-author-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nrf-gray-text);
  margin-bottom: 6px;
}

.post-author-names {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nrf-text);
}

/* =============================================================
 * 19. RESPONSIVE ADDITIONS
 * ============================================================= */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-banner-title { font-size: 1.9rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-grid { grid-template-columns: 1fr; }
  .team-single-inner { grid-template-columns: 1fr; gap: 32px; }
  .team-single-photo { max-width: 260px; }
  .team-single-name { font-size: 1.9rem; }
}

/* =============================================================
 * 20. TEAM MEMBER PROFILE PAGE (single-pbm_team.php)
 * ============================================================= */

/* Nav Bar: breadcrumb + share icons */
.profile-nav-bar {
  background: var(--nrf-white);
  border-bottom: 1px solid var(--nrf-gray-mid);
  padding: 12px 0;
}

.profile-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--nrf-gray-text);
}

.profile-breadcrumb a {
  color: var(--nrf-gray-text);
  text-decoration: none;
  transition: color 0.2s;
}

.profile-breadcrumb a:hover { color: var(--nrf-red); }

.profile-breadcrumb span { color: var(--nrf-gray-text); }

.profile-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--nrf-gray-mid);
  border-radius: 50%;
  color: var(--nrf-gray-text);
  background: var(--nrf-white);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-size: 0;
}

.profile-share-btn:hover {
  border-color: var(--nrf-red);
  color: var(--nrf-red);
  background: #fff5f6;
}

/* Hero Area */
.profile-hero {
  background: #f0eeea;
  padding: 56px 0 0;
  overflow: hidden;
}

.profile-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
}

.profile-hero-info {
  padding-bottom: 56px;
}

.profile-name {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--nrf-text);
  line-height: 1.15;
  margin-bottom: 10px;
}

.profile-position {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nrf-text);
  margin-bottom: 4px;
}

.profile-firm {
  font-size: 0.88rem;
  color: var(--nrf-gray-text);
  margin-bottom: 20px;
}

.profile-email {
  display: block;
  color: var(--nrf-red);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
}

.profile-email:hover { text-decoration: underline; }

.profile-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--nrf-text);
  margin-bottom: 28px;
}

.profile-location {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nrf-gray-text);
  background: rgba(0,0,0,0.06);
  padding: 2px 8px;
  border-radius: 2px;
}

.profile-phone a {
  color: var(--nrf-text);
  text-decoration: none;
}

.profile-phone a:hover { color: var(--nrf-red); }

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.profile-btn-primary {
  background: var(--nrf-red);
  color: var(--nrf-white);
  border-color: var(--nrf-red);
}

.profile-btn-primary:hover {
  background: var(--nrf-red-hover);
  border-color: var(--nrf-red-hover);
  color: var(--nrf-white);
}

.profile-btn-outline {
  background: transparent;
  color: var(--nrf-text);
  border-color: var(--nrf-text);
}

.profile-btn-outline:hover {
  background: var(--nrf-text);
  color: var(--nrf-white);
}

/* Hero Photo */
.profile-hero-photo {
  align-self: end;
  width: 320px;
  flex-shrink: 0;
}

.profile-photo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  object-position: top center;
}

.profile-photo-placeholder {
  width: 320px;
  height: 380px;
  background: var(--nrf-gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Profile Body: Bio + Sidebar */
.profile-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  padding: 56px 0 80px;
  align-items: start;
}

.profile-bio-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--nrf-text);
}

.profile-bio-content p { margin-bottom: 16px; }

/* Sidebar */
.profile-sidebar { }

.profile-sidebar-section {
  margin-bottom: 36px;
}

.profile-sidebar-header {
  border-bottom: 2px solid var(--nrf-red);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.profile-sidebar-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nrf-text);
  margin: 0;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-tag-practice {
  background: #e8f3f7;
  color: #1a6080;
}

.profile-tag-lang {
  background: #f0e8f7;
  color: #5a1a80;
}

/* Contact list in sidebar */
.profile-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--nrf-text);
  text-decoration: none;
  word-break: break-all;
}

.profile-contact-item:hover { color: var(--nrf-red); }

/* =============================================================
 * 21. PROFILE PAGE RESPONSIVE
 * ============================================================= */
@media (max-width: 1024px) {
  .profile-hero-photo { width: 260px; }
  .profile-name { font-size: 2.1rem; }
  .profile-body { grid-template-columns: 1fr 260px; gap: 40px; }
}

@media (max-width: 768px) {
  .profile-hero-inner {
    grid-template-columns: 1fr;
  }
  .profile-hero-photo {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .profile-hero-info { padding-bottom: 32px; }
  .profile-body {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 60px;
  }
  .profile-name { font-size: 1.8rem; }
}

/* =================== ORIGINAL SECTION 20 ==================== */
@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card-photo { height: 160px; }
}

/* =============================================================
 * 22. PUBLICATION SINGLE PAGE (single.php — NRF style)
 * ============================================================= */

/* --- Breadcrumb + Share bar --- */
.pub-bar {
  background: var(--nrf-white);
  border-bottom: 1px solid var(--nrf-gray-mid);
  padding: 10px 0;
}

.pub-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pub-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  flex-wrap: wrap;
}

.pub-breadcrumb a {
  color: var(--nrf-red);
  text-decoration: none;
  transition: opacity 0.2s;
}

.pub-breadcrumb a:hover { opacity: 0.75; }

.pub-breadcrumb span { color: var(--nrf-gray-text); }

.pub-breadcrumb-current {
  color: var(--nrf-text);
  font-weight: 500;
  max-width: 340px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pub-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pub-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--nrf-gray-mid);
  border-radius: 50%;
  color: var(--nrf-gray-text);
  background: var(--nrf-white);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-size: 0;
}

.pub-share-btn:hover {
  border-color: var(--nrf-red);
  color: var(--nrf-red);
  background: #fff5f6;
}

/* --- Hero Banner --- */
.pub-hero {
  position: relative;
  min-height: 380px;
  background: var(--nrf-navy);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.pub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15) 100%);
}

.pub-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.pub-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pub-hero-sep { opacity: 0.5; }

.pub-hero-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--nrf-white);
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 820px;
}

.pub-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin: 0;
  max-width: 680px;
  line-height: 1.5;
}

/* --- Full-width article content wrap --- */
.pub-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}

/* Authors in hero */
.pub-hero-authors {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  margin-top: 10px;
  font-style: italic;
}

/* Content typography matching NRF */
.pub-entry-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--nrf-text);
}

.pub-entry-content p { margin-bottom: 1.4rem; }

.pub-entry-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nrf-red);
  margin: 2.2rem 0 0.8rem;
  line-height: 1.3;
}

.pub-entry-content h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nrf-text);
  margin: 1.8rem 0 0.6rem;
}

.pub-entry-content h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nrf-text);
  margin: 1.4rem 0 0.5rem;
}

.pub-entry-content ul,
.pub-entry-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
}

.pub-entry-content li { margin-bottom: 0.5rem; }

.pub-entry-content ul li::marker { color: var(--nrf-red); }

.pub-entry-content a {
  color: var(--nrf-red);
  text-decoration: none;
}

.pub-entry-content a:hover { text-decoration: underline; }

.pub-entry-content blockquote {
  border-left: 3px solid var(--nrf-red);
  margin: 1.5rem 0;
  padding: 8px 20px;
  font-style: italic;
  color: var(--nrf-gray-text);
}

.pub-entry-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

/* Post navigation */
.pub-post-nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--nrf-gray-mid);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.pub-post-nav .nav-links { display: flex; justify-content: space-between; }
.pub-post-nav a { color: var(--nrf-red); text-decoration: none; }
.pub-post-nav a:hover { text-decoration: underline; }

/* --- Practice areas + Contacts below article --- */
.pub-meta-section {
  background: #f5f5f5;
  border-top: 1px solid var(--nrf-gray-mid);
  padding: 40px 0 48px;
}

.pub-meta-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pub-meta-tags-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nrf-gray-text);
  font-style: italic;
}

.pub-practice-tag {
  display: inline-block;
  background: #1a8a6e;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}

.pub-practice-tag:hover { background: #156b55; }

/* Contacts section */
.pub-contacts-section {
  border-top: 1px solid var(--nrf-gray-mid);
  padding-top: 32px;
}

.pub-contacts-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nrf-gray-text);
  margin: 0 0 24px;
}

.pub-contacts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.pub-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
}

.pub-contact-card-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.pub-contact-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pub-contact-initials {
  width: 90px;
  height: 90px;
  background: var(--nrf-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
}

.pub-contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.pub-contact-card-name {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nrf-red);
  text-decoration: none;
  line-height: 1.3;
}

.pub-contact-card-name:hover { text-decoration: underline; }

.pub-contact-card-pos {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--nrf-gray-text);
}

.pub-contact-card-email {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--nrf-red);
  text-decoration: none;
  word-break: break-all;
}

.pub-contact-card-email:hover { text-decoration: underline; }

.pub-contact-card--plain .pub-contact-card-name {
  color: var(--nrf-text);
}

.pub-sidebar-all-btn:hover { text-decoration: underline; }

/* --- Related publications section --- */
.pub-related {
  background: var(--nrf-gray-light);
  padding: 56px 0 72px;
  border-top: 1px solid var(--nrf-gray-mid);
}

.pub-related-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nrf-text);
  margin: 0 0 32px;
}

.pub-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pub-related-card {
  background: var(--nrf-white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.pub-related-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.pub-related-card-img-wrap {
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.pub-related-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pub-related-card:hover .pub-related-card-img-wrap img { transform: scale(1.03); }

.pub-related-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--nrf-navy);
  opacity: 0.6;
}

.pub-related-card-body {
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pub-related-card-type {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nrf-red);
}

.pub-related-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.pub-related-card-title a {
  color: var(--nrf-text);
  text-decoration: none;
}

.pub-related-card-title a:hover { color: var(--nrf-red); }

.pub-related-card-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--nrf-gray-text);
  margin-top: auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pub-layout { grid-template-columns: 1fr 260px; gap: 36px; }
  .pub-hero-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .pub-layout { grid-template-columns: 1fr; gap: 40px; padding: 36px 20px 56px; }
  .pub-sidebar { position: static; }
  .pub-hero { min-height: 280px; }
  .pub-hero-title { font-size: 1.6rem; }
  .pub-related-grid { grid-template-columns: 1fr; }
}

/* =============================================================
 * 23. CONTACT PAGE
 * ============================================================= */
.contact-wrap {
  padding: 64px 0 80px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nrf-text);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--nrf-red);
}

.contact-info-block {
  margin-bottom: 28px;
}

.contact-info-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nrf-gray-text);
  margin-bottom: 6px;
}

.contact-info-value {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--nrf-text);
  margin: 0;
}

.contact-info-value a {
  color: var(--nrf-red);
  text-decoration: none;
}

.contact-info-value a:hover { text-decoration: underline; }

.contact-info-extra {
  margin-top: 32px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--nrf-gray-text);
  border-top: 1px solid var(--nrf-gray-mid);
  padding-top: 24px;
}

.contact-map {
  position: sticky;
  top: 120px;
}

.contact-map-frame {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
  filter: grayscale(15%);
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-map { position: static; }
  .contact-map-frame { height: 320px; }
}

/* =============================================================
 * 24. PROFILE ACCORDION + STICKY BAR + INSIGHTS
 * ============================================================= */

/* --- Sticky mini-bar --- */
.profile-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--nrf-navy);
  padding: 10px 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.profile-sticky-bar.is-visible {
  transform: translateY(0);
}

.profile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-sticky-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-sticky-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-sticky-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.profile-sticky-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nrf-white);
}

.profile-sticky-pos {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.profile-sticky-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.profile-sticky-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.profile-sticky-btn-primary {
  background: var(--nrf-red);
  color: var(--nrf-white);
  border-color: var(--nrf-red);
}

.profile-sticky-btn-primary:hover {
  background: var(--nrf-red-hover);
  border-color: var(--nrf-red-hover);
  color: var(--nrf-white);
}

.profile-sticky-btn-outline {
  background: transparent;
  color: var(--nrf-white);
  border-color: rgba(255,255,255,0.5);
}

.profile-sticky-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--nrf-white);
}

/* --- Accordion sections --- */
.profile-accordion-wrap {
  background: #f0f0f0;
  border-top: 1px solid var(--nrf-gray-mid);
  padding: 0 0 40px;
}

.profile-accordion-item {
  border-bottom: 1px solid var(--nrf-gray-mid);
}

.profile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nrf-text);
  text-align: left;
  transition: color 0.2s;
}

.profile-accordion-trigger:hover { color: var(--nrf-red); }

.profile-accordion-trigger[aria-expanded="true"] .acc-chevron {
  transform: rotate(180deg);
}

.acc-chevron {
  flex-shrink: 0;
  color: var(--nrf-red);
  transition: transform 0.25s ease;
}

.profile-accordion-content {
  padding: 4px 0 28px;
}

.profile-accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-accordion-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid #e0e0e0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--nrf-text);
}

.profile-accordion-list li:last-child { border-bottom: none; }

.profile-accordion-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 2px;
  background: var(--nrf-red);
}

/* Publications list in accordion */
.profile-accordion-pub-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.profile-accordion-pub-list a {
  color: var(--nrf-red);
  text-decoration: none;
  font-weight: 600;
}

.profile-accordion-pub-list a:hover { text-decoration: underline; }

.acc-pub-date {
  font-size: 0.78rem;
  color: var(--nrf-gray-text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Insights & news section --- */
.profile-insights {
  background: var(--nrf-white);
  padding: 56px 0 72px;
  border-top: 1px solid var(--nrf-gray-mid);
}

.profile-insights-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nrf-text);
  margin: 0 0 32px;
  text-align: center;
}

.profile-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.profile-insights-card {
  background: var(--nrf-gray-light);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.profile-insights-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.profile-insights-card-img {
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.profile-insights-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.profile-insights-card:hover .profile-insights-card-img img { transform: scale(1.03); }

.profile-insights-placeholder {
  width: 100%;
  height: 100%;
  background: var(--nrf-navy);
  opacity: 0.5;
}

.profile-insights-card-body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.profile-insights-type {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nrf-red);
}

.profile-insights-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.profile-insights-card-title a { color: var(--nrf-text); text-decoration: none; }
.profile-insights-card-title a:hover { color: var(--nrf-red); }

.profile-insights-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--nrf-gray-text);
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-sticky-bar { display: none; }
  .profile-insights-grid { grid-template-columns: 1fr; }
  .profile-accordion-pub-list li { flex-direction: column; gap: 4px; }
}

/* =============================================================
 * 25. SERVICES — Homepage grid (pekin.com.tr style)
 * ============================================================= */
.svc-home-section {
  background: var(--nrf-white);
  padding: 56px 0 64px;
  border-top: 1px solid var(--nrf-gray-mid);
}

.svc-home-heading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nrf-text);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--nrf-red);
  display: inline-block;
}

.svc-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.svc-home-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #f2f2f2;
  text-decoration: none;
  color: var(--nrf-text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  gap: 12px;
}

.svc-home-box svg {
  flex-shrink: 0;
  color: var(--nrf-red);
  transition: transform 0.2s;
}

.svc-home-box:hover {
  background: #e8e8e8;
  color: var(--nrf-red);
}

.svc-home-box:hover svg {
  transform: translateX(3px);
}

.svc-home-more {
  text-align: center;
  margin-top: 12px;
}

.svc-home-more-btn {
  display: inline-block;
  background: var(--nrf-red);
  color: var(--nrf-white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 32px;
  text-decoration: none;
  transition: background 0.2s;
}

.svc-home-more-btn:hover {
  background: var(--nrf-red-hover);
  color: var(--nrf-white);
}

/* =============================================================
 * 26. SERVICES — Single page (NRF style)
 * ============================================================= */

/* Hero */
.svc-hero {
  position: relative;
  min-height: 260px;
  background: var(--nrf-navy);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}

.svc-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.svc-hero-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--nrf-white);
  line-height: 1.2;
  margin: 0;
  max-width: 760px;
}

/* Tabs bar */
.svc-tabs-bar {
  background: var(--nrf-white);
  border-bottom: 1px solid var(--nrf-gray-mid);
}

.svc-tabs-bar.is-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.svc-tabs-inner {
  display: flex;
  gap: 0;
}

.svc-tab {
  display: inline-block;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nrf-gray-text);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.svc-tab-active {
  color: var(--nrf-text);
  border-bottom-color: var(--nrf-red);
}

/* Content area */
.svc-content-wrap {
  padding: 48px 24px 56px;
  max-width: 860px;
}

.svc-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--nrf-text);
}

.svc-content p { margin-bottom: 1.3rem; }

.svc-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nrf-text);
  margin: 2rem 0 0.8rem;
}

.svc-content h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.svc-content ul { padding-left: 1.4rem; margin-bottom: 1.3rem; }
.svc-content li { margin-bottom: 0.5rem; }
.svc-content ul li::marker { color: var(--nrf-red); }
.svc-content a { color: var(--nrf-red); }
.svc-content a:hover { text-decoration: underline; }

/* Accordion sections */
.svc-accordion-section {
  background: #f2f2f2;
  border-top: 1px solid var(--nrf-gray-mid);
  padding: 0 0 32px;
}

.svc-accordion-section--light {
  background: var(--nrf-white);
}

.svc-accordion-item { }

.svc-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--nrf-gray-mid);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--nrf-text);
  text-align: left;
  transition: color 0.2s;
}

.svc-accordion-trigger:hover { color: var(--nrf-red); }

.svc-acc-chevron {
  color: var(--nrf-red);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.svc-accordion-trigger[aria-expanded="false"] .svc-acc-chevron {
  transform: rotate(180deg);
}

.svc-accordion-content {
  padding: 24px 0 0;
}

/* Related services grid (3-col arrow boxes) */
.svc-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.svc-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--nrf-white);
  text-decoration: none;
  color: var(--nrf-text);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border: 1px solid #e0e0e0;
  gap: 8px;
}

.svc-link-box svg {
  flex-shrink: 0;
  color: var(--nrf-red);
  transition: transform 0.2s;
}

.svc-link-box:hover {
  background: #fafafa;
  color: var(--nrf-red);
}

.svc-link-box:hover svg { transform: translateX(3px); }

/* News grid (4-col cards) */
.svc-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-news-card {
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.svc-news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.svc-news-card-img {
  display: block;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.svc-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.svc-news-card:hover .svc-news-card-img img { transform: scale(1.04); }

.svc-news-placeholder {
  width: 100%;
  height: 100%;
  background: var(--nrf-navy);
  opacity: 0.5;
}

.svc-news-card-body {
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.svc-news-type {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nrf-red);
}

.svc-news-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.svc-news-title a { color: var(--nrf-text); text-decoration: none; }
.svc-news-title a:hover { color: var(--nrf-red); }

.svc-news-meta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--nrf-gray-text);
  margin-top: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-home-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-links-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .svc-hero-title { font-size: 1.8rem; }
  .svc-home-grid { grid-template-columns: 1fr; }
  .svc-links-grid { grid-template-columns: 1fr; }
  .svc-news-grid { grid-template-columns: 1fr; }
  .svc-content-wrap { padding: 32px 20px 40px; }
}

/* =============================================================
 * 27. SERVICES — Archive page (all services listing)
 * ============================================================= */

/* Hero banner */
.svc-archive-hero {
  position: relative;
  background: var(--nrf-navy);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}
.svc-archive-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,.5) 0%, rgba(26,26,46,.85) 100%);
}
.svc-archive-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 48px;
  color: var(--nrf-white);
}
.svc-archive-hero-content .pub-breadcrumb { color: rgba(255,255,255,.7); }
.svc-archive-hero-content .pub-breadcrumb a { color: rgba(255,255,255,.7); }
.svc-archive-hero-content .pub-breadcrumb a:hover { color: #fff; }
.svc-archive-hero-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--nrf-white);
  margin: 0 0 8px;
  line-height: 1.15;
}
.svc-archive-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin: 0;
}

/* Services grid */
.svc-archive-section { padding: 56px 0 72px; background: #fff; }
.svc-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.svc-archive-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--nrf-gray-mid);
  text-decoration: none;
  color: var(--nrf-text);
  transition: box-shadow .2s, transform .2s;
}
.svc-archive-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.svc-archive-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--nrf-gray-light);
}
.svc-archive-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.svc-archive-card:hover .svc-archive-card-img img { transform: scale(1.04); }
.svc-archive-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--nrf-navy) 0%, #2d2d50 100%);
}
.svc-archive-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-archive-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nrf-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.svc-archive-card:hover .svc-archive-card-title { color: var(--nrf-red); }
.svc-archive-card-excerpt {
  font-size: .9rem;
  color: var(--nrf-gray-text);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.svc-archive-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--nrf-red);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-archive-hero-title { font-size: 2rem; }
}
@media (max-width: 560px) {
  .svc-archive-grid { grid-template-columns: 1fr; }
  .svc-archive-hero-title { font-size: 1.6rem; }
}

/* =============================================================
 * DOING BUSINESS IN TÜRKİYE — Ana sayfa banner + sayfa
 * ============================================================= */

/* Ana sayfa banner */
.dbt-banner {
  padding: 64px 0;
}
.dbt-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.dbt-banner-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nrf-white);
  margin: 0 0 10px;
  line-height: 1.2;
}
.dbt-banner-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.dbt-banner-btn {
  display: inline-block;
  background: var(--nrf-red);
  color: var(--nrf-white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.dbt-banner-btn:hover { background: #a00; }

@media (max-width: 680px) {
  .dbt-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* /doing-business/ sayfa hero */
.dbt-hero {
  padding: 72px 0 64px;
}
.dbt-hero-inner { max-width: 860px; }
.dbt-hero-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--nrf-white);
  margin: 0 0 14px;
  line-height: 1.15;
}
.dbt-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 10px;
}
.dbt-hero-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  margin: 0 0 28px;
}
.dbt-hero-btn {
  display: inline-flex;
  align-items: center;
  background: var(--nrf-red);
  color: var(--nrf-white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
}
.dbt-hero-btn:hover { background: #a00; }

@media (max-width: 768px) {
  .dbt-hero-title { font-size: 2rem; }
}

/* =============================================================
 * OUR CREDENTIALS
 * ============================================================= */
.cred-section {
  padding: 72px 0 64px;
  background: var(--nrf-white);
  border-top: 1px solid var(--nrf-gray-mid);
  border-bottom: 1px solid var(--nrf-gray-mid);
}

.cred-header {
  margin-bottom: 48px;
}

.cred-section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nrf-red);
  margin: 0 0 14px;
}

.cred-section-sub {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--nrf-text);
  margin: 0;
  max-width: 600px;
  line-height: 1.4;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--nrf-text);
}

.cred-card {
  padding: 32px 28px 28px;
  text-align: center;
  border-right: 1px solid var(--nrf-gray-mid);
}

.cred-card:last-child { border-right: none; }

.cred-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.cred-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--nrf-red);
  line-height: 1;
}

.cred-suffix {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nrf-red);
}

.cred-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nrf-text);
  margin: 0 0 14px;
  line-height: 1.4;
}

.cred-hr {
  border: none;
  border-top: 1px solid var(--nrf-gray-mid);
  margin: 0 auto 14px;
  width: 40px;
}

.cred-desc {
  font-size: 0.82rem;
  color: var(--nrf-gray-text);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-card:nth-child(2) { border-right: none; }
  .cred-card:nth-child(1),
  .cred-card:nth-child(2) { border-bottom: 1px solid var(--nrf-gray-mid); }
}

@media (max-width: 560px) {
  .cred-grid { grid-template-columns: 1fr; }
  .cred-card { border-right: none; border-bottom: 1px solid var(--nrf-gray-mid); }
  .cred-card:last-child { border-bottom: none; }
}

/* =============================================================
 * HISTORY PAGE — TIMELINE
 * ============================================================= */
.history-page {
  padding: 72px 0 80px;
  background: #fff;
}

.timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

/* Merkez çizgi */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #e0e0e0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 56px;
  position: relative;
}

/* Merkez nokta */
.timeline-divider {
  display: flex;
  justify-content: center;
  padding-top: 6px;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--nrf-red);
  display: block;
  flex-shrink: 0;
}

/* Sol taraf */
.timeline-left {
  padding-right: 30px;
  text-align: right;
}
/* Sağ taraf */
.timeline-right {
  padding-left: 30px;
  text-align: left;
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--nrf-red);
  line-height: 1.2;
  display: block;
  padding-top: 0;
}

.timeline-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nrf-navy);
  margin: 0 0 8px;
}

.timeline-desc {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--nrf-gray-text);
  line-height: 1.7;
  margin: 0;
}

.history-extra {
  max-width: 860px;
  margin: 60px auto 0;
  padding-top: 48px;
  border-top: 1px solid #e0e0e0;
}

@media (max-width: 640px) {
  .timeline::before { left: 16px; }
  .timeline-row {
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto;
  }
  .timeline-left { display: none; }
  .timeline-divider { grid-column: 1; padding-top: 4px; justify-content: flex-start; }
  .timeline-right { grid-column: 2; padding-left: 16px; text-align: left; }
  .timeline-right .timeline-year,
  .timeline-left .timeline-year { display: block; margin-bottom: 4px; }
  /* Mobilde yılı her zaman sağ tarafta göster */
  .timeline-right { padding-left: 16px; }
}

/* =============================================================
 * FOOTER — SOSYAL MEDYA
 * ============================================================= */
.footer-col--social .footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nrf-gray-text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--nrf-red); }
.footer-social-link svg { flex-shrink: 0; }
.footer-social-empty {
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.5;
}
