﻿/*
Theme Name:  MediaDirectoryHub
Theme URI:   https://example.com/mediadirectoryhub
Author:      MediaDirectoryHub
Description: Directory listing theme using default posts, custom taxonomies (Language, Group), and custom post meta fields.
Version:     1.0.0
License:     GPL-2.0-or-later
Text Domain: mediadirectoryhub
*/
:root {
  --ink:        #0d0d0d;
  --paper:      #f7f4ef;
  --accent:     #e63946;
  --accent2:    #457b9d;
  --gold:       #f4a261;
  --muted:      #6b6b6b;
  --card-bg:    #ffffff;
  --border:     #e0dbd2;
  --radius:     10px;
  --font-serif: 'Playfair Display', serif;
  --font-body:  'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--accent); color: #fff; padding: 8px 16px; z-index: 9999; }
.skip-link:focus { top: 0; }

header {
  background: var(--ink); color: #fff;
  padding: 0 2rem; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; height: 64px;
}
.logo, a.logo {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 900;
  white-space: nowrap; color: #fff; text-decoration: none;
}
.logo span, a.logo span { color: var(--accent); }
.search-wrap { flex: 1; position: relative; }
.search-wrap input {
  width: 100%; padding: .6rem 1rem .6rem 2.8rem;
  border-radius: 6px; border: none; background: #1e1e1e;
  color: #fff; font-family: var(--font-body); font-size: .95rem;
  outline: none; transition: background .2s;
}
.search-wrap input::placeholder { color: #888; }
.search-wrap input:focus { background: #2a2a2a; }
.search-icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: #888; pointer-events: none; }
nav.lang-nav { display: flex; gap: .4rem; }
nav.lang-nav a, nav.lang-nav button {
  background: transparent; border: 1px solid #444; color: #ccc;
  padding: .3rem .8rem; border-radius: 4px; cursor: pointer;
  font-family: var(--font-body); font-size: .82rem;
  transition: all .2s; white-space: nowrap; text-decoration: none; display: inline-block;
}
nav.lang-nav a:hover, nav.lang-nav a.active,
nav.lang-nav button:hover, nav.lang-nav button.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}


.hero {
  background: var(--ink); color: #fff;
  padding: 3.5rem 2rem 2.5rem;
  border-bottom: 3px solid var(--accent);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,.02) 40px, rgba(255,255,255,.02) 41px);
}
.hero-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 900; line-height: 1.1; margin-bottom: .6rem;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { color: #aaa; font-size: 1.05rem; max-width: 540px; margin-bottom: 1.8rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 900; color: var(--gold); display: block; }
.stat-label { font-size: .8rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }

/* Taxonomy archive hero variant */
.site-hero { background: var(--ink); color: #fff; padding: 2.5rem 2rem; border-bottom: 3px solid var(--accent); }
.site-hero h1 { font-family: var(--font-serif); font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; line-height: 1.1; }
.site-hero h1 em { color: var(--accent); font-style: normal; }
.term-description { color: #aaa; margin-top: .5rem; max-width: 540px; }

.main-wrap {
  max-width: 1400px; margin: 0 auto; padding: 2rem;
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start;
}

aside {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem;
  position: sticky; top: 80px;
}
aside h3 {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  margin-bottom: 1rem; color: var(--ink);
  border-bottom: 2px solid var(--accent); padding-bottom: .5rem; margin-top: 1.4rem;
}
aside h3:first-child { margin-top: 0; }
.cat-list { list-style: none; margin-bottom: .5rem; }
.cat-list li button, .cat-list li a {
  width: 100%; text-align: left; background: none; border: none;
  padding: .45rem .6rem; border-radius: 5px; cursor: pointer;
  font-family: var(--font-body); font-size: .88rem; color: var(--muted);
  display: flex; align-items: center; gap: .6rem; transition: all .15s; text-decoration: none;
}
.cat-list li button:hover, .cat-list li button.active,
.cat-list li a:hover, .cat-list li a.active,
.cat-list li a.current-tax { background: var(--paper); color: var(--ink); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cat-count { margin-left: auto; font-size: .75rem; background: var(--paper); border-radius: 10px; padding: .1rem .45rem; color: var(--muted); }
.tax-list { list-style: none; margin-bottom: .5rem; }
.tax-list li a {
  display: flex; align-items: center; gap: .6rem;
  padding: .45rem .6rem; border-radius: 5px; font-size: .88rem;
  color: var(--muted); transition: all .15s;
}
.tax-list li a:hover, .tax-list li a.current-tax { background: var(--paper); color: var(--ink); font-weight: 500; }
.tax-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--accent); }
.tax-count { margin-left: auto; font-size: .75rem; background: var(--paper); border-radius: 10px; padding: .1rem .45rem; color: var(--muted); }


.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; flex-wrap: wrap; gap: .8rem; }
.section-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; }
.result-count { color: var(--muted); font-size: .88rem; }
.filter-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 20px; padding: .3rem .85rem; font-size: .82rem;
  cursor: pointer; transition: all .15s; font-family: var(--font-body); user-select: none;
}
.chip:hover, .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.listing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.2rem;
}
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .2s, box-shadow .2s; position: relative;
  animation: fadeUp .4s ease both;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.card-logo-wrap { display: block; text-decoration: none; }
.card-logo {
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0; overflow: hidden;
}
.card-logo.colored { color: #fff; }
.card-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.card-name { font-weight: 600; font-size: .95rem; line-height: 1.3; flex: 1; }
.card-name a { color: var(--ink); }
.card-name a:hover { color: var(--accent); }
.card-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .7rem; padding: .15rem .55rem; border-radius: 3px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.tag-lang { background: #334155 !important; color: #cbd5e1 !important; font-weight: 400; text-transform: none; letter-spacing: 0; }
.tag-pop { background: transparent !important; padding: 0 !important; font-size: .85rem; }
.card-visit {
  display: inline-block; background: var(--ink); color: #fff;
  text-decoration: none; font-size: .8rem; font-weight: 600;
  padding: .45rem .9rem; border-radius: 5px; text-align: center;
  transition: background .2s; letter-spacing: .3px;
}
.card-visit:hover { background: var(--accent); }
.card-visit--detail { background: var(--accent2); }
.card-visit--detail:hover { background: var(--accent); }
.featured-badge {
  position: absolute; top: .7rem; right: .7rem;
  background: var(--gold); color: var(--ink);
  font-size: .65rem; font-weight: 700; padding: .15rem .4rem;
  border-radius: 3px; text-transform: uppercase;
}
.no-results { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--muted); }

.listings-pagination { margin-top: 2rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.listings-pagination a, .listings-pagination span {
  display: inline-block; padding: .4rem .8rem; border: 1px solid var(--border);
  border-radius: 5px; font-size: .85rem; color: var(--muted); transition: all .15s;
}
.listings-pagination a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.listings-pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: #888; flex-wrap: wrap; margin-bottom: 1.5rem; }
.breadcrumb a { color: #aaa; }
.breadcrumb a:hover { color: #fff; }
.listing-detail-header { display: flex; gap: 2rem; align-items: flex-start; margin-top: 1rem; }
.listing-detail-logo {
  width: 100px; height: 100px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; overflow: hidden; color: #fff;
}
.listing-detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.listing-detail-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; align-items: center; }
.listing-detail-title { font-family: var(--font-serif); font-size: clamp(1.6rem,4vw,2.8rem); font-weight: 900; line-height: 1.15; margin-bottom: .8rem; }
.listing-detail-excerpt { color: #aaa; font-size: 1.05rem; max-width: 600px; margin-bottom: 1.4rem; }
.listing-detail-actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-block; background: var(--accent); color: #fff; border: none;
  padding: .65rem 1.5rem; border-radius: 6px; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s;
}
.btn-primary:hover { background: #c1121f; }
.listing-meta-group { color: #aaa; font-size: .9rem; text-decoration: none; }
.listing-meta-group:hover { color: #fff; }
.listing-detail-body {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; margin-top: 1.5rem;
  line-height: 1.85; font-size: 1rem;
}
.listing-detail-body p { margin-bottom: 1rem; }
.listing-detail-body h2, .listing-detail-body h3 { font-family: var(--font-serif); margin: 1.8rem 0 .8rem; }
.listing-detail-body a { color: var(--accent2); text-decoration: underline; }

.blog-single-wrap { max-width: 780px; margin: 3rem auto; padding: 0 2rem; }
.blog-single-hero { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.blog-single-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.post-card-category { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--accent); margin-bottom: .5rem; }
.post-card-category a { color: inherit; }
.blog-single-title { font-family: var(--font-serif); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; line-height: 1.15; margin: .4rem 0 1rem; }
.post-meta { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.post-meta img { border-radius: 50%; }
.entry-content { line-height: 1.85; font-size: 1.05rem; margin-top: 1.5rem; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-content h2, .entry-content h3 { font-family: var(--font-serif); margin: 2rem 0 .8rem; }
.entry-content img { border-radius: 6px; margin: 1rem 0; }
.entry-content a { color: var(--accent2); text-decoration: underline; }
.blog-tags { margin-top: 1.5rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.blog-tags a { background: var(--paper); border: 1px solid var(--border); border-radius: 4px; padding: .25rem .7rem; font-size: .82rem; color: var(--muted); }
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-top: 2.5rem; }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box-name { font-weight: 700; margin-bottom: .3rem; }
.author-box-bio { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.post-nav { display: flex; gap: 1rem; margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.post-nav-link { flex: 1; display: flex; flex-direction: column; gap: .3rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; transition: border-color .2s; }
.post-nav-link:hover { border-color: var(--accent); }
.post-nav-link--next { text-align: right; }
.post-nav-dir { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.post-nav-title { font-weight: 600; font-size: .9rem; color: var(--ink); }

.blog-archive-wrap { max-width: 1400px; margin: 0 auto; padding: 2rem; }
.blog-archive-header { margin-bottom: 2rem; }
.blog-archive-header h1 { font-family: var(--font-serif); font-size: 2rem; font-weight: 900; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.post-card-image img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 1.2rem; }
.post-card-title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: .5rem; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt { color: var(--muted); font-size: .88rem; line-height: 1.6; }

.error-404 { max-width: 600px; margin: 6rem auto; text-align: center; padding: 2rem; }
.error-404 .error-code { font-family: var(--font-serif); font-size: 8rem; font-weight: 900; color: var(--accent); line-height: 1; }
.error-404 h1 { font-family: var(--font-serif); font-size: 1.8rem; margin: 1rem 0 .5rem; }
.error-404 p { color: var(--muted); margin-bottom: 2rem; }

.search-form { display: flex; gap: .5rem; }
.search-field { flex: 1; padding: .5rem .8rem; border: 1px solid var(--border); border-radius: 5px; font-family: var(--font-body); }
.search-submit { background: var(--ink); color: #fff; border: none; padding: .5rem 1rem; border-radius: 5px; cursor: pointer; font-family: var(--font-body); font-weight: 600; }
.search-submit:hover { background: var(--accent); }

footer {
  background: var(--ink); color: #888;
  text-align: center; padding: 2rem;
  margin-top: 4rem; font-size: .85rem;
}
footer strong { color: #fff; font-family: var(--font-serif); }

.widget { margin-bottom: 1.5rem; }
.widget-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; margin-bottom: .8rem; border-bottom: 2px solid var(--accent); padding-bottom: .4rem; }

@media (max-width: 900px) {
  .main-wrap { grid-template-columns: 1fr; }
  aside { position: static; }
  nav.lang-nav { display: none; }
}
@media (max-width: 640px) {
  .listing-detail-header { flex-direction: column; }
  .listing-detail-logo { width: 72px; height: 72px; font-size: 2rem; }
  .blog-single-wrap { padding: 0 1rem; }
  .listing-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .main-wrap { padding: 1rem; }
}


:root {
  --ld-ink:    #0f0f0f;
  --ld-paper:  #f8f5f0;
  --ld-cream:  #efe9df;
  --ld-accent: #c0392b;
  --ld-accent2:#1a3a5c;
  --ld-muted:  #7a7068;
  --ld-border: #d8d0c4;
  --ld-gold:   #f0c040;
}

.ld-breadcrumb {
  background: var(--ld-cream);
  border-bottom: 1px solid var(--ld-border);
  padding: 10px 40px;
}
.ld-bc-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--ld-muted);
}
.ld-bc-inner a { color: var(--ld-accent2); text-decoration: none; }
.ld-bc-inner a:hover { text-decoration: underline; }

.ld-hero {
  background: var(--ld-ink);
  padding: 40px;
  border-bottom: 4px solid var(--ld-accent);
}
.ld-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.ld-logo-lg {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,.15);
  overflow: hidden;
}
.ld-logo-lg img { width: 100%; height: 100%; object-fit: cover; }

.ld-hero-info { flex: 1; min-width: 0; }

.ld-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ld-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.ld-title {
  font-family: var(--font-serif);
  font-size: 34px;
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
}
.ld-company-line {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  margin-top: 6px;
}
.ld-company-line a {
  color: var(--ld-gold);
  font-weight: 600;
  text-decoration: none;
}
.ld-company-line a:hover { text-decoration: underline; }

.ld-short-desc {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.65;
  max-width: 580px;
}
/* strip WP's default <p> margin from excerpts here */
.ld-short-desc p { margin: 0; }

.ld-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ld-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 2px;
}
.ld-badge-outline {
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.75);
  background: transparent;
}
.ld-badge-free   { background: #e8f5e9; color: #2e7d32; }
.ld-badge-yellow { background: var(--ld-gold); color: var(--ld-ink); }

.ld-rating-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.ld-stars       { color: var(--ld-gold); font-size: 18px; letter-spacing: 2px; }
.ld-rating-num  { font-family: var(--font-serif); font-size: 22px; color: #fff; font-weight: 700; }
.ld-rating-count{ color: rgba(255,255,255,.45); font-size: 12px; }

/* Hero action buttons */
.ld-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
  flex-shrink: 0;
}
.ld-cta-primary {
  display: block;
  background: var(--ld-accent);
  color: #fff;
  padding: 13px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
}
.ld-cta-primary:hover { background: #a93226; }
.ld-cta-secondary {
  display: block;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.75);
  padding: 11px 20px;
  text-align: center;
  font-size: 13px;
  text-decoration: none;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .2s;
}
.ld-cta-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }

/* â”€â”€â”€ Main Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-main-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 12px;
  align-items: start;
}

/* â”€â”€â”€ Content Blocks â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-block {
  background: #fff;
  border: 1px solid var(--ld-border);
  padding: 28px;
  margin-bottom: 24px;
}
.ld-block h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ld-ink);
}
.ld-content h3, .ld-block h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  margin: 20px 0 10px;
  color: var(--ld-accent2);
}
.ld-content p, .ld-block p {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
}
.ld-content p:last-child, .ld-block > p:last-child { margin-bottom: 0; }
.ld-no-faq { font-size: 13.5px; color: var(--ld-muted); }

/* â”€â”€â”€ Attributes Table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-attr-table {
  width: 100%;
  border-collapse: collapse;
}
.ld-attr-table tr {
  border-bottom: 1px solid var(--ld-cream);
}
.ld-attr-table tr:last-child { border-bottom: none; }
.ld-attr-table td {
  padding: 10px 0;
  font-size: 13.5px;
  vertical-align: top;
}
.ld-attr-table td:first-child {
  color: var(--ld-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  width: 40%;
  padding-right: 16px;
}
.ld-attr-table td:last-child { font-weight: 500; }
.ld-attr-link { color: var(--ld-accent); text-decoration: none; }
.ld-attr-link:hover { text-decoration: underline; }

/* â”€â”€â”€ FAQ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-faq-item {
  border: 1px solid var(--ld-border);
  margin-bottom: 8px;
  background: #fff;
  overflow: hidden;
}
.ld-faq-q {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: background .15s;
  user-select: none;
}
.ld-faq-q:hover { background: var(--ld-cream); }
.ld-faq-q.open  { background: var(--ld-accent2); color: #fff; }
.ld-faq-toggle {
  font-size: 20px;
  line-height: 1;
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.ld-faq-q.open .ld-faq-toggle { transform: rotate(45deg); }
.ld-faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all .3s;
  font-size: 13.5px;
  line-height: 1.75;
  color: #444;
}
.ld-faq-a.open {
  padding: 16px 20px;
  max-height: 400px;
  border-top: 1px solid var(--ld-border);
}

/* â”€â”€â”€ Rating Summary â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-rating-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--ld-cream);
  border-radius: 4px;
}
.ld-rating-big { text-align: center; }
.ld-rating-score {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: var(--ld-accent2);
}
.ld-rating-stars-lg {
  color: var(--ld-gold);
  font-size: 22px;
  letter-spacing: 2px;
  margin-top: 4px;
}
.ld-rating-total {
  font-size: 12px;
  color: var(--ld-muted);
  margin-top: 4px;
}
.ld-rating-bars { flex: 1; }
.ld-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
}
.ld-bar-row:last-child { margin-bottom: 0; }
.ld-bar-row > span:first-child { width: 14px; text-align: right; }
.ld-bar-row > span:last-child  { color: var(--ld-muted); width: 30px; }
.ld-bar {
  flex: 1;
  height: 8px;
  background: var(--ld-border);
  border-radius: 4px;
  overflow: hidden;
}
.ld-bar-fill         { height: 100%; background: var(--ld-gold); }
.ld-bar-fill--red    { background: var(--ld-accent); }

/* â”€â”€â”€ Review Form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-review-subhead {
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--ld-accent2) !important;
}
.ld-star-rating { display: flex; gap: 6px; margin-bottom: 14px; }
.ld-star-btn {
  font-size: 28px;
  cursor: pointer;
  color: #ddd;
  transition: color .15s;
  line-height: 1;
}
.ld-star-btn:hover,
.ld-star-btn.selected { color: var(--ld-gold); }
.ld-review-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ld-border);
  font-family: var(--font-body);
  font-size: 13px;
  border-radius: 3px;
  resize: vertical;
  min-height: 90px;
  background: var(--ld-paper);
  display: block;
}
.ld-review-textarea:focus { outline: 2px solid var(--ld-accent2); }
.ld-submit-review {
  background: var(--ld-accent2);
  color: #fff;
  padding: 11px 24px;
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-top: 10px;
  transition: background .2s;
}
.ld-submit-review:hover { background: #0f2540; }

/* â”€â”€â”€ Review Items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-review-item {
  border-bottom: 1px solid var(--ld-cream);
  padding: 16px 0;
}
.ld-review-item:last-child { border-bottom: none; }
.ld-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.ld-reviewer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.ld-reviewer-name { font-weight: 600; font-size: 13px; }
.ld-reviewer-date { font-size: 11px; color: var(--ld-muted); }
.ld-review-stars  { color: var(--ld-gold); font-size: 13px; margin-left: auto; }
.ld-review-text   { font-size: 13.5px; color: #444; line-height: 1.65; }

/* â”€â”€â”€ Sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ld-sidebar { position: sticky; top: 76px; }

.ld-visit-btn {
  display: block;
  background: var(--ld-accent);
  color: #fff;
  padding: 15px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 3px;
  margin-bottom: 20px;
  transition: background .2s;
}
.ld-visit-btn:hover { background: #a93226; }

.ld-sidebar-card {
  background: #fff;
  border: 1px solid var(--ld-border);
  padding: 20px;
  margin-bottom: 20px;
}
.ld-sidebar-card h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ld-ink);
}
.ld-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--ld-cream);
  font-size: 13px;
  gap: 8px;
}
.ld-info-row:last-child { border-bottom: none; }
.ld-info-row label { color: var(--ld-muted); font-size: 12px; flex-shrink: 0; }
.ld-info-row span  { font-weight: 500; text-align: right; }

/* Share buttons */
.ld-share-btns { display: flex; gap: 8px; }
.ld-share-btn {
  flex: 1;
  padding: 9px 4px;
  text-align: center;
  border: 1px solid var(--ld-border);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  font-family: var(--font-body);
  transition: all .15s;
  white-space: nowrap;
}
.ld-share-btn:hover { background: var(--ld-ink); color: #fff; border-color: var(--ld-ink); }

/* Related / Similar cards */
.ld-related-card {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ld-cream);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.ld-related-card:last-child { border-bottom: none; }
.ld-related-card:hover .ld-rel-name { color: var(--ld-accent); }
.ld-rel-logo {
  width: 38px;
  height: 38px;
  background: var(--ld-cream);
  border: 1px solid var(--ld-border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.ld-rel-logo img { width: 100%; height: 100%; object-fit: cover; }
.ld-rel-name { font-size: 13px; font-weight: 600; color: var(--ld-ink); line-height: 1.3; }
.ld-rel-cat  { font-size: 11px; color: var(--ld-muted); margin-top: 2px; }

/* â”€â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 900px) {
  .ld-hero { padding: 24px 20px; }
  .ld-hero-inner { flex-wrap: wrap; }
  .ld-actions { flex-direction: row; min-width: 0; width: 100%; order: 3; }
  .ld-cta-primary, .ld-cta-secondary { flex: 1; }
  .ld-main-grid { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .ld-sidebar { position: static; }
  .ld-breadcrumb { padding: 10px 20px; }
}
@media (max-width: 600px) {
  .ld-title { font-size: 24px; }
  .ld-logo-lg { width: 64px; height: 64px; font-size: 18px; }
  .ld-rating-summary { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ld-share-btns { flex-wrap: wrap; }
  .ld-share-btn { flex: none; width: calc(50% - 4px); }
  .ld-actions { flex-direction: column; }
}


/* MediaDirectoryHub compatibility additions */
.site-nav {
  background: var(--ink);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #fff;
  font-weight: 900;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-search {
  margin-top: 24px;
  display: flex;
  max-width: 560px;
}
.hero-search input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: #fff;
  border-radius: 3px 0 0 3px;
  outline: none;
}
.hero-search button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0 26px;
  border-radius: 0 3px 3px 0;
  font-weight: 600;
  text-transform: uppercase;
}
.main-layout-pincode {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 2px;
}
.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 2px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 12px;
}
.filter-block { background: #fff; border: 1px solid var(--border); margin-bottom: 16px; }
.filter-title {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-title .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.filter-list { padding: 8px 0; }
.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 13.5px;
}
.filter-item.active { background: #fdf0ee; color: var(--accent); font-weight: 600; }
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.results-title { font-family: 'Playfair Display', serif; font-size: 22px; }
.results-count { font-size: 13px; color: var(--muted); margin-top: 2px; }
.company-hero {
  background: var(--ink);
  padding: 48px 40px;
}
.company-hero-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 32px; align-items: center; }
.company-logo-lg {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
}
.company-hero-info h1 { font-family: 'Playfair Display', serif; font-size: 36px; color: #fff; font-weight: 900; }
.company-hero-info p { color: rgba(255,255,255,0.6); margin-top: 8px; font-size: 14px; max-width: 560px; }
.company-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.company-meta-row { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.meta-chip { color: rgba(255,255,255,0.7); font-size: 13px; }
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 20px; }
.property-list { display: flex; flex-direction: column; gap: 12px; }
.property-row {
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.prop-logo {
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.prop-info { flex: 1; min-width: 0; }
.prop-name { font-weight: 600; font-size: 14px; }
.prop-desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.prop-badges { display: flex; gap: 6px; }
.badge { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 2px; }
.badge-cat { background: var(--accent2); color: #fff; }
.badge-lang { background: #e8e2d8; color: var(--muted); }
.prop-link { font-size: 12px; color: var(--accent); font-weight: 600; text-decoration: none; }
.sidebar-card { background: #fff; border: 1px solid var(--border); padding: 20px; margin-bottom: 20px; }
.quick-fact { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #efe9df; font-size: 13px; }
.form-wrapper { max-width: 780px; margin: 0 auto; padding: 40px; }
.notice { background: #fff8e6; border: 1px solid #f0c040; border-left: 4px solid #f0c040; padding: 14px 18px; margin-bottom: 32px; border-radius: 2px; font-size: 13.5px; color: #5a4a00; }
.form-section { background: #fff; border: 1px solid var(--border); padding: 28px; margin-bottom: 24px; }
.form-section-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.form-section-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #efe9df; }
.page-header { background: var(--accent2); padding: 48px 40px; }
.page-header-inner { max-width: 780px; margin: 0 auto; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: 36px; color: #fff; font-weight: 900; }
.page-header p { color: rgba(255,255,255,0.6); margin-top: 10px; font-size: 15px; }
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; padding: 20px; }
  .main-wrapper { grid-template-columns: 1fr; padding: 20px; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.subcategory-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.subcategory-card-image {
  display: block;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: #f3efe8;
  border: 1px solid var(--border);
  min-height: 140px;
}

.subcategory-card-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.subcategory-image-placeholder {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--accent2);
}

.subcategory-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.subcategory-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

/* Media group images in LHS and hero */
.filter-thumb {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 6px;
  border: 1px solid var(--border);
}
.filter-thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent2);
  background: #f3efe8;
}
.company-logo-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.social-sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.social-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
  padding: 1rem 1.2rem .8rem;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
}

.social-sidebar-empty {
  padding: 1.5rem 1.2rem;
  color: var(--muted);
  font-size: .85rem;
}

.social-link-list {
  list-style: none;
  padding: .5rem 0;
}
.social-link-list li + li {
  border-top: 1px solid var(--border);
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  transition: background var(--trans);
}
.social-link-item:hover {
  background: var(--paper);
}
.social-link-item:hover .social-link-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

.social-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-link-label {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.social-link-platform {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.social-link-handle {
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-link-arrow {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--trans), color var(--trans);
}
/* ── SEARCH WRAPPER ── */
.inner {
  padding: 18px 10px;
}

#home form {
  border-radius : 8px;
  padding       : 14px 18px;
  box-shadow    : 0 6px 28px rgba(0,0,0,.2);
}

/* ── SINGLE ROW ── */
#home .row {
  display     : flex;
  align-items : center;
  gap         : 10px;
  flex-wrap   : nowrap;
}

#home .col-md-10 { flex: 1; min-width: 0; }
#home .col-sm-4  { flex: 1; min-width: 0; }
#home .col-md-2  { flex: 0 0 auto; width: auto; }

#home .col-md-10 .row {
  display  : flex;
  gap      : 10px;
  flex-wrap: nowrap;
}

/* ── SELECT STYLING ── */
.form-control {
  width              : 100%;
  height             : 42px;
  border             : 1.5px solid #dde1ef;
  border-radius      : 6px;
  font-size          : .84rem;
  font-weight        : 500;
  color              : #222;
  padding            : 0 34px 0 12px;
  appearance         : none;
  -webkit-appearance : none;
  cursor             : pointer;
  text-transform     : uppercase;
  letter-spacing     : .3px;
  background-image   : url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6'%3E%3Cpath d='M0 0l5.5 6L11 0z' fill='%231a237e'/%3E%3C/svg%3E");
  background-repeat  : no-repeat;
  background-position: right 11px center;
  transition         : border-color .2s, box-shadow .2s;
}

.form-control:focus {
  outline      : none;
  border-color : #1a237e;
  box-shadow   : 0 0 0 3px rgba(26,35,126,.12);
}

/* ── SEARCH BUTTON ── */
.btn.submit,
#search-pincode {
  height         : 42px;
  padding        : 0 26px;
  background     : #e53935;
  border         : none;
  border-radius  : 6px;
  color          : #fff;
  font-size      : .85rem;
  font-weight    : 700;
  letter-spacing : .8px;
  cursor         : pointer;
  white-space    : nowrap;
  transition     : background .2s, transform .15s;
  box-shadow     : 0 3px 10px rgba(229,57,53,.35);
}

.btn.submit:hover,
#search-pincode:hover {
  background : #c62828;
  transform  : translateY(-1px);
}

/* ── TABLET  (max 991px) ── */
@media (max-width: 991px) {
  #home .row,
  #home .col-md-10 .row {
    flex-wrap : wrap;
  }
  #home .col-md-10 { flex: 1 1 100%; }
  #home .col-sm-4  { flex: 1 1 calc(33.33% - 8px); }
  #home .col-md-2  { flex: 1 1 100%; margin-top: 4px; }
  #search-pincode,
  .btn.submit      { width: 100%; }
}

/* ── MOBILE  (max 575px) ── */
@media (max-width: 575px) {
  .inner { padding: 16px 12px; }
  #home form { padding: 14px 12px; }
  #home .col-sm-4 { flex: 1 1 100%; }
}

/* ── SECTION WRAPPER ── */
.row.show-grid {
  padding  : 10px 5px;
  margin   : 0;
}

/* ── HEADING ── */
.row.show-grid :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a237e;
  letter-spacing: .3px;
  margin-bottom: 18px;
  margin-top: 18px;
  padding-left: 12px;
  border-left: 4px solid #e53935;
  width: 100%;
}

.row.show-grid :is(h1, h2, h3, h4, h5, h6) hr {
  border: none;
  border-top: 1px solid #dde1ef;
  margin-top: 10px;
}
.row p {
    line-height: 36px;
    font-size: 18px;
	text-align: justify;
}
/* ── LIST WRAPPER ── */
.pin-data-list {
	width: 100%;
	background-clip: border-box;
	border-radius: 8px;
	box-shadow: 0 6px 28px rgba(0, 0, 0, .2);
	padding: 14px 18px;
}

.pin-data-list ul {
  list-style : none;
  margin     : 0;
  padding    : 0;
  display    : grid;
  grid-template-columns : repeat(5, 1fr);
  gap        : 10px;
}

/* ── EACH ITEM ── */
.pin-data-list ul li {
  margin  : 0;
  padding : 0;
}

.pin-data-list ul li a {
  display         : block;
  text-align      : center;
  padding         : 10px 8px;
  border          : 1.5px solid #dde1ef;
  border-radius   : 6px;
  color           : #1a237e;
  font-size       : .75rem;
  font-weight     : 600;
  letter-spacing  : .4px;
  text-decoration : none;
  text-transform  : uppercase;
  transition      : color .15s, border-color .15s, transform .12s, box-shadow .12s;
}

.pin-data-list ul li a:hover {
  color        : #e53935;
  border-color : #e53935;
  transform    : translateY(-2px);
  box-shadow   : 0 4px 12px rgba(229,57,53,.15);
}

/* ── TABLET  (max 991px) – 4 columns ── */
@media (max-width: 991px) {
  .pin-data-list ul {
    grid-template-columns : repeat(4, 1fr);
  }
}

/* ── SMALL TABLET  (max 767px) – 3 columns ── */
@media (max-width: 767px) {
  .pin-data-list ul {
    grid-template-columns : repeat(3, 1fr);
  }
  .row.show-grid {
    padding : 18px 14px;
  }
  .row p {
    line-height: 40px;
    font-size: 18px;
	text-align: justify;
}
}

/* ── MOBILE  (max 480px) – 2 columns ── */
@media (max-width: 480px) {
  .pin-data-list ul {
    grid-template-columns : repeat(2, 1fr);
    gap : 8px;
  }
  .row.show-grid h1 {
    font-size : .95rem;
  }
  .pin-data-list ul li a {
    font-size : .7rem;
    padding   : 9px 6px;
  }
}
.heading-wrapper {
  text-align: center;
  margin: 20px 0;
}

.heading-wrapper span {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a237e;
  letter-spacing: 0.4px;
  padding: 8px 16px;
  border-bottom: 3px solid #e53935;
}