/* ==========================================================================
   Roman-Adwokat.pl - Combined Styles
   External CSS file for better caching (Google Core Web Vitals)
   ========================================================================== */

/* CSS Variables */
:root {
  --color-gold: #c8b291;
  --color-dark: #2f2e42;
  --color-darker: #1a1a1a;
  --color-darkest: #121212;
  --color-text: #f5f5f5;
  --color-text-muted: rgba(255, 255, 255, 0.7);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-darkest);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
  background: #000000;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

header .container {
  padding: 0 !important;
  max-width: 100% !important;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  color: var(--color-gold);
  font-size: 20px;
  font-weight: 700;
}

.logo-sub {
  color: var(--color-gold);
  font-size: 20px;
  font-weight: 700;
  margin-top: -8px;
}

.logo:hover .logo-main {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links > a,
.dropdown > a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-links > a:hover,
.dropdown > a:hover,
.nav-links > a.active {
  color: var(--color-gold);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-dark);
  min-width: 250px;
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--color-gold);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  color: var(--color-text);
  padding: 12px 20px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  text-transform: none;
}

.dropdown-menu a:hover {
  background: rgba(200, 178, 145, 0.1);
  color: var(--color-gold);
  padding-left: 25px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--color-dark);
  margin-top: 0;
  padding: 38px 0 19px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-logo-section img {
  height: 105px;
  width: auto;
  margin-right: 30px;
}

.footer-info {
  display: contents;
}

.footer-section h3 {
  color: var(--color-gold);
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-section p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--color-gold);
}

.footer-company {
  text-align: left;
}

.footer-contact {
  text-align: left;
}

.footer-bottom {
  border-top: 1px solid rgba(200, 178, 145, 0.2);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-gold);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  contain: layout;
}

.hero-box {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 60px;
  background: rgba(47, 46, 66, 0.68);
  border-radius: 8px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-overline {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 400;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

/* ==========================================================================
   HERO SECTION (Homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('../img/hero-bg.webp') center/cover no-repeat;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 400px;
}

.hero .hero-overlay,
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 100px;
  background: rgba(47, 46, 66, 0.7);
  border-radius: 8px;
  max-width: 1800px;
  margin: 0 auto;
}

.hero .hero-subtitle,
.hero-subtitle {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.hero-name {
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
  padding: 45px 0;
  background: var(--color-darker);
}

.section-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 60px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #2f2e42;
  padding: 40px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(200, 178, 145, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(200, 178, 145, 0.2);
  border-color: var(--color-gold);
  background: #3a3952;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.service-icon i {
  font-size: 22px;
  color: var(--color-darkest);
}

.service-card h3 {
  font-size: 20px;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  padding: 45px 0;
  background: var(--color-darkest);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--color-dark);
  border-radius: 8px;
  transition: all 0.3s;
  margin-bottom: 15px;
}

.text-item:hover {
  transform: translateX(5px);
  background: rgba(40, 38, 35, 0.9);
}

.text-item i {
  font-size: 24px;
  color: var(--color-gold);
  min-width: 24px;
  margin-top: 2px;
}

.text-item p {
  flex: 1;
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0;
}

.expert-badge-image {
  margin-top: 20px;
  padding: 20px;
  background: var(--color-dark);
  border-left: 4px solid var(--color-gold);
  border-radius: 4px;
}

.expert-badge-image p:first-child {
  font-size: 16px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.expert-badge-image .badge-text {
  font-size: 13px;
  color: var(--color-text-muted);
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   KANCELARIA SECTION
   ========================================================================== */
.kancelaria {
  padding: 5px 0;
  background: var(--color-darker);
}

.kancelaria-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.kancelaria-intro p {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.kancelaria-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.service-area {
  background: var(--color-dark);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.service-area h3 {
  font-size: 24px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.service-area p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   BCC EXPERT SECTION
   ========================================================================== */
.bcc-expert {
  padding: 30px 0;
  background: var(--color-darkest);
}

.bcc-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.bcc-logo-link {
  display: block;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bcc-logo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bcc-logo-img {
  width: 130px;
  height: auto;
  display: block;
}

.bcc-title {
  font-size: 36px;
  color: var(--color-gold);
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.bcc-box {
  background: var(--color-dark);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
  max-width: 900px;
  margin: 0 auto;
}

.bcc-box p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.bcc-box p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACT CTA SECTION
   ========================================================================== */
.contact-cta {
  padding: 27px 0;
  background: var(--color-darkest);
}

.contact-cta .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-cta .cta-box {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-darker) 100%);
  padding: 60px;
  border: 2px solid var(--color-gold);
  border-radius: 12px;
  text-align: center;
}

.contact-cta .cta-box h2 {
  font-size: 32px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.contact-cta .cta-box > p {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.contact-cta .cta-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-cta .cta-contact p {
  font-size: 17px;
  color: var(--color-text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-cta .cta-contact a {
  color: #e0d5c7;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-cta .cta-contact a:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   CLS FIX - Reserve space for images
   ========================================================================== */
.content-image img,
.content-grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.imported-content-wrapper img {
  max-width: 100%;
  height: auto;
}

.media-item img {
  aspect-ratio: 16/10;
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */
.page-content {
  padding: 30px 0;
  background: var(--color-darkest);
}

.content-block {
  padding: 30px 0;
}

.page-content > .content-block:nth-child(odd) {
  background: var(--color-darker);
}

.page-content > .content-block:nth-child(even) {
  background: var(--color-darkest);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.content-grid.reverse .content-image {
  order: 2;
}

.content-grid.reverse .content-text {
  order: 1;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.content-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.content-text p {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.content-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.content-text ul li {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 0;
  padding: 12px 0 12px 30px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-text ul li:last-child {
  border-bottom: none;
}

.content-text ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--color-gold);
  font-size: 18px;
  font-weight: 700;
}

/* Text Sections */
.text-sections {
  margin-top: 64px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.text-section {
  padding: 40px;
  background: rgba(47, 46, 66, 0.3);
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.text-section h2 {
  font-size: 24px;
  color: var(--color-gold);
  margin-bottom: 16px;
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.3;
}

.text-section p {
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
}

/* ==========================================================================
   CTA BOX
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-darker) 100%);
  padding: 60px;
  text-align: center;
  border-radius: 12px;
  border: 2px solid var(--color-gold);
  margin-top: 40px;
  margin-bottom: 40px;
}

.cta-box h2 {
  font-size: 32px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.cta-box p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.cta-contact {
  display: flex !important;
  justify-content: center !important;
  gap: 40px !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
}

.cta-contact p {
  margin: 0;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-contact a {
  color: #e0d5c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta-contact a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-darkest);
  padding: 16px 48px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #c4a35a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 151, 96, 0.4);
}

/* ==========================================================================
   CONTENT SECTION
   ========================================================================== */
.main-content {
  padding: 60px 0;
  background: var(--color-darkest);
}

.content-section {
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
}

.content-section h2 {
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 30px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 15px;
}

.content-section h3 {
  font-size: 24px;
  color: var(--color-gold);
  margin: 25px 0 15px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.content-section p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.content-section li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  padding-left: 30px;
  margin-bottom: 10px;
  position: relative;
}

.content-section li::before {
  content: "\2192";
  color: var(--color-gold);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.content-section strong {
  color: var(--color-gold);
}

/* Qualification items */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.qualification-item {
  background: rgba(47, 46, 66, 0.3);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.qualification-item h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qualification-item h3 i {
  color: var(--color-gold);
}

/* Service details */
.services-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-detail {
  background: rgba(47, 46, 66, 0.3);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.service-detail h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail h3 i {
  color: var(--color-gold);
}

/* Location section */
.location-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.location-item {
  background: rgba(47, 46, 66, 0.3);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.location-item h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.location-item h3 i {
  color: var(--color-gold);
}

.location-item a {
  color: var(--color-gold);
  text-decoration: none;
}

.location-item a:hover {
  text-decoration: underline;
}

/* Why us section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.why-us-item {
  background: rgba(47, 46, 66, 0.3);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.why-us-item i {
  font-size: 48px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.why-us-item h3 {
  margin-top: 0;
  font-size: 20px;
}

.why-us-item p {
  margin-bottom: 0;
}

/* ==========================================================================
   MEDIA GRID
   ========================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.media-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid var(--color-gold);
}

.media-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.media-item a {
  display: block;
  text-decoration: none;
  color: var(--color-text);
}

.media-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.media-item p {
  padding: 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: var(--color-text);
  background: var(--color-dark);
}

/* Services section */
section.services-section {
  padding: 80px 0;
  background: var(--color-dark);
}

.content-section.services-section {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
}

/* Home Hero */
.home-hero {
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.home-hero .hero-overlay {
  width: 100%;
  min-height: 80vh;
  background: linear-gradient(to right, rgba(20,23,31,0.95), rgba(20,23,31,0.6));
  display: flex;
  align-items: center;
}

.home-hero .hero-content {
  max-width: 800px;
  padding: 60px;
}

.home-hero .hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: white;
  text-align: left;
}

.home-hero .hero-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-top: 20px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-content {
  background: var(--color-darkest);
  padding: 70px 20px 5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.photo-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.info-column h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 20px;
}

.info-column .divider {
  border: none;
  border-top: 2px solid #e8e8e8;
  margin: 0 0 30px;
}

.firm-name {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 30px;
}

.contact-item {
  margin: 0 0 15px;
}

.contact-item a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-gold);
}

.contact-item .label {
  color: var(--color-gold);
  font-weight: 600;
}

.map-section {
  background: var(--color-darkest);
  padding-top: 25px;
  padding-bottom: 40px;
}

.map-section iframe {
  display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .content-block {
    padding: 15px 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .content-grid .content-image,
  .content-grid.reverse .content-image {
    order: 1 !important;
  }

  .content-grid .content-text,
  .content-grid.reverse .content-text {
    order: 2 !important;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links > a,
  .dropdown > a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(200, 178, 145, 0.1);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding-left: 20px;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-logo-section {
    order: 2;
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-logo-section img {
    margin-right: 0;
  }

  .footer-info {
    display: contents;
  }

  .footer-company {
    text-align: center;
    order: 1;
    grid-row: 1;
  }

  .footer-contact {
    text-align: center;
    order: 3;
    grid-row: 3;
  }

  .page-hero {
    min-height: 300px;
  }

  .hero-box {
    padding: 40px 30px;
    max-width: 90%;
  }

  .hero-overline {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 300px;
  }

  .hero .hero-overlay,
  .hero-overlay {
    padding: 40px 30px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-box h1 {
    font-size: 32px;
  }

  .content-text h2 {
    font-size: 26px;
  }

  .text-section h2 {
    font-size: 24px;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 26px;
  }

  .cta-contact {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .contact-cta .cta-box {
    padding: 40px 20px;
  }

  .contact-cta .cta-contact {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .home-hero .hero-content h1 {
    font-size: 36px;
  }

  .home-hero .hero-content {
    padding: 40px 20px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .media-item img {
    height: 250px;
  }

  .content-section {
    padding: 25px;
  }

  .content-section h2 {
    font-size: 28px;
  }

  .contact-content {
    padding: 40px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .info-column h2 {
    font-size: 24px;
  }
}

/* ==========================================================================
   PAGE SPECIFIC STYLES (default.html)
   ========================================================================== */
.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(200, 178, 145, 0.05);
  border-left: 4px solid var(--color-gold);
}

.section-content {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.section-content p {
  margin-bottom: 20px;
}

.section-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.section-content li {
  margin-bottom: 10px;
  color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
  background: var(--color-dark);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES (home.html)
   ========================================================================== */
.hero-content .hero-overline {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-gold);
  color: var(--color-darkest);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: #e0d5c7;
  transform: translateY(-2px);
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--color-dark);
}

.about-content h2 {
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: gap 0.3s;
}

.about-link:hover {
  gap: 15px;
}

/* Why Us Section */
.why-section {
  padding: 100px 0;
  background: var(--color-darkest);
}

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

.why-card {
  text-align: center;
  padding: 40px 30px;
}

.why-card i {
  font-size: 56px;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .intro-text {
    padding: 20px;
    font-size: 16px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Blog Post - Article Styles
   ========================================================================== */

/* Article Hero */
.article-hero {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.article-hero .hero-overlay {
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(20, 23, 31, 0.98) 0%,
        rgba(20, 23, 31, 0.8) 50%,
        rgba(20, 23, 31, 0.4) 100%
    );
    padding: 100px 20px 60px;
}

.article-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c8b291;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.article-category:hover {
    color: #e0d5c7;
}

.article-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0 0 30px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.article-meta .author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-meta .author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200, 178, 145, 0.5);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.article-meta .author-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.article-meta .author-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.meta-info .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Article Content */
.article-content {
    background: #14171f;
    padding: 60px 20px 80px;
}

.article-content .container {
    max-width: 800px;
}

.article-lead {
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(200, 178, 145, 0.2);
}

.article-body {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.article-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: #c8b291;
    margin: 50px 0 25px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin: 40px 0 20px;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body ul,
.article-body ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body blockquote {
    margin: 40px 0;
    padding: 30px;
    background: rgba(200, 178, 145, 0.1);
    border-left: 4px solid #c8b291;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.article-body a {
    color: #c8b291;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-body a:hover {
    color: #e0d5c7;
}

/* Tags */
.article-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200, 178, 145, 0.15);
    border-radius: 20px;
    color: #c8b291;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: rgba(200, 178, 145, 0.25);
}

/* Author Box */
.author-box {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 178, 145, 0.2);
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-box .author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c8b291;
    flex-shrink: 0;
}

.author-box h3 {
    font-size: 22px;
    color: white;
    margin: 0 0 5px 0;
}

.author-box .author-role {
    font-size: 14px;
    color: #c8b291;
    margin: 0 0 15px 0;
}

.author-box .author-bio {
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0;
    padding: 0;
    border: none;
    background: none;
}

/* Related Posts */
.related-posts {
    background: #1a1d24;
    padding: 80px 20px;
}

.related-posts h2 {
    font-size: 32px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: #14171f;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card a {
    text-decoration: none;
}

.related-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.related-card h3 {
    font-size: 18px;
    color: white;
    padding: 20px 20px 10px;
    margin: 0;
    transition: color 0.3s;
}

.related-card:hover h3 {
    color: #c8b291;
}

.related-card .date {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 20px 20px;
}

/* Article Navigation */
.article-nav {
    background: #14171f;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c8b291;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: gap 0.3s;
}

.back-to-blog:hover {
    gap: 15px;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(200, 178, 145, 0.2);
}

.faq-section h2 {
    font-size: 28px;
    color: #c8b291;
    margin-bottom: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 178, 145, 0.15);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #c8b291;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Legal Disclaimer */
.legal-disclaimer {
    margin-top: 50px;
    padding: 25px 30px;
    background: rgba(200, 178, 145, 0.08);
    border: 1px solid rgba(200, 178, 145, 0.2);
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 24px;
    color: #c8b291;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(200, 178, 145, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #c8b291;
    margin: 0 0 10px 0;
}

.disclaimer-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px 0;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer-meta {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Author Box Enhanced */
.author-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #c8b291;
    display: block;
    margin-bottom: 8px;
}

.author-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.contact-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #c8b291;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: white;
}

.contact-separator {
    color: rgba(200, 178, 145, 0.4);
    font-size: 8px;
}

.author-cta {
    display: inline-block;
    padding: 12px 28px;
    background: #c8b291;
    color: #14171f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.author-cta:hover {
    background: #e0d5c7;
    transform: translateY(-2px);
}

/* Article CTA Box */
.article-cta-box {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--color-dark) 0%, rgba(47, 46, 66, 0.8) 100%);
    border: 2px solid #c8b291;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.cta-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c8b291;
    flex-shrink: 0;
}

.cta-content h3 {
    font-size: 24px;
    color: #c8b291;
    margin: 0 0 10px 0;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.cta-btn-primary {
    background: #c8b291;
    color: #14171f;
}

.cta-btn-primary:hover {
    background: #e0d5c7;
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: transparent;
    color: #c8b291;
    border: 2px solid #c8b291;
}

.cta-btn-secondary:hover {
    background: rgba(200, 178, 145, 0.1);
}

/* Blog Post Responsive */
@media (max-width: 768px) {
    .article-hero .hero-overlay {
        padding: 80px 20px 40px;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .article-lead {
        font-size: 18px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 26px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .article-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .cta-avatar {
        width: 100px;
        height: 100px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .legal-disclaimer {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .author-contact {
        justify-content: center;
    }

    .author-cta {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Blog Index & Category - Listing Styles
   ========================================================================== */

/* Featured Hero Section */
.featured-hero {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: stretch;
    margin-top: -20px;
}

.featured-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(20, 23, 31, 0.95) 0%,
        rgba(20, 23, 31, 0.85) 40%,
        rgba(20, 23, 31, 0.4) 70%,
        rgba(20, 23, 31, 0.6) 100%
    );
    padding: 80px 20px 60px;
}

.featured-content {
    max-width: 900px;
    margin: 0 auto;
}

.featured-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge-featured {
    background: rgba(200, 178, 145, 0.2);
    border: 1px solid rgba(200, 178, 145, 0.5);
    color: #c8b291;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-category {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    font-size: 14px;
}

.featured-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.featured-excerpt {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 0 32px 0;
    max-width: 800px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200, 178, 145, 0.5);
}

.author-name {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.article-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.article-info .separator {
    color: rgba(255, 255, 255, 0.3);
}

.read-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8b291;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-article-link:hover {
    color: #e0d5c7;
}

.read-article-link .arrow {
    transition: transform 0.3s ease;
}

.read-article-link:hover .arrow {
    transform: translateX(4px);
}

/* Category Hero */
.category-hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1d24 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.category-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #c8b291;
    margin: 0 0 16px 0;
}

.category-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.article-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Category Filter Pills */
.category-filter {
    background: linear-gradient(to bottom, rgba(20, 23, 31, 0.95), #14171f);
    padding: 40px 20px 50px;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(200, 178, 145, 0.4);
    color: #ffffff;
}

.pill.active {
    background: rgba(200, 178, 145, 0.2);
    border-color: rgba(200, 178, 145, 0.5);
    color: #c8b291;
}

.pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.pill.active .pill-count {
    background: rgba(200, 178, 145, 0.3);
    color: #c8b291;
}

/* Articles Section */
.articles-section {
    background: #14171f;
    padding: 60px 20px 80px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.articles-count {
    font-size: 16px;
    color: #c8b291;
    margin: 0;
}

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

/* Article Grid Card */
.article-grid-card {
    background: #1e242c;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image-link {
    display: block;
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

.card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark), var(--color-darkest));
}

.article-grid-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.card-content {
    padding: 24px;
}

.card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c8b291;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.card-category:hover {
    color: #e0d5c7;
}

.card-title-link {
    text-decoration: none;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.card-title-link:hover .card-title {
    color: #c8b291;
}

.card-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-meta .separator {
    color: rgba(255, 255, 255, 0.3);
}

.no-articles {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.no-articles p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.back-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(200, 178, 145, 0.2);
    color: #c8b291;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.back-link:hover {
    background: rgba(200, 178, 145, 0.3);
}

.coming-soon {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed rgba(200, 178, 145, 0.3);
}

.coming-soon h3 {
    font-size: 24px;
    color: #c8b291;
    margin: 0 0 12px 0;
}

.coming-soon p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Blog Listing Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-hero {
        min-height: 500px;
    }

    .featured-overlay {
        padding: 60px 20px 40px;
    }

    .featured-title {
        font-size: 32px;
    }

    .featured-excerpt {
        font-size: 16px;
    }

    .featured-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .category-hero {
        padding: 60px 20px 40px;
    }

    .category-hero h1 {
        font-size: 32px;
    }

    .category-filter {
        padding: 30px 15px 40px;
    }

    .filter-pills {
        gap: 8px;
    }

    .pill {
        padding: 10px 18px;
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .featured-title {
        font-size: 26px;
    }

    .featured-badges {
        flex-direction: column;
        gap: 8px;
    }

    .badge-featured,
    .badge-category {
        display: inline-block;
        width: fit-content;
    }

    .pill {
        padding: 8px 14px;
        font-size: 12px;
    }

    .pill-count {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}
