/*
Theme Name: Dorna Works
Theme URI: https://markology.ir/
Author: Jasim Ghodrat
Author URI: https://markology.ir/
Description: A stunning black & gold creative portfolio theme with advanced animations, particle effects, parallax scrolling, and 3D tilt interactions. All content is fully manageable from the WordPress admin panel.
Version: 1.4.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marko-dorna
Tags: portfolio, creative, dark, one-column, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, theme-options
*/

/* ═══════════════════════════════════════════════
   CSS VARIABLES & BASE
   ═══════════════════════════════════════════════ */
:root {
  --gold: #d4a843;
  --gold-light: #f0d78c;
  --gold-dark: #a07e2e;
  --bg-dark: #050505;
  --bg-card: #0a0a0a;
  --bg-elevated: #0d0d0d;
  --bg-section: #080808;
  --text-primary: #f5f0e8;
  --text-muted: #888880;
  --border-color: #1a1a1a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ═══════════════════════════════════════════════
   CUSTOM SCROLLBAR
   ═══════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════ */
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-glow {
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.15), 0 0 60px rgba(212, 168, 67, 0.05);
}

.gold-glow-strong {
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.3), 0 0 80px rgba(212, 168, 67, 0.1);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-label .number {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

.section-label .line {
  width: 64px;
  height: 1px;
  background: rgba(212, 168, 67, 0.3);
}

.section-label .text {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════ */
.marko-dorna-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
}

.marko-dorna-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.marko-dorna-loader .spinner {
  width: 64px;
  height: 64px;
  border: 2px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  margin: 0 auto 24px;
}

.marko-dorna-loader .brand {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.5s 0.3s forwards;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   CURSOR FOLLOWER
   ═══════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.marko-dorna-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 24px;
  transition: all 0.5s;
}

.marko-dorna-navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.marko-dorna-navbar .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marko-dorna-navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.marko-dorna-navbar .logo:hover {
  transform: scale(1.05);
}

.marko-dorna-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.marko-dorna-navbar .nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.marko-dorna-navbar .nav-links a:hover {
  color: var(--gold);
}

.marko-dorna-navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.marko-dorna-navbar .nav-links a:hover::after {
  width: 100%;
}

.marko-dorna-navbar .nav-cta {
  padding: 8px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 168, 67, 0.5);
  color: var(--gold);
  transition: all 0.3s;
}

.marko-dorna-navbar .nav-cta:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.marko-dorna-navbar .mobile-toggle {
  display: none;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.marko-dorna-navbar .mobile-menu {
  display: none;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.marko-dorna-navbar .mobile-menu.open {
  display: block;
}

.marko-dorna-navbar .mobile-menu .mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px;
  list-style: none;
}

.marko-dorna-navbar .mobile-menu .mobile-links a {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.marko-dorna-navbar .mobile-menu .mobile-links a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .marko-dorna-navbar .nav-links,
  .marko-dorna-navbar .nav-cta {
    display: none;
  }
  .marko-dorna-navbar .mobile-toggle {
    display: block;
  }
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section .bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  width: 100%;
  height: 100%;
}

.hero-section .content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}

.hero-section .pre-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-section .pre-title .line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.hero-section .pre-title span {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-section .title-words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  overflow: hidden;
}

.hero-section .title-word {
  display: inline-block;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(120px) rotateX(-80deg);
  animation: wordReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-section .title-word.accent {
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.hero-section .title-word.gold-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.hero-section .subtitle {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.hero-section .subtitle .highlight {
  color: var(--gold);
}

.hero-section .cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.btn-primary {
  position: relative;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-primary .btn-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary .hover-fill {
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.btn-primary:hover .hover-fill {
  transform: translateX(0);
}

.btn-outline {
  padding: 16px 32px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
}

.hero-section .scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s 2s forwards;
}

.hero-section .scroll-indicator span {
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-section .scroll-indicator .chevron {
  color: var(--gold);
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ═══════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════ */
.marquee-section {
  padding: 32px 0;
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-track .item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 16px;
}

.marquee-track .item span {
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.marquee-track .item svg {
  color: var(--gold);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════ */
.about-section {
  position: relative;
  padding: 128px 24px;
}

.about-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

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

@media (min-width: 1024px) {
  .about-section .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 32px;
}

.about-section .description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.stat-card {
  padding: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.3s;
}

.stat-card:hover {
  scale: 1.05;
  border-color: rgba(212, 168, 67, 0.4);
  background: var(--bg-elevated);
}

.stat-card .number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.stat-card:hover .label {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════
   WORK / PROJECTS SECTION
   ═══════════════════════════════════════════════ */
.work-section {
  position: relative;
  padding: 128px 24px;
}

.work-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.work-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 64px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s;
}

.project-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

.project-card .image-area {
  position: relative;
  height: 256px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .project-card .image-area {
    height: 280px;
  }
}

.project-card .image-area .bg-fill {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-card .image-area .gradient-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.project-card .image-area .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 67, 0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.5s;
}

.project-card:hover .image-area .shimmer {
  opacity: 1;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.project-card .image-area .project-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border-color);
  line-height: 1;
  transition: color 0.5s;
}

.project-card:hover .image-area .project-number {
  color: rgba(212, 168, 67, 0.1);
}

.project-card .image-area .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212, 168, 67, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .image-area .hover-overlay {
  opacity: 1;
}

.project-card .image-area .hover-overlay .icon-circle {
  width: 64px;
  height: 64px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.4s;
}

.project-card:hover .image-area .hover-overlay .icon-circle {
  transform: scale(1) rotate(0);
}

.project-card .image-area .hover-overlay .icon-circle svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.project-card .card-body {
  padding: 24px;
}

@media (min-width: 640px) {
  .project-card .card-body {
    padding: 32px;
  }
}

.project-card .category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
  color: var(--gold);
}

.project-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.project-card:hover h3 {
  color: var(--gold);
}

.project-card .description {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.project-card .tag {
  padding: 4px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.3s;
}

.project-card:hover .tag {
  border-color: rgba(212, 168, 67, 0.2);
  color: var(--gold);
}

.project-card .bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  width: 0;
  transition: width 0.4s;
}

.project-card:hover .bottom-line {
  width: 100%;
}

/* ═══════════════════════════════════════════════
   SKILLS SECTION
   ═══════════════════════════════════════════════ */
.skills-section {
  position: relative;
  padding: 128px 24px;
  background: var(--bg-section);
}

.skills-section .container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.skills-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 64px;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.skill-category {
  padding: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.5s;
}

.skill-category:hover {
  border-color: rgba(212, 168, 67, 0.2);
}

.skill-category .icon {
  color: var(--gold);
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.skill-category:hover .icon {
  transform: scale(1.1);
}

.skill-category h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  transition: color 0.3s;
}

.skill-category:hover h3 {
  color: var(--gold);
}

.skill-item {
  margin-bottom: 20px;
}

.skill-item .skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-item .skill-name {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.skill-item .skill-level {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: var(--font-mono);
}

.skill-item .bar {
  height: 2px;
  background: var(--border-color);
  border-radius: 999px;
  overflow: hidden;
}

.skill-item .bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-item .bar-fill.animated {
  /* width set via inline style */
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════ */
.testimonials-section {
  position: relative;
  padding: 128px 24px;
}

.testimonials-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 64px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.testimonial-card {
  padding: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  position: relative;
  transition: all 0.5s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 67, 0.2);
}

.testimonial-card .quote-mark {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: rgba(212, 168, 67, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
  transition: color 0.3s;
}

.testimonial-card:hover .quote-mark {
  color: rgba(212, 168, 67, 0.3);
}

.testimonial-card .text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card .role {
  color: var(--gold);
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════ */
.contact-section {
  position: relative;
  padding: 128px 24px;
  background: var(--bg-section);
}

.contact-section .container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-section .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 1024px) {
  .contact-section .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-section .description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}

.social-link:hover {
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px) scale(1.1);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 168, 67, 0.5);
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.contact-form .submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  font-family: var(--font-sans);
}

.contact-form .submit-btn:hover {
  background: var(--gold-light);
  transform: scale(1.02);
}

.contact-form .submit-btn:active {
  transform: scale(0.98);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.marko-dorna-footer {
  border-top: 1px solid var(--border-color);
}

/* ── Footer Widgets ── */
.footer-widgets {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 40px;
}

.footer-widgets__inner {
  display: grid;
  gap: 40px;
}

.footer-widgets--cols-1 .footer-widgets__inner { grid-template-columns: 1fr; }
.footer-widgets--cols-2 .footer-widgets__inner { grid-template-columns: repeat(2, 1fr); }
.footer-widgets--cols-3 .footer-widgets__inner { grid-template-columns: repeat(3, 1fr); }
.footer-widgets--cols-4 .footer-widgets__inner { grid-template-columns: repeat(4, 1fr); }

.footer-widget {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-widget__title {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

/* Widget list styling */
.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
  padding: 0;
}

.footer-widget ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-widget ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-widget ul li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
  display: inline-block;
}

.footer-widget ul li a:hover::before {
  width: 12px;
}

/* Widget text/paragraph */
.footer-widget p {
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Widget search */
.footer-widget .search-form {
  display: flex;
  gap: 0;
  margin-top: 8px;
}

.footer-widget .search-form label {
  flex: 1;
}

.footer-widget .search-form .search-field {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.3s;
}

.footer-widget .search-form .search-field:focus {
  border-color: var(--gold);
}

.footer-widget .search-form .search-submit {
  padding: 10px 16px;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0 8px 8px 0;
  color: var(--bg-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: opacity 0.3s;
}

.footer-widget .search-form .search-submit:hover {
  opacity: 0.85;
}

/* Widget calendar */
.footer-widget .calendar_wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
}

.footer-widget .calendar_wrap table {
  width: 100%;
  border-collapse: collapse;
}

.footer-widget .calendar_wrap caption {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-widget .calendar_wrap th,
.footer-widget .calendar_wrap td {
  padding: 6px 4px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-widget .calendar_wrap th {
  color: var(--gold);
  font-weight: 600;
}

.footer-widget .calendar_wrap td a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-widget .calendar_wrap #today {
  background: var(--gold);
  color: var(--bg-dark);
  border-radius: 4px;
  font-weight: 600;
}

/* Widget tag cloud */
.footer-widget .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.footer-widget .tagcloud a {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 20px;
  color: var(--gold);
  font-size: 0.75rem !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-widget .tagcloud a:hover {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.3);
}

/* Widget recent posts / recent comments */
.footer-widget .recent-posts__item,
.footer-widget .recentcomments {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.footer-widget .recent-posts__item:last-child,
.footer-widget .recentcomments:last-child {
  border-bottom: none;
}

/* Widget categories */
.footer-widget .cat-item {
  padding: 6px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.5);
}

.footer-widget .cat-item:last-child {
  border-bottom: none;
}

/* Widget custom HTML */
.footer-widget .custom-html-widget {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ── Footer Bottom Bar ── */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 28px 32px;
}

.footer-bottom__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-bottom__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-bottom__designer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .footer-bottom__brand {
    align-items: flex-start;
  }
}

.footer-bottom__logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.footer-bottom__copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Footer nav links */
.footer-bottom__nav {
  flex-shrink: 0;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom__links li a {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Footer social links */
.footer-bottom__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom__social-link {
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom__social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ═══════════════════════════════════════════════
   HEADER LOGO IMAGE
   ═══════════════════════════════════════════════ */
.header-logo-img {
  height: 36px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
  object-fit: contain;
}

.logo .brand-name-text {
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════
   PROJECT CARD LINK (clickable cards)
   ═══════════════════════════════════════════════ */
.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card-link:hover .project-card {
  border-color: rgba(212, 168, 67, 0.3);
}

.project-card-link:hover .hover-overlay {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   SECTION BUTTONS
   ═══════════════════════════════════════════════ */
.section-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-btn.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  padding: 12px 28px;
  border-radius: 0px;
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.section-btn.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
  transform: translateY(-2px);
}

.section-btn.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 0px;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
}

.section-btn.btn-outline:hover {
  background: rgba(212, 168, 67, 0.1);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   SHARED SINGLE / PAGE LAYOUT
   ═══════════════════════════════════════════════ */

/* ── Containers ── */
.marko-single__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.marko-single__container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.marko-single__container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Back Link ── */
.marko-single__back {
  padding-top: 110px;
  padding-bottom: 8px;
}

.marko-single__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.marko-single__back-link:hover {
  color: var(--gold);
}

/* ── Hero Section ── */
.marko-single__hero {
  padding: 32px 0 48px;
  position: relative;
}

.marko-single__hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── Category Badges ── */
.marko-single__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.marko-single__cat-badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  --badge-color: var(--gold);
  border-color: var(--badge-color);
  color: var(--badge-color);
}

.marko-single__cat-badge:hover {
  background: rgba(212, 168, 67, 0.1);
}

/* ── Title ── */
.marko-single__title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* ── Meta Bar ── */
.marko-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 8px;
}

.marko-single__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.marko-single__meta-item svg {
  opacity: 0.5;
}

.marko-single__meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-color);
}

/* ── Featured Image ── */
.marko-single__thumbnail {
  padding: 0 0 56px;
}

.marko-single__thumbnail-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 168, 67, 0.03);
}

.marko-single__thumbnail-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

/* ── Content Body ── */
.marko-single__content {
  padding: 0 0 60px;
}

.marko-single__body {
  color: var(--text-primary);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.marko-single__body h1,
.marko-single__body h2,
.marko-single__body h3,
.marko-single__body h4 {
  margin-top: 2.5em;
  margin-bottom: 0.6em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.marko-single__body h2 {
  font-size: 1.625rem;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border-color);
}

.marko-single__body h3 {
  font-size: 1.25rem;
}

.marko-single__body p {
  margin-bottom: 1.5em;
}

.marko-single__body ul,
.marko-single__body ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.marko-single__body li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.marko-single__body img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  border: 1px solid var(--border-color);
}

.marko-single__body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1em 1.5em;
  margin: 2em 0;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(212, 168, 67, 0.03);
  border-radius: 0 8px 8px 0;
}

.marko-single__body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 168, 67, 0.3);
  transition: text-decoration-color 0.3s;
}

.marko-single__body a:hover {
  text-decoration-color: var(--gold);
}

.marko-single__body code {
  font-family: var(--font-mono);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.875em;
  color: var(--gold-light);
}

.marko-single__body pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 2em 0;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.7;
}

.marko-single__body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-primary);
}

.marko-single__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.marko-single__body th,
.marko-single__body td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.marko-single__body th {
  background: var(--bg-elevated);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

/* ── Page Links (multi-page) ── */
.marko-single__page-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

.marko-single__page-links a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 4px;
  padding: 4px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s;
}

.marko-single__page-links a:hover {
  background: rgba(212, 168, 67, 0.08);
  border-color: var(--gold);
}

/* ── Tags ── */
.marko-single__tags {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.marko-single__tags-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding-top: 6px;
  white-space: nowrap;
}

.marko-single__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marko-single__tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 20px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.marko-single__tag:hover {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.3);
}

/* ── Project-specific Tags ── */
.marko-single__project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.marko-single__project-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  --tag-color: var(--gold);
  color: var(--tag-color);
  border-color: rgba(212, 168, 67, 0.15);
  background: rgba(212, 168, 67, 0.06);
}

.marko-single__project-link {
  margin-top: 8px;
}

/* ── Post Navigation ── */
.marko-single__nav {
  padding: 48px 0 80px;
}

.marko-single__nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.marko-single__nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 40%;
}

.marko-single__nav-item--prev {
  text-align: left;
}

.marko-single__nav-item--next {
  text-align: right;
  margin-left: auto;
}

.marko-single__nav-dir {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.marko-single__nav-item--next .marko-single__nav-dir {
  justify-content: flex-end;
}

.marko-single__nav-item:hover .marko-single__nav-dir {
  opacity: 1;
}

.marko-single__nav-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s;
  line-height: 1.4;
}

.marko-single__nav-item:hover .marko-single__nav-title {
  color: var(--text-primary);
}

.marko-single__nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.marko-single__nav-home:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.08);
}

/* ═══════════════════════════════════════════════
   PAGE TEMPLATE — Additional Styles
   ═══════════════════════════════════════════════ */

/* Page label badge with icon */
.marko-page__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.marko-page__label svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* Page hero — slightly different accent than blog post */
.marko-page__hero {
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.02) 0%, transparent 100%);
}

.marko-page__title {
  position: relative;
}

/* Page meta */
.marko-page__meta {
  margin-top: 4px;
}

/* Footer bar — share & edit */
.marko-page__footer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.marko-page__edit-link,
.marko-page__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.marko-page__edit-link:hover,
.marko-page__share-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
}

/* Related pages */
.marko-page__related {
  padding: 0 0 80px;
}

.marko-page__related-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.marko-page__related-line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.marko-page__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.marko-page__related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.marko-page__related-card:hover {
  border-color: var(--gold);
  color: var(--text-primary);
  background: rgba(212, 168, 67, 0.03);
}

.marko-page__related-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.marko-page__related-card svg {
  flex-shrink: 0;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.marko-page__related-card:hover svg {
  opacity: 1;
  color: var(--gold);
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════
   BLOG PAGE (Posts Listing) — Refactored
   ═══════════════════════════════════════════════ */

/* ── Blog Header ── */
.blog-header {
  padding: 0 0 20px;
}

.blog-header__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.blog-header__subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 600px;
  line-height: 1.6;
}

/* ── Blog Posts Section ── */
.blog-posts {
  padding: 40px 0 80px;
}

/* ── Blog Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* ── Blog Card ── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 168, 67, 0.04);
}

.blog-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Card Image */
.blog-card__image {
  overflow: hidden;
  height: 220px;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

/* Card Placeholder (no image) */
.blog-card__placeholder {
  height: 220px;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.1), rgba(212, 168, 67, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Content */
.blog-card__content {
  padding: 24px;
}

.blog-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.blog-card__cat {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--gold-light);
}

.blog-card__excerpt {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.blog-card__date {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.blog-card__read-more {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.blog-card:hover .blog-card__read-more {
  gap: 8px;
}

/* ── Blog Empty State ── */
.blog-empty {
  text-align: center;
  padding: 80px 0;
}

.blog-empty__text {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* ── Blog Pagination ── */
.blog-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.blog-pagination .page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
}

.blog-pagination .page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
}

.blog-pagination .page-numbers.dots {
  border: none;
  color: var(--text-muted);
  min-width: auto;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  padding: 0 16px;
}

.blog-pagination__btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════
   GLOBAL BASE IMPROVEMENTS
   ═══════════════════════════════════════════════ */

/* Prevent horizontal overflow on all inner pages */
.marko-single,
.blog-page {
  overflow-x: hidden;
}

/* Ensure images are responsive inside content */
.marko-single__body img {
  max-width: 100%;
  height: auto;
}

/* WordPress gallery grid */
.marko-single__body .gallery {
  display: grid;
  gap: 12px;
  margin: 2em 0;
}

.marko-single__body .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.marko-single__body .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.marko-single__body .gallery-columns-4 { grid-template-columns: repeat(2, 1fr); }

.marko-single__body .gallery-item {
  margin: 0;
}

.marko-single__body .gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0;
}

/* WordPress caption */
.marko-single__body .wp-caption {
  max-width: 100%;
  margin: 2em 0;
}

.marko-single__body .wp-caption-text {
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-align: center;
  padding: 8px 0 0;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET / DESKTOP BREAKPOINTS
   (Mobile styles are in assets/css/mobile.css)
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .marko-single__container,
  .marko-single__container--wide,
  .marko-single__container--narrow {
    padding: 0 24px;
  }

  .marko-single__thumbnail-img {
    max-height: 420px;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }

  .marko-page__related-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* ═══════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════ */
@media print {
  .marko-single__back,
  .marko-single__nav,
  .marko-page__footer-bar,
  .marko-page__related,
  .blog-pagination,
  .marko-dorna-navbar,
  .marko-dorna-footer {
    display: none !important;
  }

  .marko-single__container,
  .marko-single__container--wide,
  .marko-single__container--narrow {
    max-width: 100%;
    padding: 0;
  }

  body {
    background: #fff;
    color: #000;
  }

  .marko-single__body a {
    color: #000;
    text-decoration: underline;
  }

  .marko-single__thumbnail-img {
    max-height: none;
    border: 1px solid #ddd;
  }
}
