/* ============================================
   QasrPress — Main Stylesheet v1.0.0
   Compiled CSS replacing Tailwind CDN
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  --color-marble: #FAFAFA;
  --color-alabaster: #F3F4F6;
  --color-ink: #111827;
  --color-graphite: #4B5563;
  --color-lapis: #1E3A8A;
  --color-terracotta: #9A3412;
  --color-gold: #B48E4B;
  --font-heading: 'Tiro Bangla', serif;
  --font-body: 'Hind Siliguri', sans-serif;
  --max-w: 80rem; /* 1280px */
  --transition-base: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--color-marble);
  color: var(--color-ink);
  font-size: 1.125rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* --- Selection --- */
::selection { background: var(--color-lapis); color: var(--color-marble); }

/* --- Islamic Background Pattern --- */
.bg-islamic-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23111827' stroke-width='1' fill='none' stroke-opacity='0.04'%3E%3Ccircle cx='0' cy='0' r='40'/%3E%3Ccircle cx='80' cy='0' r='40'/%3E%3Ccircle cx='0' cy='80' r='40'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='40' cy='40' r='40'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}
.bg-islamic-pattern-light {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23FAFAFA' stroke-width='1' fill='none' stroke-opacity='0.05'%3E%3Ccircle cx='0' cy='0' r='40'/%3E%3Ccircle cx='80' cy='0' r='40'/%3E%3Ccircle cx='0' cy='80' r='40'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='40' cy='40' r='40'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

/* --- Typography --- */
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

/* --- Drop Cap --- */
.drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 0.8;
  padding-top: 0.2rem;
  padding-right: 0.5rem;
  color: var(--color-lapis);
}

/* --- Arch Image Container --- */
.arch-image-container {
  border-radius: 50% 50% 0 0 / 15% 15% 0 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

/* --- Fade-Up Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Spin Slow (Islamic Pattern) --- */
@keyframes spin-slow { 100% { transform: rotate(360deg); } }
.islamic-anim-pattern { animation: spin-slow 80s linear infinite; }

/* --- Hover Underline --- */
.hover-underline { position: relative; }
.hover-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.hover-underline:hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* --- Layout Utilities --- */
.container { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-sm { max-width: 56rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }

/* --- Flexbox --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-10 > * + * { margin-left: 2.5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* --- Grid --- */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.gap-x-8 { column-gap: 2rem; }
.gap-x-12 { column-gap: 3rem; }
.gap-y-16 { row-gap: 4rem; }

/* --- Sizing --- */
.w-full { width: 100%; }
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.h-full { height: 100%; }
.h-24 { height: 6rem; }
.min-h-screen { min-height: 100vh; }
.aspect-3-4 { aspect-ratio: 3/4; }
.aspect-4-3 { aspect-ratio: 4/3; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.shrink-0 { flex-shrink: 0; }

/* --- Spacing --- */
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-32 { padding-top: 8rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Typography Utilities --- */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Color Utilities --- */
.text-ink { color: var(--color-ink); }
.text-marble { color: var(--color-marble); }
.text-graphite { color: var(--color-graphite); }
.text-lapis { color: var(--color-lapis); }
.text-terracotta { color: var(--color-terracotta); }
.text-gold-50 { color: rgba(180, 142, 75, 0.5); }
.bg-ink { background-color: var(--color-ink); }
.bg-marble { background-color: var(--color-marble); }
.bg-alabaster { background-color: var(--color-alabaster); }
.bg-white-85 { background-color: rgba(255,255,255,0.85); }
.bg-white-50 { background-color: rgba(255,255,255,0.5); }
.bg-alabaster-85 { background-color: rgba(243,244,246,0.85); }
.bg-lapis { background-color: var(--color-lapis); }
.bg-transparent { background-color: transparent; }
.bg-gradient-to-b-alabaster { background: linear-gradient(to bottom, var(--color-alabaster), #ffffff); }
.border-ink-5 { border-color: rgba(17,24,39,0.05); }
.border-ink-10 { border-color: rgba(17,24,39,0.1); }
.border-ink-20 { border-color: rgba(17,24,39,0.2); }
.border-graphite-20 { border-color: rgba(75,85,99,0.2); }
.border-graphite-40 { border-color: rgba(75,85,99,0.4); }
.text-graphite-70 { color: rgba(75,85,99,0.7); }

/* --- Positioning --- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* --- Display --- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }

/* --- Sizing & Sizing Utilities --- */
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.max-w-sm { max-width: 24rem; }

/* --- Visual --- */
.overflow-hidden { overflow: hidden; }
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid; }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pointer-events-none { pointer-events: none; }
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }
.resize-none { resize: none; }
.opacity-5 { opacity: 0.05; }
.break-inside-avoid { break-inside: avoid; }

/* --- Masonry / Columns --- */
.columns-1 { column-count: 1; column-gap: 2rem; }
.columns-2 { column-count: 2; column-gap: 2rem; }
.columns-3 { column-count: 3; column-gap: 2rem; }
.md-columns-1 { column-count: 1; column-gap: 2rem; }
.md-columns-2 { column-count: 1; column-gap: 2rem; }
.md-columns-3 { column-count: 1; column-gap: 2rem; }
.lg-columns-1 { column-count: 1; column-gap: 2rem; }
.lg-columns-2 { column-count: 1; column-gap: 2rem; }
.lg-columns-3 { column-count: 1; column-gap: 2rem; }
@media (min-width: 768px) {
  .md-columns-2 { column-count: 2; }
  .md-columns-3 { column-count: 2; }
  .lg-columns-2 { column-count: 2; }
  .lg-columns-3 { column-count: 2; }
}
@media (min-width: 1024px) {
  .lg-columns-2 { column-count: 2; }
  .lg-columns-3 { column-count: 3; }
}

/* --- Quote Cards --- */
.quote-card {
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
}

.quote-card-classic {
  background-color: var(--color-marble);
  border-left: 4px solid var(--color-lapis);
  color: var(--color-graphite);
  padding: 2rem;
  border-radius: 0 1rem 1rem 0;
}
.quote-card-classic .quote-text { color: var(--color-ink); }

.quote-text p {
  margin-bottom: 0;
}

.hover-shadow-up:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  transform: translateY(-4px);
}

/* --- Image Filters --- */
.filter-grayscale { filter: grayscale(100%); }
.filter-grayscale-contrast { filter: grayscale(100%) contrast(1.25); opacity: 0.8; }
.object-cover { object-fit: cover; }

/* --- Transitions --- */
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 0.3s; transition-timing-function: ease; }
.transition-all { transition-property: all; transition-duration: 0.3s; transition-timing-function: ease; }
.duration-300 { transition-duration: 0.3s; }
.duration-700 { transition-duration: 0.7s; }
.duration-1000 { transition-duration: 1s; }

/* --- Navbar --- */
.navbar { background-color: rgba(250,250,250,0.9); z-index: 60; }
.navbar-inner { padding-top: 1rem; padding-bottom: 1rem; }
.navbar.scrolled .navbar-inner { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* --- Group Hover --- */
.group:hover .group-hover-lapis { color: var(--color-lapis); }
.group:hover .group-hover-terracotta { color: var(--color-terracotta); }
.group:hover .group-hover-translate-x-left { transform: translateX(-0.25rem); }
.group:hover .group-hover-scale { transform: scale(1.05); }
.group:hover .group-hover-ungrayscale { filter: grayscale(0); }
.group:hover .group-hover-bg-lapis { background-color: var(--color-lapis); }

/* --- Hover Utilities --- */
.hover-text-ink:hover { color: var(--color-ink); }
.hover-text-lapis:hover { color: var(--color-lapis); }
.hover-text-white:hover { color: #ffffff; }
.hover-text-marble:hover { color: var(--color-marble); }
.hover-bg-lapis:hover { background-color: var(--color-lapis); }
.hover-border-lapis:hover { border-color: var(--color-lapis); }
.hover-border-graphite-40:hover { border-color: rgba(75,85,99,0.4); }

/* --- Footer Widgets --- */
.footer-widgets-area .widget-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-marble);
  margin-bottom: 1.5rem;
}
.footer-widgets-area a {
  color: var(--color-graphite);
  transition: color 0.3s;
}
.footer-widgets-area a:hover {
  color: var(--color-lapis);
}
.footer-widgets-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-widgets-area li {
  margin-bottom: 0.75rem;
}

/* --- Form Floating Labels --- */
.form-field { position: relative; }
.form-input {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(75,85,99,0.4);
  padding: 0.75rem 0;
  color: var(--color-marble);
  font-family: var(--font-body);
  font-size: 1.125rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus { border-bottom-color: var(--color-marble); }
.form-label {
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--color-graphite);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
  pointer-events: none;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -1.5rem;
  font-size: 0.875rem;
  color: var(--color-marble);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background-color: var(--color-ink);
  color: var(--color-marble);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  transition: background-color 0.3s;
}
.btn-primary:hover { background-color: var(--color-lapis); }
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-marble);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}
.btn-submit:hover { background-color: var(--color-lapis); color: var(--color-marble); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Spinner animation (shared by homepage + contact page) */
@keyframes qp-spin { to { transform: rotate(360deg); } }
.btn-spinner { animation: qp-spin 0.8s linear infinite; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--color-ink);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  transition: background-color 0.3s, color 0.3s;
}
.btn-outline:hover { background-color: var(--color-ink); color: var(--color-marble); }

/* --- Hero Background SVG --- */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  right: -10%;
  opacity: 0.03;
  pointer-events: none;
}
.hero-bg-pattern svg { width: 90vw; height: 90vw; }

/* --- Contact Form Messages --- */
.qp-form-message {
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
}
.qp-form-message.success { color: #22c55e; border: 1px solid #22c55e; }
.qp-form-message.error { color: #ef4444; border: 1px solid #ef4444; }

/* --- WordPress Core Alignment --- */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--color-graphite); margin-top: 0.5rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* --- Article Prose Styling --- */
.article-content p {
  margin-bottom: 1.75rem;
  line-height: 1.9;
  color: var(--color-graphite);
  font-size: 1.125rem;
  text-align: justify;
  text-justify: inter-word;
}
@media (min-width: 768px) {
  .article-content p { font-size: 1.25rem; }
}
.article-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-ink);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-content blockquote {
  border-left: 4px solid var(--color-lapis);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-ink);
  font-style: italic;
  background: linear-gradient(to right, rgba(30, 58, 138, 0.03), transparent);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.article-content ul, .article-content ol { margin-left: 1.5rem; margin-bottom: 1.75rem; color: var(--color-graphite); }
.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }
.article-content li { margin-bottom: 0.75rem; font-size: 1.125rem; line-height: 1.8; }
@media (min-width: 768px) {
  .article-content li { font-size: 1.25rem; }
}
.article-content a { color: var(--color-lapis); text-decoration: underline; }
.article-content img { margin: 2rem auto; border-radius: 0; max-width: 100%; height: auto; }
.article-content .wp-caption { max-width: 100%; margin: 2rem auto; text-align: center; }
.article-content .wp-caption-text { font-size: 0.875rem; color: var(--color-graphite); margin-top: 0.5rem; font-style: italic; }

/* --- Pagination --- */
.pagination, .qasrpress-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span, .qasrpress-pagination a, .qasrpress-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; background-color: var(--color-marble);
  border: 1px solid rgba(17,24,39,0.2); color: var(--color-graphite);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.pagination a:hover, .qasrpress-pagination a:hover {
  border-color: var(--color-ink); color: var(--color-ink);
}
.pagination .current, .qasrpress-pagination .current {
  background-color: var(--color-ink); border-color: var(--color-ink); color: var(--color-marble);
}
.pagination .dots, .qasrpress-pagination .dots {
  border: none; background: transparent; width: auto;
}

/* --- 404 & Search --- */
.error-404-wrap, .search-wrap { text-align: center; padding: 6rem 1.5rem; }
.search-form-inline { display: flex; max-width: 28rem; margin: 0 auto; }
.search-form-inline input[type="search"] {
  flex: 1; padding: 0.75rem 1rem; border: 1px solid rgba(17,24,39,0.2);
  font-family: var(--font-body); font-size: 1rem; outline: none;
}
.search-form-inline button { padding: 0.75rem 1.5rem; background-color: var(--color-ink); color: var(--color-marble); font-family: var(--font-body); font-weight: 600; }

/* --- Breadcrumb --- */
.breadcrumb { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-graphite); margin-bottom: 2rem; }
.breadcrumb a { color: var(--color-lapis); }
.breadcrumb .separator { margin: 0 0.5rem; }

/* --- Comments --- */
.comment-list { list-style: none; }
.comment-body { padding: 1.5rem 0; border-bottom: 1px solid rgba(17,24,39,0.1); }
.comment-author { font-family: var(--font-heading); font-weight: 700; color: var(--color-ink); }
.comment-meta { font-size: 0.875rem; color: var(--color-graphite); margin-bottom: 0.5rem; }
.comment-content { font-family: var(--font-body); color: var(--color-graphite); }
.comment-respond { margin-top: 2rem; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 0.75rem; border: 1px solid rgba(17,24,39,0.2);
  font-family: var(--font-body); font-size: 1rem; margin-bottom: 1rem;
}
.comment-form input[type="submit"] {
  width: auto; background-color: var(--color-ink); color: var(--color-marble);
  padding: 0.75rem 2rem; border: none; font-weight: 600; cursor: pointer;
}

/* --- Admin Messages Table --- */
.qp-admin-messages th, .qp-admin-messages td { padding: 0.5rem 1rem; text-align: left; }
.qp-unread { font-weight: bold; }

/* ============================================
   Responsive Breakpoints
   ============================================ */
/* --- Nav Menu List Items --- */
.nav-desktop {
  gap: 2.5rem;
}
.nav-desktop .menu-item { display: block; }
.nav-desktop .menu-item a { display: inline-block; }
.nav-mobile .menu-item { display: block; text-align: center; }
.nav-mobile .menu-item a { display: block; transition: color 0.3s; }
.nav-mobile .menu-item a:hover { color: var(--color-ink); }

@media (min-width: 768px) {
  .md-flex { display: flex; }
  .md-hidden { display: none; }
  .md-block { display: block; }
  .md-flex-row { flex-direction: row; }
  .md-items-start { align-items: flex-start; }
  .md-text-left { text-align: left; }
  .md-text-right { text-align: right; }
  .md-w-3-5 { width: 60%; }
  .md-w-2-5 { width: 40%; }
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md-p-12 { padding: 3rem; }
  .md-p-16 { padding: 4rem; }
  .md-px-16 { padding-left: 4rem; padding-right: 4rem; }
  .md-py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md-items-center { align-items: center; }
  .md-items-start { align-items: flex-start; }
  .md-w-auto { width: auto; }
  .md-w-56 { width: 14rem; }
  .md-ml-6 { margin-left: 1.5rem; }
  .md-pl-10 { padding-left: 2.5rem; }
  .md-text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md-text-5xl { font-size: 3rem; line-height: 1.15; }
  .md-text-7xl { font-size: 4.5rem; line-height: 1.1; }
  .md-text-xl { font-size: 1.25rem; }
  .md-text-2xl { font-size: 1.5rem; }
  .md-aspect-21-9 { aspect-ratio: 21/9; }
  .md-py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .hero-content { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-text { width: 60%; }
  .hero-image { display: block; width: 40%; }
  .hero-title { font-size: 4.5rem; line-height: 1.1; }
  .blog-header { flex-direction: row; }
  .footer-inner { flex-direction: row; }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  /* Nav menu items hover underline */
  .nav-desktop .menu-item a {
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s;
  }
  .nav-desktop .menu-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  .nav-desktop .menu-item a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  .nav-desktop .menu-item a:hover { color: var(--color-ink); }
}

@media (min-width: 1024px) {
  .lg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
  .lg-col-span-4 { grid-column: span 4; }
  .lg-col-span-8 { grid-column: span 8; }
  .lg-gap-24 { gap: 6rem; }
  .lg-p-12 { padding: 3rem; }
  .lg-px-20 { padding-left: 5rem; padding-right: 5rem; }
  .lg-px-24 { padding-left: 6rem; padding-right: 6rem; }
  .lg-w-42 { width: 42%; }
  .lg-w-58 { width: 58%; }
  .lg-w-64 { width: 16rem; }
  .lg-flex-row { flex-direction: row; }
  .hero-title, .lg-text-hero { font-size: 6rem; line-height: 1.05; }
}

/* Rounded avatar */
.rounded-full { border-radius: 9999px; }
