@charset "UTF-8";
:root,
body.theme-active.theme-sepia,
body.theme-active.theme-current {
  --bg-primary: #f4efe7;
  --bg-section: #ebe5d9;
  --bg-card: #fffbf5;
  --bg-dark: #3d3428;
  --text-primary: #2c2418;
  --text-secondary: #5a4a38;
  --text-muted: #7a6b58;
  --text-light: #f4efe7;
  --gold: #996d1f;
  --gold-light: #b8862a;
  --gold-dark: #7a5616;
  --border-gold: rgba(153, 109, 31, 0.5);
  --red: #8b1a1a;
  --burgundy: #6b1818;
  --border: #d4cbbe;
}

body.theme-active.theme-dark {
  --bg-primary: #1a1510;
  --bg-section: #2c2416;
  --bg-card: #3d3428;
  --bg-dark: #0d0a08;
  --text-primary: #e6e0d4;
  --text-secondary: #c9c0b0;
  --text-muted: #a39888;
  --text-light: #f4efe7;
  --gold: #c9a227;
  --gold-light: #e0b835;
  --gold-dark: #b89120;
  --border-gold: rgba(201, 162, 39, 0.5);
  --red: #d13333;
  --burgundy: #a02828;
  --border: #4d4538;
}

body.theme-active.theme-light {
  --bg-primary: #ffffff;
  --bg-section: #f8f8f8;
  --bg-card: #fcfcfc;
  --bg-dark: #2c2418;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #7a7a7a;
  --text-light: #f4efe7;
  --gold: #b8860b;
  --gold-light: #daa520;
  --gold-dark: #996d1f;
  --border-gold: rgba(184, 134, 11, 0.5);
  --red: #a02020;
  --burgundy: #801818;
  --border: #e0e0e0;
}

body.theme-active.theme-warm {
  --bg-primary: #fff9f0;
  --bg-section: #fff0db;
  --bg-card: #fffbf7;
  --bg-dark: #4d3820;
  --text-primary: #3d2817;
  --text-secondary: #6d4a2f;
  --text-muted: #8d6a4f;
  --text-light: #fff9f0;
  --gold: #d4a855;
  --gold-light: #e5bc6d;
  --gold-dark: #b89248;
  --border-gold: rgba(212, 168, 85, 0.5);
  --red: #c83737;
  --burgundy: #a02828;
  --border: #e8dac8;
}

body.theme-active.theme-studenica {
  --bg-primary: #e8e4de;
  --bg-section: #d8d0c8;
  --bg-card: #f2efe9;
  --bg-dark: #3a3530;
  --text-primary: #2a2520;
  --text-secondary: #4a4238;
  --text-muted: #6a5e52;
  --text-light: #e8e4de;
  --gold: #a88850;
  --gold-light: #c0a068;
  --gold-dark: #907040;
  --border-gold: rgba(168, 136, 80, 0.5);
  --red: #962828;
  --burgundy: #782020;
  --border: #c8beb0;
}

body.theme-active.theme-studenica-img {
  --bg-primary: #d8d4ce;
  --bg-section: #c8c0b8;
  --bg-card: #e2dfd9;
  --bg-dark: #2a2520;
  --text-primary: #1a1510;
  --text-secondary: #3a3228;
  --text-muted: #5a4e42;
  --text-light: #d8d4ce;
  --gold: #987840;
  --gold-light: #b09058;
  --gold-dark: #806030;
  --border-gold: rgba(152, 120, 64, 0.5);
  --red: #862020;
  --burgundy: #681818;
  --border: #b8aea0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperTexture'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperTexture)' opacity='0.03'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='stainFilter'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.015' numOctaves='3' seed='5'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.6 0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23stainFilter)' opacity='0.02'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  margin: 0;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  color: var(--gold-light);
}

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

.btn, .btn-gold-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  line-height: 1.4;
}

.btn-sm {
  font-size: 0.78rem;
  padding: 7px 18px;
}

.btn-lg, .btn-gold-hero {
  font-size: 1rem;
  padding: 14px 36px;
}

.btn-gold {
  background: var(--gold-dark);
  color: #fff;
  border: 1px solid var(--gold-dark);
}
.btn-gold:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
}
.btn-outline:hover {
  background: rgba(153, 109, 31, 0.1);
  border-color: var(--gold);
}

.btn-red {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.btn-red:hover {
  opacity: 0.9;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  color: var(--gold);
}

.btn-danger {
  background: #dc2626;
  color: #fff;
  border: 1px solid #b91c1c;
}
.btn-danger:hover {
  background: #b91c1c;
  border-color: #991b1b;
}

.btn:disabled, .btn-gold-hero:disabled,
.btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.badge, .badge-draft, .badge-published {
  display: inline-block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  line-height: 1.3;
}

.badge-gold {
  background: rgba(153, 109, 31, 0.15);
  color: var(--gold-dark);
}

.badge-red {
  background: rgba(139, 26, 26, 0.12);
  color: var(--red);
}

.badge-muted {
  background: var(--bg-section);
  color: var(--text-muted);
}

.category-tag {
  display: inline-block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 3px;
  background: rgba(153, 109, 31, 0.1);
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s;
}
.category-tag:hover {
  background: rgba(153, 109, 31, 0.2);
}

.counter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
}

.card-image {
  aspect-ratio: 16/10;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.card-body {
  padding: 18px;
}

.card-date {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.3;
}

.card-text {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.6;
}

.card-link {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  text-decoration: none;
}
.card-link:hover {
  color: var(--gold-light);
}

.card-cta {
  text-align: center;
  padding: 30px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 8px;
}
.card-cta h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  color: var(--gold-dark);
  margin: 0 0 8px;
}
.card-cta p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 15px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  max-width: 400px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-input::placeholder,
.form-textarea::placeholder,
.form-select::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  appearance: none;
  padding-right: 35px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%237a6b58' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-check input {
  accent-color: var(--gold-dark);
}

.form-error {
  border-color: var(--red) !important;
}

.form-error-text {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: var(--red);
  margin-top: 4px;
}

.form-success {
  border-color: #2d7a2d !important;
}

.search-box {
  display: flex;
  max-width: 400px;
}
.search-box .form-input {
  border-radius: 4px 0 0 4px;
  border-right: none;
  max-width: none;
}
.search-box .btn, .search-box .btn-gold-hero {
  border-radius: 0 4px 4px 0;
}

.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert svg {
  flex-shrink: 0;
}

.alert-success {
  background: rgba(45, 122, 45, 0.1);
  border: 1px solid rgba(45, 122, 45, 0.3);
  color: #2d5a2d;
}

.alert-error {
  background: rgba(180, 40, 40, 0.1);
  border: 1px solid rgba(180, 40, 40, 0.3);
  color: #8a3030;
}

.alert-warning {
  background: rgba(180, 140, 20, 0.1);
  border: 1px solid rgba(180, 140, 20, 0.3);
  color: #7a6010;
}

.alert-info {
  background: rgba(30, 100, 160, 0.1);
  border: 1px solid rgba(30, 100, 160, 0.3);
  color: #1e5a8a;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 10px 0;
}
.breadcrumbs a {
  color: var(--gold);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--gold-light);
}
.breadcrumbs .sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.pagination {
  display: inline-flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  transition: all 0.2s;
}
.pagination li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pagination li.active span {
  background: var(--gold-dark);
  color: #fff;
  border-color: var(--gold-dark);
}
.pagination li.disabled span {
  opacity: 0.3;
  cursor: not-allowed;
}

.list-demo {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0;
  padding-left: 20px;
}
.list-demo li {
  margin-bottom: 8px;
}
.list-demo li:last-child {
  margin-bottom: 0;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.icon-list li:last-child {
  margin-bottom: 0;
}
.icon-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold-dark);
}

.def-list {
  font-family: "Source Serif 4", Georgia, serif;
  margin: 0;
}
.def-list dt {
  font-weight: 600;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  margin-top: 16px;
}
.def-list dt:first-child {
  margin-top: 0;
}
.def-list dd {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 0 20px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
}

.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
}
.sg-table thead {
  background: var(--bg-section);
  border-bottom: 2px solid var(--border);
}
.sg-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sg-table td {
  padding: 12px 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.sg-table tbody tr {
  transition: background 0.15s;
}
.sg-table tbody tr:hover {
  background: var(--bg-section);
}
.sg-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 768px) {
  .sg-table th, .sg-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

.divider-simple {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.divider-gold {
  height: 2px;
  margin: 20px 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0;
  gap: 0;
}
.ornamental-divider.small {
  margin: 15px 0;
}
.ornamental-divider .divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.ornamental-divider .divider-line:last-child {
  background: linear-gradient(270deg, transparent, var(--gold-dark));
}
.ornamental-divider .divider-symbol {
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold-dark);
  transform: rotate(45deg);
  margin: 0 12px;
  flex-shrink: 0;
}

.divider-diamond {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gold-dark);
  margin: 20px 0;
  letter-spacing: 12px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1;
  display: block;
}

.divider-diamond-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0;
  gap: 0;
}
.divider-diamond-lines .divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.divider-diamond-lines .divider-line:last-of-type {
  background: linear-gradient(270deg, transparent, var(--gold-dark));
}
.divider-diamond-lines .divider-diamonds {
  font-size: 0.7rem;
  color: var(--gold-dark);
  letter-spacing: 8px;
  padding: 0 20px;
  flex-shrink: 0;
  line-height: 1;
}

.otd-demo-section {
  background: var(--bg-section);
  padding: 60px 20px;
}

.otd-decorative-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
}
.otd-decorative-header::before, .otd-decorative-header::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.6));
}
.otd-decorative-header::before {
  right: 50%;
  margin-right: 30px;
  transform: scaleX(-1);
}
.otd-decorative-header::after {
  left: 50%;
  margin-left: 30px;
}
.otd-decorative-header .star {
  color: var(--gold);
  font-size: 1.5rem;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.6));
}

.otd-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 40px 0;
}
.otd-title .otd-title-date {
  color: #7a5616;
  font-style: italic;
}

.otd-parchment {
  background: linear-gradient(135deg, #e8dcc2 0%, #d6c6a3 50%, #c9b48b 100%), url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
  border: 1px solid rgba(90, 74, 56, 0.3);
  border-radius: 8px;
  padding: 40px 50px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  max-width: 1400px;
  margin: 0 auto;
}

.otd-inner-grid {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) {
  .otd-inner-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.otd-events {
  min-height: 400px;
}

.otd-parchment.is-empty {
  padding: 32px 40px;
}
.otd-parchment.is-empty .otd-inner-grid {
  display: block;
}
.otd-parchment.is-empty .otd-events {
  min-height: 0;
}
.otd-parchment.is-empty .otd-sidebar {
  display: none;
}

.otd-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 16px;
  gap: 12px;
}
.otd-empty-state .otd-empty-icon {
  font-size: 2.5rem;
  line-height: 1;
  opacity: 0.7;
}
.otd-empty-state .otd-empty-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary, #2c2418);
  margin: 0;
}
.otd-empty-state .otd-empty-body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  color: var(--text-secondary, #5a4a38);
  margin: 0;
  font-style: italic;
}
.otd-empty-state .otd-empty-actions {
  margin-top: 4px;
}

.otd-sidebar {
  position: sticky;
  top: 30px;
  align-self: start;
}
@media (max-width: 1024px) {
  .otd-sidebar {
    position: relative;
    top: 0;
  }
}

.otd-event-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(90, 74, 56, 0.25);
}
.otd-event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.otd-event-item:first-child {
  padding-top: 0;
}

.otd-year {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #7a1f1f;
  line-height: 1;
}

.otd-event-content h2, .otd-event-content h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2b1f14;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.otd-event-content p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  color: #5a4a38;
  margin: 0 0 10px 0;
  line-height: 1.6;
}
.otd-event-content a {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.85rem;
  color: #7a1f1f;
  font-style: italic;
  text-decoration: none;
}
.otd-event-content a:hover {
  text-decoration: underline;
}

.otd-calendar {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f0e8d8 0%, #e0d5c0 50%, #d6c8b0 100%), url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  border: 1px solid rgba(90, 74, 56, 0.25);
  border-radius: 12px;
  overflow: visible;
  text-align: center;
  transform: rotate(-3deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 5px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
}
.otd-calendar::before, .otd-calendar::after {
  content: "";
  position: absolute;
  border-radius: 12px;
  border: 1px solid rgba(90, 74, 56, 0.2);
  z-index: -1;
}
.otd-calendar::before {
  top: 5px;
  right: -5px;
  width: 97%;
  height: 100%;
  background: linear-gradient(135deg, #e0d5c0 0%, #d0c4a8 100%), url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise2'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise2)' opacity='0.08'/%3E%3C/svg%3E");
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.otd-calendar::after {
  top: 10px;
  right: -10px;
  width: 94%;
  height: 100%;
  background: linear-gradient(135deg, #d0c4a8 0%, #c0b498 100%), url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise3'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise3)' opacity='0.08'/%3E%3C/svg%3E");
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.otd-calendar .otd-cal-header {
  background: linear-gradient(180deg, #9d2b2b 0%, #7a1f1f 100%);
  padding: 10px 12px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.otd-calendar .otd-cal-month {
  padding: 12px 10px 8px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1rem;
  color: #5a4a38;
  font-style: italic;
  text-transform: lowercase;
}
.otd-calendar .otd-cal-day {
  padding: 10px 10px 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5rem;
  font-weight: 900;
  color: #7a1f1f;
  line-height: 0.9;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.otd-calendar .otd-cal-bottom {
  padding: 14px 16px;
  border-top: 1px solid rgba(90, 74, 56, 0.2);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.8rem;
  color: #5a4a38;
  line-height: 1.3;
}

.otd-footer-btn {
  text-align: center;
  margin-top: 40px;
}
.otd-footer-btn .btn-parchment-demo {
  display: inline-block;
  padding: 16px 60px;
  background: linear-gradient(135deg, #e8dcc2 0%, #d6c6a3 100%), url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='btnNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23btnNoise)' opacity='0.15'/%3E%3C/svg%3E");
  border: 2px solid rgba(90, 74, 56, 0.5);
  border-radius: 8px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2b1f14;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.otd-footer-btn .btn-parchment-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.sg-subsection-title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 30px 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sg-subsection-wrapper {
  max-width: 700px;
  margin-bottom: 20px;
}

.sg-row-center {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.sg-narrow {
  max-width: 500px;
}

.sg-medium {
  max-width: 400px;
}

.sg-small {
  max-width: 300px;
}

.sg-flex-demo {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.grid-demo-container {
  margin-bottom: 30px;
}

.grid-demo {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.grid-demo-1 {
  grid-template-columns: 1fr;
}
.grid-demo-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-demo-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.grid-demo-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.grid-demo-sidebar {
  grid-template-columns: 1fr 280px;
}
@media (max-width: 768px) {
  .grid-demo-3, .grid-demo-4, .grid-demo-sidebar {
    grid-template-columns: 1fr;
  }
}

.grid-demo-box {
  background: var(--gold);
  color: var(--text-light);
  padding: 20px;
  text-align: center;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid var(--gold-dark);
}

.spacing-scale {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spacing-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.spacing-item span {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 50px;
}

.spacing-bar {
  background: var(--gold);
  border-radius: 3px;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--gold-dark);
}
.spacing-bar-4 {
  height: 4px;
}
.spacing-bar-8 {
  height: 8px;
}
.spacing-bar-12 {
  height: 12px;
}
.spacing-bar-16 {
  height: 16px;
}
.spacing-bar-20 {
  height: 20px;
}
.spacing-bar-24 {
  height: 24px;
}
.spacing-bar-30 {
  height: 30px;
}
.spacing-bar-40 {
  height: 40px;
}
.spacing-bar-50 {
  height: 50px;
}
.spacing-bar-64 {
  height: 64px;
}

.sg-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.comp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.comp-header h4 {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.comp-body {
  padding: 24px 20px;
  background: var(--bg-primary);
}
.comp-body h3 {
  margin: 0 0 12px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}
.comp-body p {
  margin: 0 0 16px 0;
  line-height: 1.6;
  color: var(--text-secondary);
}

.mini-btn {
  display: inline-block;
  padding: 6px 14px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.comparison-card.theme-active.theme-sepia,
.comparison-card.theme-active.theme-current {
  --bg-primary: #f4efe7;
  --bg-section: #ebe5d9;
  --bg-card: #fffbf5;
  --text-primary: #2c2418;
  --text-secondary: #5a4a38;
  --gold: #996d1f;
  --gold-dark: #7a5616;
  --border: #d4cbbe;
}

.comparison-card.theme-active.theme-dark {
  --bg-primary: #1a1510;
  --bg-section: #2c2416;
  --bg-card: #3d3428;
  --text-primary: #e6e0d4;
  --text-secondary: #c9c0b0;
  --gold: #c9a227;
  --gold-dark: #b89120;
  --border: #4d4538;
}

.comparison-card.theme-active.theme-light {
  --bg-primary: #ffffff;
  --bg-section: #f8f8f8;
  --bg-card: #fcfcfc;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --gold: #b8860b;
  --gold-dark: #996d1f;
  --border: #e0e0e0;
}

.comparison-card.theme-active.theme-warm {
  --bg-primary: #fff9f0;
  --bg-section: #fff0db;
  --bg-card: #fffbf7;
  --text-primary: #3d2817;
  --text-secondary: #6d4a2f;
  --gold: #d4a855;
  --gold-dark: #b89248;
  --border: #e8dac8;
}

.comparison-card.theme-active.theme-studenica {
  --bg-primary: #e8e4de;
  --bg-section: #d8d0c8;
  --bg-card: #f2efe9;
  --text-primary: #2a2520;
  --text-secondary: #4a4238;
  --gold: #a88850;
  --gold-dark: #907040;
  --border: #c8beb0;
}

.comparison-card.theme-active.theme-studenica-img {
  --bg-primary: #d8d4ce;
  --bg-section: #c8c0b8;
  --bg-card: #e2dfd9;
  --text-primary: #1a1510;
  --text-secondary: #3a3228;
  --gold: #987840;
  --gold-dark: #806430;
  --border: #b8b0a8;
}

.sg-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.comment {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 12px;
  position: relative;
}
.comment--deleted {
  opacity: 0.6;
}
.comment--reply {
  border-left: 3px solid var(--gold);
  margin-top: 12px;
}

.comment-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid var(--border-gold);
}
.comment-avatar--reply {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}

.comment-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.comment-body {
  flex: 1;
  min-width: 0;
}

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

.comment-author {
  font-weight: 600;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.comment-edited-badge,
.comment-pending-badge {
  font-size: 0.75rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 2px 8px;
  border-radius: 3px;
  font-style: italic;
}

.comment-edited-badge {
  background: rgba(153, 109, 31, 0.15);
  color: #7a5616;
}

.comment-pending-badge {
  background: rgba(139, 26, 26, 0.1);
  color: #8b1a1a;
}

.comment-content {
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
}

.comment-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.comment-action-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
  color: var(--text-muted);
}
.comment-action-btn:hover {
  background: var(--bg-section);
  color: var(--text-primary);
}
.comment-action-btn--danger {
  color: #8b1a1a;
}
.comment-action-btn--danger:hover {
  background: rgba(139, 26, 26, 0.1);
  border-color: #8b1a1a;
}

.comment-replies {
  margin-top: 15px;
  padding-left: 20px;
}

.comment--reply {
  border-left: 3px solid #996d1f;
  margin-top: 12px;
}

.comment--deleted {
  opacity: 0.6;
}

.comments-login-cta {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-section);
  border: 1px dashed var(--border);
  border-radius: 8px;
}
.comments-login-cta p {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--text-secondary);
  margin: 0 0 15px;
}

.comment-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-primary);
  resize: vertical;
}
.comment-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-char-counter {
  text-align: right;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}
.comment-char-counter span {
  font-weight: 600;
  color: var(--text-secondary);
}

.comment-edit-form {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-section);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.comment-edit-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.comment-edit-cancel {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.comment-edit-cancel:hover {
  background: var(--bg-section);
  border-color: var(--text-secondary);
}

.delete-dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.delete-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.comment-delete-dialog {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}
.comment-delete-dialog__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 50%;
}
.comment-delete-dialog__icon svg {
  color: #dc2626;
}
.comment-delete-dialog__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}
.comment-delete-dialog__text {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px 0;
}
.comment-delete-dialog__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.comment-delete-dialog__actions .btn, .comment-delete-dialog__actions .btn-gold-hero {
  min-width: 120px;
}

.comments-section {
  padding: 48px 0 32px;
  background: var(--bg-section);
}

.comments-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0 0 32px 0;
}

.comments-empty {
  color: var(--text-muted);
  font-style: italic;
  padding: 24px 0;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment-form-wrapper {
  padding: 40px 0;
  background: var(--bg-primary);
}
.comment-form-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.comment-form-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.comment-reply-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(153, 109, 31, 0.08);
  border: 1px solid rgba(153, 109, 31, 0.5);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-secondary);
}

.comment-cancel-reply {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0 4px;
  margin-left: auto;
}
.comment-cancel-reply:hover {
  color: var(--text-primary);
}

.comment-login-cta {
  padding: 32px 0;
  text-align: center;
  color: var(--text-secondary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
.comment-login-cta a {
  color: var(--gold);
  font-weight: 600;
}
.comment-login-cta a:hover {
  color: var(--gold-light);
}

.comment-honeypot-field {
  display: none !important;
  visibility: hidden;
}

.loading-container {
  padding: 20px;
  text-align: center;
  color: #8a7e6e;
}

.loading-spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.donate-thanks-box {
  margin-top: 48px;
  padding: 32px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  text-align: center;
}
.donate-thanks-box .thanks-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.donate-thanks-box .thanks-subtitle {
  margin: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 15px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 239, 231, 0.9) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.site-header.over-hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  border-bottom: none;
  box-shadow: none;
}
.site-header.over-hero nav a {
  color: rgba(255, 255, 255, 0.85);
}
.site-header.over-hero nav a:hover {
  color: var(--gold-light);
}
.site-header.over-hero .nav-divider {
  color: rgba(255, 255, 255, 0.4);
}
.site-header.over-hero .lang-link.active {
  color: var(--gold-light);
}
.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .mobile-header-actions {
  display: none;
}
.site-header .site-logo .logo-img {
  height: 35px;
  width: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header nav a {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-header nav a:hover {
  color: var(--gold-dark);
}
.site-header nav .nav-search {
  display: inline-flex;
  align-items: center;
  text-transform: none;
}
.site-header nav .nav-search svg {
  display: block;
}
.site-header nav .nav-divider {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.75rem;
}
.site-header nav .lang-link {
  font-size: 0.75rem;
  padding: 0;
  text-transform: uppercase;
}
.site-header nav .lang-link.active {
  color: #7a5616;
  font-weight: 600;
}
.site-header nav .theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.875rem;
  transition: all 0.2s;
}
.site-header nav .theme-toggle:hover {
  color: var(--gold-light);
  transform: scale(1.1);
}
.site-header nav .theme-toggle .theme-icon {
  transition: opacity 0.2s;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 80px 0;
  overflow: hidden;
  background-color: #000;
  text-align: center;
}
.hero .hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 24px;
}
.hero .hero-title {
  position: relative;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin: 0 0 30px 0;
  padding-bottom: 30px;
  line-height: 1;
  color: #e6e0d4;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}
.hero .hero-title .highlight {
  color: #8b1a1a;
}
.hero .hero-title .domain {
  font-size: 0.55em;
  color: rgba(230, 224, 212, 0.7);
  font-weight: 600;
}
.hero .hero-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 224, 212, 0.3), transparent);
}
.hero .hero-tagline {
  position: relative;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 50px 0;
  letter-spacing: 1px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
  padding: 0 60px;
}
.hero .hero-tagline::before, .hero .hero-tagline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #996d1f, transparent);
}
.hero .hero-tagline::before {
  left: 0;
}
.hero .hero-tagline::after {
  right: 0;
}
.hero .hero-cta {
  margin-top: 20px;
}

.btn-gold-hero {
  background: var(--gold-dark);
  color: var(--text-light);
  border: 3px solid var(--border-gold);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  padding: 16px 60px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-gold-hero:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #2c2418;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d4cbbe;
  display: inline-block;
}
.section-title .date-highlight {
  color: #996d1f;
}

.decorative-line {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7a5616, transparent);
  margin-bottom: 30px;
}
.decorative-line::before {
  content: "◆ ◆ ◆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ebe5d9;
  padding: 0 20px;
  color: #7a5616;
  font-size: 0.75rem;
  letter-spacing: 8px;
}

.section-header {
  position: relative;
  margin-bottom: 40px;
}
.section-header .section-title-large {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0;
  text-align: left;
  letter-spacing: 0.5px;
}

.categories-intro-section {
  padding: 0 0 20px;
}
.categories-intro-section .categories-intro-text {
  max-width: 780px;
  margin: 0 auto;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #5a4a38;
  text-align: center;
}

.categories-section {
  padding: 20px 0 50px;
}

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

.category-card {
  text-align: center;
}
.category-card .category-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #d4cbbe;
  background: #fffbf5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card .category-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.category-card .category-image-wrapper:hover img {
  transform: scale(1.05);
}
.category-card .category-image-wrapper .category-count-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.category-card h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 6px;
}
.category-card h3 a {
  color: inherit;
}
.category-card h3 a:hover {
  color: #996d1f;
}
.category-card .category-description {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: #7a6b58;
  margin: 0;
  line-height: 1.4;
}

.categories-footer {
  text-align: center;
}

.articles-hero {
  padding: 100px 0 40px;
  text-align: center;
  background: #ebe5d9;
}
.articles-hero .articles-hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}
.articles-hero .articles-hero-subtitle {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  color: #5a4a38;
  margin: 0 0 20px 0;
  font-style: italic;
}
.articles-hero .articles-count {
  display: inline-block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: #7a5616;
  background: rgba(153, 109, 31, 0.1);
  border: 1px solid rgba(153, 109, 31, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: 0.02em;
}

.articles-filter {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.articles-filter .articles-filter-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.articles-filter .filter-label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: #7a6b58;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
  white-space: nowrap;
}
.articles-filter .filter-pill {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: #5a4a38;
  background: transparent;
  border: 1px solid #d4cbbe;
  border-radius: 20px;
  padding: 4px 12px;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.articles-filter .filter-pill:hover {
  border-color: #996d1f;
  color: #7a5616;
  background: rgba(153, 109, 31, 0.06);
}
.articles-filter .filter-pill.active {
  background: #996d1f;
  border-color: #996d1f;
  color: #fff;
}

.articles-section {
  padding: 50px 0;
}

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

.article-card {
  background: #fffbf5;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #d4cbbe;
}
.article-card .card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #fffbf5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.article-card:hover .card-image img {
  transform: scale(1.05);
}
.article-card .card-content {
  padding: 15px;
}
.article-card .article-date {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: #7a6b58;
  margin-bottom: 8px;
}
.article-card h2, .article-card h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.article-card h2 a, .article-card h3 a {
  color: #2c2418;
}
.article-card h2 a:hover, .article-card h3 a:hover {
  color: #996d1f;
}
.article-card .article-excerpt {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.8125rem;
  color: #5a4a38;
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: #7a5616;
  text-decoration: none;
  font-weight: 500;
}
.article-card .read-more:hover {
  color: #996d1f;
}
.article-card .read-more::after {
  content: "→";
  font-style: normal;
}

.site-footer {
  background: var(--bg-section);
  padding: 50px 0 25px;
  border-top: 2px solid var(--border);
  margin-top: 40px;
}
.site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.site-footer .footer-brand .footer-logo-img {
  height: 50px;
  margin-bottom: 10px;
}
.site-footer .footer-brand p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  max-width: 250px;
  margin: 0;
}
.site-footer .footer-brand .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .footer-brand .footer-social-link:hover {
  color: var(--gold);
}
.site-footer .footer-links {
  display: flex;
  gap: 40px;
}
.site-footer .footer-links .link-group h4 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 12px;
  font-weight: 600;
}
.site-footer .footer-links .link-group a {
  display: block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.site-footer .footer-links .link-group a:hover {
  color: var(--gold-dark);
}
.site-footer .copyright {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.article-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 120px 0 60px;
  text-align: center;
  background: #3d3428;
}
.article-hero.has-image {
  min-height: 500px;
}
.article-hero.has-image .article-hero-content {
  position: relative;
  z-index: 2;
}

.article-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 50%, rgb(18, 18, 18) 100%);
}

.article-hero-content {
  width: 100%;
}

.article-year {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: #8b1a1a;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .article-year {
    font-size: 3rem;
  }
}

.article-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #e6d8b8;
  margin: 20px auto 0;
  max-width: 900px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .article-title {
    font-size: 1.75rem;
  }
}

.article-meta-section {
  padding: 30px 0;
  background: #ebe5d9;
  border-bottom: 1px solid #d4cbbe;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .article-meta-bar {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5a4a38;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
}
.meta-item svg {
  color: #996d1f;
  flex-shrink: 0;
}

.meta-categories {
  flex-wrap: wrap;
}
.meta-categories .category-tag {
  background: rgba(153, 109, 31, 0.15);
  color: #996d1f;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.meta-categories .category-tag:hover {
  background: rgba(153, 109, 31, 0.25);
}

.article-content-section {
  padding: 50px 0;
}

.article-parchment {
  background: linear-gradient(135deg, #e8dcc2 0%, #d6c6a3 50%, #c9b48b 100%), url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='parchmentNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23parchmentNoise)' opacity='0.15'/%3E%3C/svg%3E");
  border: 1px solid rgba(90, 74, 56, 0.3);
  border-radius: 6px;
  padding: 40px 50px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .article-parchment {
    padding: 25px 20px;
  }
}
.article-parchment .article-meta-bar {
  justify-content: flex-start;
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .article-parchment .article-meta-bar {
    justify-content: center;
  }
}
.article-parchment h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  color: #2b1f14;
  margin: 0 0 25px 0;
  font-weight: 600;
}
.article-parchment p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  color: #4a3f2f;
  line-height: 1.85;
  margin-bottom: 1.5em;
}
.article-parchment blockquote {
  border-left: 3px solid #6b1818;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  background: rgba(90, 74, 56, 0.1);
  font-style: italic;
  color: #5a4a38;
}
.article-parchment .ornamental-divider .divider-line {
  background: linear-gradient(90deg, transparent, #6b1818, transparent);
}
.article-parchment .ornamental-divider .divider-symbol {
  border-color: #6b1818;
}

.article-body {
  max-width: 100%;
  margin: 0 auto;
}

.article-summary {
  margin-bottom: 30px;
}
.article-summary p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #5a4a38;
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

.article-text {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  color: #4a3f2f;
  line-height: 1.85;
}
.article-text p {
  margin-bottom: 1.5em;
}
.article-text h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: #6b1818;
  margin: 2em 0 1em;
}
.article-text h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: #6b1818;
  margin: 1.5em 0 0.75em;
}
.article-text blockquote {
  border-left: 3px solid #6b1818;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  background: rgba(90, 74, 56, 0.1);
  font-style: italic;
  color: #5a4a38;
}
.article-text ul, .article-text ol {
  margin: 1em 0;
  padding-left: 1.5em;
}
.article-text ul li, .article-text ol li {
  margin-bottom: 0.5em;
}
.article-text a {
  color: #6b1818;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-text a:hover {
  color: #4a0f0f;
}
.article-text img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5em 0;
}

.article-sources {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(90, 74, 56, 0.3);
}
.article-sources h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b1818;
  margin: 0 0 20px 0;
}
.article-sources h3 svg {
  opacity: 0.8;
}
.article-sources .sources-list {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  color: #5a4a38;
  line-height: 1.8;
}
.article-sources .sources-list a {
  color: #6b1818;
  word-break: break-word;
}

.article-video {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(90, 74, 56, 0.3);
}
.article-video h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b1818;
  margin: 0 0 20px 0;
}
.article-video h3 svg {
  opacity: 0.8;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.article-gallery {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(90, 74, 56, 0.3);
}
.article-gallery h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b1818;
  margin: 0 0 20px 0;
}
.article-gallery h3 svg {
  opacity: 0.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3/2;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  padding: 15px;
  color: #2c2418;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-close::before, .lightbox-close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: white;
}
.lightbox-close::before {
  transform: rotate(45deg);
}
.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-nav.prev {
  left: 20px;
}
.lightbox-nav.next {
  right: 20px;
}
.lightbox-nav svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.related-articles-section {
  padding: 40px 0 60px;
  background: #ebe5d9;
  border-top: 1px solid #d4cbbe;
}
.related-articles-section .related-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #2c2418;
  text-align: center;
  margin: 30px 0;
}
.related-articles-section .articles-grid {
  max-width: 900px;
  margin: 0 auto;
}

.otd-hero {
  padding: 100px 0 40px;
  text-align: center;
  background: #ebe5d9;
}
.otd-hero .otd-label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #7a5616;
  margin: 0 0 10px 0;
}
.otd-hero .otd-date {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 12px 0;
}
.otd-hero .otd-hero-subtitle {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  color: #5a4a38;
  font-style: italic;
  margin: 0 0 18px 0;
}
.otd-hero .otd-hero-count {
  display: inline-block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: #7a5616;
  background: rgba(153, 109, 31, 0.1);
  border: 1px solid rgba(153, 109, 31, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 4px;
}
.otd-hero .ornamental-divider {
  margin-top: 28px;
}

.otd-day-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}
.otd-day-nav .day-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: #5a4a38;
  background: transparent;
  border: 1px solid #d4cbbe;
  border-radius: 20px;
  padding: 5px 14px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.otd-day-nav .day-nav-btn:hover {
  border-color: #996d1f;
  color: #7a5616;
  background: rgba(153, 109, 31, 0.06);
}
.otd-day-nav .day-nav-today {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: #7a6b58;
  padding: 5px 10px;
}

.otd-timeline-section {
  padding: 40px 0 60px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 100px;
}
@media (max-width: 768px) {
  .timeline {
    padding-left: 70px;
  }
}
@media (max-width: 480px) {
  .timeline {
    padding-left: 60px;
  }
}

.timeline-line {
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(153, 109, 31, 0.4), rgba(153, 109, 31, 0.4), transparent);
}
@media (max-width: 768px) {
  .timeline-line {
    left: 50px;
  }
}
@media (max-width: 480px) {
  .timeline-line {
    left: 40px;
  }
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: -100px;
  top: 0;
  width: 75px;
  text-align: right;
}
.timeline-year span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #8b1a1a;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
  .timeline-year {
    left: -70px;
    width: 55px;
  }
  .timeline-year span {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  .timeline-year {
    left: -60px;
    width: 45px;
  }
  .timeline-year span {
    font-size: 1rem;
  }
}

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #7a5616;
  border-radius: 50%;
  border: 2px solid #f4efe7;
  box-shadow: 0 0 0 3px rgba(153, 109, 31, 0.3);
}
@media (max-width: 768px) {
  .timeline-dot {
    left: -20px;
  }
}
@media (max-width: 480px) {
  .timeline-dot {
    left: -20px;
    width: 10px;
    height: 10px;
  }
}

.timeline-content {
  display: flex;
  gap: 20px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 6px;
  padding: 20px;
  margin-left: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
  border-color: rgba(122, 86, 22, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 600px) {
  .timeline-content {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    margin-left: 10px;
  }
}

.timeline-image {
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
}
.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.timeline-image:hover img {
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .timeline-image {
    width: 100%;
    height: 150px;
  }
}

.timeline-text {
  flex: 1;
}
.timeline-text h2, .timeline-text h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.timeline-text h2 a, .timeline-text h3 a {
  color: #2c2418;
  text-decoration: none;
  transition: color 0.2s ease;
}
.timeline-text h2 a:hover, .timeline-text h3 a:hover {
  color: #7a5616;
}
.timeline-text p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  color: #5a4a38;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.875rem;
  color: #996d1f;
  text-decoration: none;
  font-style: italic;
  transition: gap 0.2s ease;
}
.timeline-link svg {
  transition: transform 0.2s ease;
}
.timeline-link:hover {
  gap: 10px;
}
.timeline-link:hover svg {
  transform: translateX(3px);
}

.otd-no-events {
  text-align: center;
  padding: 60px 20px;
  max-width: 520px;
  margin: 0 auto;
}
.otd-no-events .no-events-icon {
  color: #7a5616;
  margin-bottom: 24px;
  opacity: 0.55;
}
.otd-no-events .no-events-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.375rem;
  color: #2c2418;
  margin: 0 0 12px 0;
}
.otd-no-events .no-events-body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #5a4a38;
  line-height: 1.65;
  margin: 0 0 28px 0;
}
.otd-no-events .no-events-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.otd-browse {
  padding: 20px 0 60px;
  text-align: center;
}
.otd-browse .browse-hint {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  color: #7a6b58;
  font-style: italic;
  margin: 20px 0 12px 0;
}
.otd-browse .browse-archive-link {
  display: inline-block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  color: #7a5616;
  font-weight: 500;
  text-decoration: none;
}
.otd-browse .browse-archive-link:hover {
  color: #996d1f;
}

.page-content {
  padding: 100px 0 50px;
}
.page-content .content-box {
  background: #ebe5d9;
  border: 1px solid #d4cbbe;
  border-radius: 5px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.page-content .content-box h1 {
  font-size: 1.75rem;
  color: #996d1f;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d4cbbe;
}
.page-content .content-box h2 {
  font-size: 1.25rem;
  color: #996d1f;
  margin: 30px 0 15px;
}
.page-content .content-box p {
  color: #5a4a38;
  margin-bottom: 15px;
}
.page-content .content-box ul {
  color: #5a4a38;
  padding-left: 20px;
}
.page-content .content-box ul li {
  margin-bottom: 8px;
}
.page-content .content-box strong {
  color: #996d1f;
}

.category-page {
  padding: 100px 0 50px;
}
.category-page .category-header {
  margin-bottom: 30px;
}
.category-page .category-header h1 {
  font-size: 1.75rem;
  color: #2c2418;
  padding-bottom: 10px;
  border-bottom: 1px solid #d4cbbe;
}
.category-page .category-header p {
  color: #5a4a38;
  margin-top: 10px;
}

.article-detail {
  background: #ebe5d9;
  border: 1px solid #d4cbbe;
  border-radius: 5px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.article-detail .article-meta {
  margin-bottom: 20px;
}
.article-detail .article-meta .event-date {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  color: #996d1f;
  font-weight: 600;
}
.article-detail .article-meta .categories {
  margin-top: 10px;
}
.article-detail .article-meta .categories a {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  background: rgba(201, 162, 39, 0.15);
  padding: 4px 10px;
  border-radius: 3px;
  margin-right: 5px;
}
.article-detail h1 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.article-detail .article-content {
  color: #5a4a38;
  line-height: 1.8;
}
.article-detail .article-content p {
  margin-bottom: 20px;
}
.article-detail .article-content h2 {
  color: #2c2418;
  margin: 30px 0 15px;
}
.article-detail .article-sources {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #d4cbbe;
}
.article-detail .article-sources h3 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #996d1f;
  margin-bottom: 10px;
}
.article-detail .article-sources div {
  color: #7a6b58;
  font-size: 0.875rem;
}

.search-form .search-input-group {
  display: flex;
  gap: 10px;
}
.search-form .search-input {
  flex: 1;
  padding: 12px 20px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #2c2418;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 3px;
}
.search-form .search-input:focus {
  outline: none;
  border-color: #996d1f;
}
.search-form .search-input::placeholder {
  color: #7a6b58;
}
.search-form .btn, .search-form .btn-gold-hero {
  white-space: nowrap;
}

.search-section {
  padding: 40px 0 60px;
}

.search-results-header {
  margin-bottom: 25px;
  text-align: center;
}
.search-results-header p {
  color: #5a4a38;
  margin: 5px 0;
}
.search-results-header p strong {
  color: #996d1f;
}
.search-results-header .results-count {
  color: #7a6b58;
  font-size: 0.9rem;
}

.article-list-summary {
  font-size: 0.875rem;
  color: #7a6b58;
  margin: 8px 0;
  line-height: 1.5;
}

.pagination-wrapper {
  margin-top: 40px;
  text-align: center;
}

.profile-section {
  padding: 40px 0;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 6px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8862a, #996d1f);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-avatar svg {
  color: #fff;
}

.profile-details {
  flex: 1;
}
.profile-details h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: #2c2418;
  margin: 0 0 4px;
}
.profile-details .profile-email {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  color: #5a4a38;
  margin: 0 0 4px;
}
.profile-details .profile-member-since {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: #7a6b58;
  margin: 0;
}

.profile-stats {
  text-align: center;
  flex-shrink: 0;
}
.profile-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-stats .stat-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #996d1f;
}
.profile-stats .stat-label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: #7a6b58;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-articles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #d4cbbe;
  border: 1px solid #d4cbbe;
  border-radius: 6px;
  overflow: hidden;
}

.profile-article-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fffbf5;
  gap: 16px;
}
.profile-article-row:hover {
  background: rgba(201, 162, 39, 0.03);
}

.profile-article-info {
  flex: 1;
  min-width: 0;
}
.profile-article-info h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  margin: 0 0 6px;
}
.profile-article-info h3 a {
  color: #2c2418;
  text-decoration: none;
}
.profile-article-info h3 a:hover {
  color: #996d1f;
}
.profile-article-info .profile-article-summary {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.875rem;
  color: #5a4a38;
  margin: 0 0 8px;
  line-height: 1.5;
}
.profile-article-info .profile-article-meta {
  display: flex;
  gap: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: #7a6b58;
}

.profile-article-status {
  flex-shrink: 0;
}

.badge-published {
  background: rgba(39, 137, 68, 0.1);
  color: #278944;
  border: 1px solid rgba(39, 137, 68, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-draft {
  background: rgba(201, 162, 39, 0.1);
  color: #7a5616;
  border: 1px solid rgba(201, 162, 39, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.profile-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 30px;
  border-bottom: 2px solid #d4cbbe;
  padding-bottom: 0;
}

.profile-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #7a6b58;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}
.profile-nav-tab svg {
  flex-shrink: 0;
}
.profile-nav-tab:hover {
  color: #2c2418;
}
.profile-nav-tab.active {
  color: #996d1f;
  border-bottom-color: #996d1f;
}

.profile-edit-card {
  margin-top: 30px;
  padding: 40px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 6px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.profile-edit-card .form-input,
.profile-edit-card .form-textarea,
.profile-edit-card .form-select,
.profile-edit-card .form-control,
.profile-edit-card input[type=text],
.profile-edit-card input[type=email],
.profile-edit-card input[type=password],
.profile-edit-card textarea,
.profile-edit-card select {
  max-width: 500px;
}
.profile-edit-card .form-group-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.profile-edit-card .form-group-checkbox .form-checkbox {
  width: auto;
  max-width: none;
  accent-color: var(--gold-dark);
  cursor: pointer;
}
.profile-edit-card .form-group-checkbox .form-checkbox-label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  margin-bottom: 0;
}
.profile-edit-card .form-group ul {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}
.profile-edit-card .form-group ul li {
  color: #c94444;
  font-size: 0.85rem;
}
.profile-edit-card .form-help {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}
.profile-edit-card .btn.btn-gold, .profile-edit-card .btn-gold.btn-gold-hero,
.profile-edit-card .btn.btn-parchment,
.profile-edit-card .btn-parchment.btn-gold-hero {
  width: auto;
  padding: 12px 40px;
  margin-top: 24px;
}

.profile-articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.profile-articles-header .section-title {
  margin-bottom: 0;
}
.profile-articles-header .btn, .profile-articles-header .btn-gold-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 6px;
}
.profile-empty svg {
  color: #7a6b58;
  margin-bottom: 16px;
}
.profile-empty p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1rem;
  color: #5a4a38;
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .on-this-day-box {
    grid-template-columns: 1fr;
  }
  .calendar-widget-new {
    max-width: 300px;
    margin: 30px auto 0;
  }
  .event-card {
    grid-template-columns: 60px 1fr;
    gap: 15px;
  }
  .event-card .event-year-big {
    font-size: 1.5rem;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.participate-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: #ebe5d9;
}
.participate-hero .participate-hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}
.participate-hero .participate-hero-subtitle {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  color: #5a4a38;
  margin: 0;
  font-style: italic;
}

.participate-intro {
  padding: 40px 0 60px;
}
.participate-intro .intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.participate-intro .intro-text p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  color: #5a4a38;
  line-height: 1.8;
  margin: 0;
}

.participate-contributions {
  padding: 40px 0 60px;
}

.contribution-card {
  display: flex;
  gap: 30px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.contribution-card .card-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  color: #7a5616;
}
.contribution-card .card-icon svg {
  width: 100%;
  height: 100%;
}
.contribution-card .card-content {
  flex: 1;
}
.contribution-card .card-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 15px 0;
}
.contribution-card .card-content p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #5a4a38;
  line-height: 1.7;
  margin: 0 0 12px 0;
}
.contribution-card .card-content p:last-child {
  margin-bottom: 0;
}
.contribution-card .card-content p strong {
  color: #7a5616;
}

.card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 25px 0;
}
.card-divider .divider-dot {
  width: 6px;
  height: 6px;
  background: #996d1f;
  border-radius: 50%;
  opacity: 0.6;
}

.participate-contact {
  padding: 60px 0;
  background: #ebe5d9;
  border-top: 2px solid #d4cbbe;
  margin-top: 40px;
}
.participate-contact .contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.participate-contact .contact-box h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 20px 0;
}
.participate-contact .contact-box .contact-trust-text {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #5a4a38;
  line-height: 1.7;
  margin: 0 0 30px 0;
}
.participate-contact .contact-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.participate-contact .contact-email {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #5a4a38;
}
.participate-contact .contact-email .email-label {
  margin-right: 8px;
}
.participate-contact .contact-email a {
  color: #7a5616;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.participate-contact .contact-email a:hover {
  color: #996d1f;
}
.participate-contact .btn-contact {
  display: inline-block;
  background: #8b1a1a;
  color: #fff;
  border: 1px solid #8b1a1a;
  padding: 14px 40px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.participate-contact .btn-contact:hover {
  background: #761616;
  box-shadow: 0 4px 12px rgba(139, 26, 26, 0.3);
}
.participate-contact .contact-form {
  margin-top: 30px;
}
.participate-contact .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .participate-contact .form-row {
    grid-template-columns: 1fr;
  }
}
.participate-contact .form-group {
  display: flex;
  flex-direction: column;
}
.participate-contact .form-group.full-width {
  margin-bottom: 20px;
}
.participate-contact .form-group label {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  color: #2c2418;
  margin-bottom: 8px;
  font-weight: 500;
}
.participate-contact .form-label {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  color: #2c2418;
  margin-bottom: 8px;
  font-weight: 500;
}
.participate-contact .form-input,
.participate-contact .form-select,
.participate-contact .form-textarea {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #2c2418;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 4px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.participate-contact .form-input::placeholder,
.participate-contact .form-select::placeholder,
.participate-contact .form-textarea::placeholder {
  color: #7a6b58;
}
.participate-contact .form-input:focus,
.participate-contact .form-select:focus,
.participate-contact .form-textarea:focus {
  outline: none;
  border-color: #7a5616;
  box-shadow: 0 0 0 2px rgba(153, 109, 31, 0.2);
}
.participate-contact .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23996d1f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}
.participate-contact .form-select option {
  background: #fffbf5;
  color: #2c2418;
}
.participate-contact .form-textarea {
  resize: vertical;
  min-height: 120px;
}
.participate-contact .form-submit {
  text-align: center;
  margin-top: 30px;
}
.participate-contact .contact-email-alternative {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #d4cbbe;
  text-align: center;
  font-size: 0.9rem;
  color: #7a6b58;
}
.participate-contact .contact-email-alternative a {
  color: #7a5616;
  margin-left: 8px;
}
.participate-contact .form-group ul {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}
.participate-contact .form-group ul li {
  color: #c94444;
  font-size: 0.85rem;
}
.participate-contact .contact-success {
  background: rgba(40, 120, 40, 0.1);
  border: 1px solid rgba(40, 120, 40, 0.3);
  border-radius: 6px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}
.participate-contact .contact-success .success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  color: #2a7a2a;
}
.participate-contact .contact-success .success-icon svg {
  width: 100%;
  height: 100%;
}
.participate-contact .contact-success h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: #2a6a2a;
  margin: 0 0 10px 0;
}
.participate-contact .contact-success p {
  color: #5a4a38;
  margin: 0;
}
.participate-contact .contact-error {
  background: rgba(180, 40, 40, 0.1);
  border: 1px solid rgba(180, 40, 40, 0.3);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.participate-contact .contact-error .error-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #b03030;
}
.participate-contact .contact-error .error-icon svg {
  width: 100%;
  height: 100%;
}
.participate-contact .contact-error p {
  color: #8a3030;
  margin: 0;
  text-align: left;
}
.participate-contact .hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.participate-support {
  padding-top: 0;
}

.participate-closing {
  padding: 60px 0 80px;
}
.participate-closing .closing-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.participate-closing .closing-text p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  color: #5a4a38;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .participate-hero {
    padding: 100px 0 40px;
  }
  .participate-hero .participate-hero-title {
    font-size: 2.25rem;
  }
  .participate-hero .participate-hero-subtitle {
    font-size: 1.125rem;
  }
  .contribution-card {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }
  .contribution-card .card-icon {
    width: 48px;
    height: 48px;
  }
  .contribution-card .card-content h3 {
    font-size: 1.25rem;
  }
  .participate-contact .btn-contact {
    padding: 12px 30px;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .profile-info {
    flex-direction: column;
    text-align: center;
  }
  .profile-article-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .profile-article-info .profile-article-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  .profile-nav {
    gap: 0;
  }
  .profile-nav-tab {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .profile-articles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .profile-edit-card {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
    padding: 0 0 60px 0;
  }
  .hero .hero-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  .hero .hero-tagline {
    font-size: 1.125rem;
    margin-bottom: 30px;
    padding: 0 40px;
  }
  .hero .hero-tagline::before, .hero .hero-tagline::after {
    width: 30px;
  }
  .btn-gold {
    padding: 14px 40px;
    font-size: 1.125rem;
  }
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .events-list .event-item {
    grid-template-columns: 50px 1fr;
  }
  .events-list .event-item .event-link {
    grid-column: 2;
    margin-top: 5px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: 20px;
  }
  .page-content .content-box,
  .article-detail {
    padding: 25px;
    margin: 0 10px;
  }
  .search-box {
    padding: 0 10px;
  }
  .search-form .search-input-group {
    flex-direction: column;
  }
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
  }
  .pagination li a, .pagination li span {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }
}
.donate-hero {
  padding: 120px 0 40px;
  text-align: center;
  background: #ebe5d9;
}
.donate-hero .donate-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 20px 0;
}
.donate-hero .donate-subtitle {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  color: #5a4a38;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.donate-form-section {
  padding: 40px 0 60px;
}
.donate-form-section .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .donate-form-section .container {
    grid-template-columns: 1fr;
  }
}

.donate-back-link {
  display: inline-block;
  font-size: 0.875rem;
  color: #7a6b58;
  text-decoration: none;
  margin-bottom: 20px;
}
.donate-back-link:hover {
  color: #7a5616;
}

.donate-impact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.donate-impact-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.975rem;
  color: #5a4a38;
  line-height: 1.6;
}
.donate-impact-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7a5616;
  font-weight: 600;
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.donate-box {
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 8px;
  padding: 30px;
}

.donation-form .form-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #d4cbbe;
}
.donation-form .form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.donation-form .form-section h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: #2c2418;
  margin: 0 0 10px 0;
}
.donation-form .form-section .form-hint {
  font-size: 0.9rem;
  color: #7a6b58;
  margin: 0 0 20px 0;
}
.donation-form .amount-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.donation-form .amount-option {
  flex: 1;
  min-width: 80px;
  position: relative;
  padding: 15px 20px;
  background: #ebe5d9;
  border: 2px solid #d4cbbe;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.donation-form .amount-option input[type=radio] {
  position: absolute;
  opacity: 0;
}
.donation-form .amount-option .amount-value {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c2418;
}
.donation-form .amount-option:hover {
  border-color: #996d1f;
}
.donation-form .amount-option.recommended {
  border-color: #996d1f;
}
.donation-form .amount-option:has(input:checked) {
  border-color: #7a5616;
  background: rgba(153, 109, 31, 0.1);
}
.donation-form .custom-amount-group label {
  display: block;
  font-size: 0.9rem;
  color: #5a4a38;
  margin-bottom: 8px;
}
.donation-form .input-with-suffix {
  position: relative;
  display: flex;
}
.donation-form .input-with-suffix .form-input {
  flex: 1;
  padding-right: 40px;
}
.donation-form .input-with-suffix .input-suffix {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a6b58;
  font-weight: 600;
}
.donation-form .form-group {
  margin-bottom: 20px;
}
.donation-form .form-group label {
  display: block;
  font-size: 0.9rem;
  color: #2c2418;
  margin-bottom: 8px;
  font-weight: 500;
}
.donation-form .form-input,
.donation-form .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #2c2418;
  background: #f4efe7;
  border: 1px solid #d4cbbe;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.donation-form .form-input:focus,
.donation-form .form-textarea:focus {
  outline: none;
  border-color: #7a5616;
}
.donation-form .form-input::placeholder,
.donation-form .form-textarea::placeholder {
  color: #7a6b58;
}
.donation-form .form-textarea {
  resize: vertical;
  min-height: 80px;
}
.donation-form .form-submit {
  text-align: center;
  padding-top: 20px;
}
.donation-form .btn-donate {
  display: inline-block;
  background: #8b1a1a;
  color: #fff;
  border: none;
  padding: 16px 50px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.donation-form .btn-donate:hover {
  background: #761616;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 26, 26, 0.3);
}
.donation-form .secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #7a6b58;
}
.donation-form .secure-note svg {
  opacity: 0.6;
}

.donate-why {
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 8px;
  padding: 25px;
}
.donate-why h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  color: #7a5616;
  margin: 0 0 15px 0;
}
.donate-why ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.donate-why ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #5a4a38;
  line-height: 1.5;
}
.donate-why ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7a5616;
}
.donate-why .donate-thanks {
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid #d4cbbe;
  font-size: 0.85rem;
  color: #7a6b58;
  line-height: 1.6;
  font-style: italic;
}

.donate-result,
.candle-result {
  padding: 120px 0 80px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.result-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 12px;
  padding: 50px 40px;
}
.result-box.success .result-icon {
  color: #2a7a2a;
}
.result-box.cancelled .result-icon {
  color: #7a6b58;
}
.result-box .result-icon {
  margin-bottom: 25px;
}
.result-box h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  color: #2c2418;
  margin: 0 0 15px 0;
}
.result-box .result-message {
  font-size: 1rem;
  color: #5a4a38;
  margin: 0 0 30px 0;
  line-height: 1.6;
}
.result-box .result-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.result-box .btn-primary,
.result-box .btn-secondary {
  padding: 12px 30px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.result-box .btn-primary {
  background: #8b1a1a;
  color: #fff;
}
.result-box .btn-primary:hover {
  background: #761616;
}
.result-box .btn-secondary {
  background: transparent;
  color: #5a4a38;
  border: 1px solid #d4cbbe;
}
.result-box .btn-secondary:hover {
  border-color: #7a5616;
  color: #7a5616;
}
.result-box .share-prompt {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #d4cbbe;
  font-size: 0.9rem;
  color: #7a6b58;
  font-style: italic;
}
.result-box .result-note {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #d4cbbe;
  font-size: 0.85rem;
  color: #7a6b58;
  line-height: 1.5;
}
.result-box .donation-details {
  margin-bottom: 25px;
}
.result-box .donation-details .donation-amount {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  color: #7a5616;
  margin: 0;
}
.result-box .donation-details .donation-name {
  color: #5a4a38;
  margin: 5px 0 0 0;
}

.candle-hero {
  padding: 120px 0 40px;
  text-align: center;
  background: #ebe5d9;
}
.candle-hero .candle-icon-large {
  color: #7a5616;
  margin-bottom: 20px;
}
.candle-hero .candle-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 15px 0;
}
.candle-hero .candle-subtitle {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  color: #5a4a38;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.candle-hero .candle-context {
  margin-top: 20px;
  padding: 12px 20px;
  background: rgba(153, 109, 31, 0.1);
  border-radius: 6px;
  display: inline-block;
  font-size: 0.95rem;
  color: #5a4a38;
}
.candle-hero .candle-context strong {
  color: #2c2418;
  margin-left: 5px;
}

.candle-form-section {
  padding: 40px 0 60px;
}
.candle-form-section .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .candle-form-section .container {
    grid-template-columns: 1fr;
  }
}

.candle-box {
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 8px;
  padding: 30px;
}

.candle-form .form-section {
  margin-bottom: 25px;
}
.candle-form .form-section h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  color: #2c2418;
  margin: 0 0 15px 0;
}
.candle-form .candle-amount-options {
  display: flex;
  gap: 12px;
}
@media (max-width: 500px) {
  .candle-form .candle-amount-options {
    flex-direction: column;
  }
}
.candle-form .candle-amount-option {
  flex: 1;
  position: relative;
  padding: 20px;
  background: #ebe5d9;
  border: 2px solid #d4cbbe;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.candle-form .candle-amount-option input[type=radio] {
  position: absolute;
  opacity: 0;
}
.candle-form .candle-amount-option .amount-value {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c2418;
}
.candle-form .candle-amount-option .recommended-badge {
  display: block;
  font-size: 0.75rem;
  color: #7a5616;
  margin-top: 5px;
}
.candle-form .candle-amount-option:hover {
  border-color: #996d1f;
}
.candle-form .candle-amount-option.recommended {
  border-color: #996d1f;
}
.candle-form .candle-amount-option:has(input:checked) {
  border-color: #7a5616;
  background: rgba(153, 109, 31, 0.1);
}
.candle-form .form-group {
  margin-bottom: 20px;
}
.candle-form .form-group label {
  display: block;
  font-size: 0.9rem;
  color: #2c2418;
  margin-bottom: 8px;
  font-weight: 500;
}
.candle-form .form-input,
.candle-form .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #2c2418;
  background: #f4efe7;
  border: 1px solid #d4cbbe;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.candle-form .form-input:focus,
.candle-form .form-textarea:focus {
  outline: none;
  border-color: #7a5616;
}
.candle-form .form-input::placeholder,
.candle-form .form-textarea::placeholder {
  color: #7a6b58;
}
.candle-form .form-textarea {
  resize: vertical;
  min-height: 80px;
}
.candle-form .char-counter {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: #7a6b58;
  margin-top: 5px;
}
.candle-form .checkbox-group {
  margin-top: 15px;
}
.candle-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #5a4a38;
}
.candle-form .checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #7a5616;
}
.candle-form .form-submit {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #d4cbbe;
  margin-top: 25px;
}
.candle-form .btn-candle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #7a5616;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.candle-form .btn-candle svg {
  fill: currentColor;
  stroke: currentColor;
}
.candle-form .btn-candle:hover {
  background: #996d1f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(153, 109, 31, 0.3);
}
.candle-form .secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #7a6b58;
}

.candle-info {
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 8px;
  padding: 25px;
}
.candle-info h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  color: #7a5616;
  margin: 0 0 15px 0;
}
.candle-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.candle-info ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #5a4a38;
  line-height: 1.5;
}
.candle-info ul li::before {
  content: "🕯️";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}
.candle-info .candle-wall-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 0.875rem;
  color: #7a5616;
  text-decoration: none;
}
.candle-info .candle-wall-link:hover {
  text-decoration: underline;
}

.candle-success .candle-animation {
  position: relative;
  margin-bottom: 25px;
}
.candle-success .candle-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}
.candle-success .candle-details {
  margin: 25px 0;
  padding: 20px;
  background: #ebe5d9;
  border-radius: 8px;
}
.candle-success .candle-details .candle-message {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  color: #2c2418;
  margin: 0 0 10px 0;
  line-height: 1.6;
}
.candle-success .candle-details .candle-author {
  color: #7a6b58;
  font-size: 0.9rem;
}

.candle-wall-hero {
  padding: 120px 0 50px;
  text-align: center;
  background: linear-gradient(180deg, #1a1510 0%, #f4efe7 100%);
}
.candle-wall-hero .wall-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #e6d8b8;
  margin: 0 0 15px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.candle-wall-hero .wall-subtitle {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  color: #d2c6a3;
  margin: 0 0 30px 0;
}
.candle-wall-hero .wall-stats {
  margin-bottom: 30px;
}
.candle-wall-hero .wall-stats .stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.candle-wall-hero .wall-stats .stat-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #996d1f;
}
.candle-wall-hero .wall-stats .stat-label {
  font-size: 0.9rem;
  color: #b8ae9c;
}
.candle-wall-hero .btn-light-candle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #7a5616;
  color: #fff;
  padding: 14px 35px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.candle-wall-hero .btn-light-candle:hover {
  background: #996d1f;
  transform: translateY(-2px);
}

.candle-wall-intro {
  padding: 0 0 32px;
}
.candle-wall-intro .candle-wall-intro-text {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #5a4a38;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.candle-wall-section {
  padding: 50px 0 80px;
}

.candles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.candle-card {
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.candle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.candle-card .candle-flame {
  margin-bottom: 15px;
}
.candle-card .candle-card-message {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #2c2418;
  line-height: 1.5;
  margin: 0 0 15px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.candle-card .candle-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #d4cbbe;
  font-size: 0.85rem;
  margin-top: auto;
}
.candle-card .candle-card-author {
  color: #2c2418;
  font-weight: 500;
}
.candle-card .candle-card-date {
  color: #7a6b58;
}
.candle-card .candle-card-context {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d4cbbe;
  font-size: 0.8rem;
  color: #7a5616;
  text-decoration: none;
}
.candle-card .candle-card-context:hover {
  text-decoration: underline;
}

.no-candles {
  text-align: center;
  padding: 60px 20px;
}
.no-candles .no-candles-icon {
  color: #7a6b58;
  opacity: 0.5;
  margin-bottom: 20px;
}
.no-candles p {
  font-size: 1.125rem;
  color: #7a6b58;
  margin: 0 0 25px 0;
}
.no-candles .btn-primary {
  display: inline-block;
  background: #7a5616;
  color: #fff;
  padding: 14px 35px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}
.no-candles .btn-primary:hover {
  background: #996d1f;
}

.candle-cta-section {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(26, 21, 16, 0.03) 0%, transparent 100%);
}

.candle-cta-box {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 12px;
  padding: 35px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.candle-cta-box .candle-cta-icon {
  flex-shrink: 0;
}
.candle-cta-box .candle-cta-icon .flame {
  filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.5));
}
.candle-cta-box .candle-cta-content {
  flex: 1;
}
.candle-cta-box .candle-cta-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 8px 0;
}
.candle-cta-box .candle-cta-content p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #5a4a38;
  margin: 0;
  line-height: 1.6;
}
.candle-cta-box .btn-gold {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .candle-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 20px;
  }
  .candle-cta-box .candle-cta-content h3 {
    font-size: 1.25rem;
  }
}

.support-section {
  padding: 40px 0 80px;
}

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(153, 109, 31, 0.05);
  border: 1px solid rgba(153, 109, 31, 0.2);
  border-radius: 12px;
  padding: 35px 40px;
}
.support-box .support-content {
  flex: 1;
}
.support-box .support-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 8px 0;
}
.support-box .support-content p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  color: #5a4a38;
  margin: 0;
  line-height: 1.6;
}
.support-box .btn-outline-gold {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .support-box {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 20px;
  }
  .support-box .support-content h3 {
    font-size: 1.125rem;
  }
}

.article-candle-cta {
  padding: 40px 0 60px;
  background: #ebe5d9;
  border-top: 1px solid #d4cbbe;
  border-bottom: 1px solid #d4cbbe;
}
.article-candle-cta .candle-cta-box {
  max-width: 700px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: #5a4a38;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}
.back-link:hover {
  color: #996d1f;
}

.auth-page {
  padding: 100px 0 60px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #ebe5d9 0%, #f4efe7 100%);
}
.auth-page .container {
  width: 100%;
}

.auth-card {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.auth-card--wide {
  max-width: 800px;
}

.auth-card-header {
  text-align: center;
  padding: 35px 35px 25px;
  background: #ebe5d9;
  border-bottom: 1px solid #d4cbbe;
}
.auth-card-header .auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(153, 109, 31, 0.12);
  color: #996d1f;
  margin-bottom: 16px;
}
.auth-card-header h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #2c2418;
  margin: 0 0 6px;
}
.auth-card-header p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  color: #5a4a38;
  margin: 0;
}

.auth-card-body {
  padding: 30px 35px 35px;
}
.auth-card-body .form-group {
  margin-bottom: 18px;
}
.auth-card-body .form-label {
  display: block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #2c2418;
  margin-bottom: 6px;
}
.auth-card-body .form-input {
  width: 100%;
  padding: 11px 14px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  color: #2c2418;
  background: #f4efe7;
  border: 1px solid #d4cbbe;
  border-radius: 4px;
  transition: border-color 0.2s;
}
.auth-card-body .form-input:focus {
  outline: none;
  border-color: #996d1f;
  box-shadow: 0 0 0 3px rgba(153, 109, 31, 0.1);
}
.auth-card-body .form-input::placeholder {
  color: #7a6b58;
}
.auth-card-body .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  color: #2c2418;
}
.auth-card-body .form-check input[type=checkbox] {
  accent-color: #7a5616;
}
.auth-card-body .form-input,
.auth-card-body select {
  box-sizing: border-box;
}
.auth-card-body .btn.btn-gold, .auth-card-body .btn-gold.btn-gold-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  border-width: 1px;
  border-radius: 4px;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-shadow: none;
}
.auth-card-body .btn.btn-gold:hover, .auth-card-body .btn-gold.btn-gold-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.auth-card-body .form-error-message,
.auth-card-body ul li {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  color: #8b1a1a;
  margin-top: 4px;
}
.auth-card-body .password-input-wrapper {
  position: relative;
}
.auth-card-body .password-input-wrapper .form-input {
  padding-right: 44px;
}

.password-input-wrapper {
  position: relative;
}
.password-input-wrapper .form-input {
  padding-right: 44px;
  box-sizing: border-box;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
  width: 40px;
  height: calc(100% - 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  color: #7a6b58;
  padding: 0;
  transition: color 0.15s, background 0.15s;
}
.password-toggle-btn:hover {
  color: #2c2418;
  background: rgba(212, 203, 190, 0.4);
}
.password-toggle-btn:focus-visible {
  outline: 2px solid #996d1f;
  outline-offset: -2px;
}
.password-toggle-btn svg {
  display: block;
  flex-shrink: 0;
}

.auth-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
}
.auth-flash svg {
  flex-shrink: 0;
}
.auth-flash p {
  margin: 0;
  flex: 1;
}
.auth-flash.flash-success {
  background: rgba(40, 120, 40, 0.1);
  border: 1px solid rgba(40, 120, 40, 0.3);
  color: #2d5a2d;
}
.auth-flash.flash-error {
  background: rgba(180, 40, 40, 0.1);
  border: 1px solid rgba(180, 40, 40, 0.3);
  color: #8a3030;
}

.auth-card-footer {
  text-align: center;
  padding: 20px 35px;
  background: #ebe5d9;
  border-top: 1px solid #d4cbbe;
}
.auth-card-footer p {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  color: #7a6b58;
  margin: 0 0 6px;
}
.auth-card-footer p:last-child {
  margin-bottom: 0;
}
.auth-card-footer a {
  color: #996d1f;
  font-weight: 500;
}
.auth-card-footer a:hover {
  color: #b8862a;
}

@media (max-width: 600px) {
  .auth-page {
    padding: 80px 15px 40px;
  }
  .auth-card-header {
    padding: 25px 20px 20px;
  }
  .auth-card-header h1 {
    font-size: 1.5rem;
  }
  .auth-card-body {
    padding: 25px 20px 30px;
  }
  .auth-card-footer {
    padding: 15px 20px;
  }
}
.social-login {
  padding: 0 35px 25px;
}
@media (max-width: 600px) {
  .social-login {
    padding: 0 20px 20px;
  }
}

.social-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #7a6b58;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.social-login-divider::before, .social-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d4cbbe;
}

.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 4px;
  border: 1.5px solid #d4cbbe;
  background: #fffbf5;
  color: #2c2418;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-social:hover {
  border-color: #996d1f;
  background: #ebe5d9;
  color: #2c2418;
  text-decoration: none;
}
.btn-social svg {
  flex-shrink: 0;
}

.profile-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d4cbbe;
}

.btn-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid #d4cbbe;
  background: #fffbf5;
  color: #5a4a38;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-action:hover {
  border-color: #996d1f;
  color: #996d1f;
}

.btn-preview:hover {
  border-color: #b8862a;
  color: #b8862a;
}

.btn-edit:hover {
  border-color: #996d1f;
  color: #996d1f;
}

.btn-delete:hover {
  border-color: #8b1a1a;
  color: #8b1a1a;
}

.profile-article-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.current-image {
  margin-bottom: 12px;
}
.current-image img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  border: 1px solid #d4cbbe;
  object-fit: cover;
}
@media (max-width: 600px) {
  .current-image img {
    max-width: 120px;
    max-height: 120px;
  }
}

.form-help {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: #7a6b58;
  margin-top: 4px;
}

.form-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(153, 109, 31, 0.08);
  border: 1px solid rgba(153, 109, 31, 0.2);
  border-radius: 6px;
  margin-bottom: 24px;
}
.form-info svg {
  flex-shrink: 0;
  color: #996d1f;
  margin-top: 2px;
}
.form-info span {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: #5a4a38;
  line-height: 1.5;
}

.preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(122, 86, 22, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 0;
}

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

.preview-banner-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}
.preview-banner-info svg {
  flex-shrink: 0;
}
.preview-banner-info .badge, .preview-banner-info .badge-published, .preview-banner-info .badge-draft {
  font-size: 0.7rem;
  padding: 2px 8px;
}

.preview-banner-actions {
  display: flex;
  gap: 8px;
}
.preview-banner-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 14px;
}
.preview-banner-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

body:has(.preview-banner) .site-header {
  top: 44px;
}
body:has(.preview-banner) .article-hero {
  padding-top: 44px;
}

@media (max-width: 600px) {
  .preview-banner-inner {
    flex-direction: column;
    gap: 8px;
  }
  .preview-banner-actions {
    width: 100%;
    justify-content: center;
  }
}
trix-editor {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2c2418;
  background: #f4efe7;
  border: 1px solid #d4cbbe;
  border-radius: 0 0 4px 4px;
  padding: 12px 16px;
  min-height: 300px;
}
trix-editor:focus {
  outline: none;
  border-color: #996d1f;
  box-shadow: 0 0 0 3px rgba(153, 109, 31, 0.1);
}
trix-editor h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
}
trix-editor h2, trix-editor h3 {
  font-family: "Playfair Display", Georgia, serif;
}

trix-toolbar {
  border: 1px solid #d4cbbe;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background: #ebe5d9;
  padding: 6px;
}
trix-toolbar .trix-button-group {
  border: 1px solid #d4cbbe;
  border-radius: 3px;
  margin-bottom: 0;
}
trix-toolbar .trix-button-group .trix-button {
  border-bottom: none;
  background: #fffbf5;
}
trix-toolbar .trix-button-group .trix-button:hover {
  background: rgba(153, 109, 31, 0.1);
}
trix-toolbar .trix-button-group .trix-button.trix-active {
  background: rgba(153, 109, 31, 0.15);
}
trix-toolbar .trix-button-group--file-tools {
  display: none;
}

.categories-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.categories-checkbox-grid .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f4efe7;
  border: 1px solid #d4cbbe;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: #2c2418;
  transition: all 0.2s ease;
}
.categories-checkbox-grid .checkbox-item:hover {
  border-color: #996d1f;
}
.categories-checkbox-grid .checkbox-item input[type=checkbox] {
  accent-color: #996d1f;
}

.gallery-upload-area {
  border: 2px dashed #d4cbbe;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}
.gallery-upload-area.dragover {
  border-color: #996d1f;
  background: rgba(153, 109, 31, 0.05);
}
.gallery-upload-area p {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: #7a6b58;
  margin: 0 0 10px;
}
.gallery-upload-area input[type=file] {
  display: inline-block;
}

.gallery-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.gallery-upload-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d4cbbe;
}
.gallery-upload-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.gallery-upload-item .gallery-item-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-upload-item:hover .gallery-item-delete {
  opacity: 1;
}

.flash-message {
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
}
.flash-message.flash-success {
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
  color: #2e7d32;
}
.flash-message.flash-error {
  background: rgba(139, 26, 26, 0.08);
  border: 1px solid rgba(139, 26, 26, 0.2);
  color: #8b1a1a;
}

@media (max-width: 600px) {
  .profile-actions {
    flex-wrap: wrap;
  }
  .profile-article-actions {
    flex-direction: column;
    align-items: flex-end;
  }
  .categories-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .profile-nav-tab {
    padding: 8px 10px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .profile-nav-tab svg {
    width: 14px;
    height: 14px;
  }
}
.map-picker-container,
.article-map {
  height: 400px;
  width: 100%;
  border: 1px solid #d4cbbe;
  border-radius: 6px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(153, 109, 31, 0.15);
  z-index: 1;
}

.map-picker-container {
  margin-bottom: 20px;
}

.map-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #ebe5d9;
  color: #5a4a38;
  font-family: "Source Serif 4", Georgia, serif;
}
.map-loading p {
  margin: 12px 0 0 0;
  font-size: 0.95rem;
}

.map-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #d4cbbe;
  border-top-color: #996d1f;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
.map-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: rgba(139, 26, 26, 0.05);
  border: 1px dashed rgba(139, 26, 26, 0.3);
  border-radius: 6px;
  color: #5a4a38;
  font-family: "Source Serif 4", Georgia, serif;
  padding: 20px;
  text-align: center;
}
.map-error svg {
  color: #8b1a1a;
  margin-bottom: 12px;
}
.map-error p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.map-warning {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(122, 86, 22, 0.95);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
}
.map-warning svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.leaflet-popup-content-wrapper {
  font-family: "Source Serif 4", Georgia, serif;
  color: #2c2418;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-tip {
  background: #fffbf5;
  border: 1px solid #d4cbbe;
}

.article-location {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #d4cbbe;
}
.article-location h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.375rem;
  color: #2c2418;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-location h3 svg {
  color: #996d1f;
  flex-shrink: 0;
}
.article-location .location-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  color: #5a4a38;
  margin: 0 0 16px 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .map-picker-container,
  .article-map {
    height: 350px;
  }
  .article-location h3 {
    font-size: 1.25rem;
  }
  .article-location .location-name {
    font-size: 1rem;
  }
  .btn-search-location {
    padding: 12px 16px;
  }
  .btn-search-location svg {
    width: 18px;
    height: 18px;
  }
  .location-suggestions .location-suggestion {
    padding: 14px 16px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .map-picker-container,
  .article-map {
    height: 400px;
    border-radius: 8px;
  }
  .btn-search-location {
    min-width: 48px;
    min-height: 48px;
    padding: 14px 18px;
  }
  .btn-search-location svg {
    width: 20px;
    height: 20px;
  }
  .location-suggestions .location-suggestion {
    padding: 16px 18px;
    font-size: 1.0625rem;
    min-height: 56px;
  }
  .location-suggestions .location-suggestion:active {
    background: rgba(153, 109, 31, 0.2);
  }
  .leaflet-control-zoom a {
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 24px !important;
  }
  .map-picker-container,
  .article-map {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }
  .skip-map-link {
    display: none;
  }
}
.location-search-wrapper {
  position: relative;
  display: flex;
  gap: 8px;
}
.location-search-wrapper input.form-input {
  flex: 1;
}

.btn-search-location {
  padding: 10px 14px;
  background: #996d1f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-search-location:hover {
  background: #7a5616;
}
.btn-search-location svg {
  display: block;
}

.location-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 60px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 4px;
  margin-top: 4px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
}
.location-suggestions .location-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9375rem;
  color: #2c2418;
  border-bottom: 1px solid #d4cbbe;
  transition: background 0.15s;
}
.location-suggestions .location-suggestion:last-child {
  border-bottom: none;
}
.location-suggestions .location-suggestion:hover {
  background: rgba(153, 109, 31, 0.1);
}
.location-suggestions .location-suggestion-error {
  padding: 12px 14px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.875rem;
  color: #8b1a1a;
  text-align: center;
  background: rgba(139, 26, 26, 0.05);
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-map-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.875rem;
  color: #996d1f;
  text-decoration: none;
  border: 1px solid #d4cbbe;
  border-radius: 4px;
  transition: all 0.2s;
}
.skip-map-link:hover, .skip-map-link:focus {
  background: rgba(153, 109, 31, 0.1);
  border-color: #996d1f;
  text-decoration: underline;
}
.skip-map-link:focus {
  outline: 2px solid #996d1f;
  outline-offset: 2px;
}

.map-picker-container:focus-visible,
.location-suggestions:focus-visible {
  outline: 2px solid #996d1f;
  outline-offset: 2px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.notif-bell-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notif-bell-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #f4efe7;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 4px;
  transition: background 0.15s;
}
.notif-bell-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #8b1a1a;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  border: 2px solid #3d3428;
}

.notif-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 320px;
  background: #fffbf5;
  border: 1px solid #d4cbbe;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
}
.notif-dropdown--hidden {
  display: none;
}
.notif-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #d4cbbe;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c2418;
}
.notif-dropdown__footer {
  padding: 10px 16px;
  border-top: 1px solid #d4cbbe;
  text-align: center;
}
.notif-dropdown__footer a {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  color: #996d1f;
}
.notif-dropdown__footer a:hover {
  color: #b8862a;
}

.notif-mark-all {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: #996d1f;
  padding: 0;
}
.notif-mark-all:hover {
  color: #b8862a;
  text-decoration: underline;
}

.notif-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-bottom: 1px solid #d4cbbe;
  color: #2c2418;
  text-decoration: none;
  transition: background 0.15s;
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-item:hover {
  background: #ebe5d9;
}
.notif-item--unread {
  background: rgba(153, 109, 31, 0.06);
}
.notif-item--unread:hover {
  background: rgba(153, 109, 31, 0.1);
}
.notif-item--full {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #d4cbbe;
  border-radius: 0;
  margin-bottom: 0;
}
.notif-item__msg {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  color: #2c2418;
  line-height: 1.4;
  margin: 0 0 4px;
}
.notif-item__time {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  color: #7a6b58;
}
.notif-item__icon {
  flex-shrink: 0;
  color: #996d1f;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(153, 109, 31, 0.1);
  border-radius: 8px;
}
.notif-item__content {
  flex: 1;
}
.notif-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #996d1f;
  flex-shrink: 0;
}

.notif-empty {
  padding: 20px 16px;
  text-align: center;
  color: #7a6b58;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  margin: 0;
}

.notifications-page-section {
  padding: 48px 0;
  min-height: 60vh;
}

.notifications-list {
  display: flex;
  flex-direction: column;
}

.notifications-empty {
  text-align: center;
  padding: 60px 0;
  color: #7a6b58;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: 2rem;
  color: #2c2418;
  margin: 0;
}

.search-suggestions {
  margin: 2rem 0;
}

.search-intro-text {
  color: #5a4a38;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

.search-suggestions-label {
  color: #7a6b58;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.search-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-chip {
  padding: 0.35rem 0.85rem;
  border: 1px solid #996d1f;
  border-radius: 2rem;
  color: #996d1f;
  font-size: 0.875rem;
  text-decoration: none;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background 0.15s, color 0.15s;
}
.search-chip:hover {
  background: #996d1f;
  color: #fff;
}

.search-browse {
  margin: 2.5rem 0;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.category-chip .chip-count {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.category-chip:hover {
  border-color: #996d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-today {
  margin: 2.5rem 0;
}

.search-today-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.search-today-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.search-today-item:hover .search-today-title {
  color: #996d1f;
}

.search-today-year {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 3rem;
  font-family: monospace;
  flex-shrink: 0;
}

.search-today-title {
  font-size: 0.95rem;
}

.search-section-title {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  margin-bottom: 0;
}

.search-recent {
  margin: 2.5rem 0;
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 0;
  }
  .site-header .header-inner {
    flex-direction: row;
    align-items: center;
  }
  .site-header nav {
    display: none;
  }
  .site-header .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .site-header.over-hero .mobile-icon-btn,
  .site-header.over-hero .mobile-menu-btn {
    color: rgba(255, 255, 255, 0.85);
  }
  .site-header.over-hero .mobile-icon-btn:hover,
  .site-header.over-hero .mobile-menu-btn:hover {
    color: var(--gold-light);
  }
}
.mobile-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-icon-btn:hover {
  color: var(--gold-dark);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-secondary);
}
.mobile-menu-btn .hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 100vw);
  z-index: 9998;
  background: var(--bg-primary);
  border-left: 3px solid #996d1f;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open {
  transform: translateX(0);
}

html.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9997;
  cursor: pointer;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-header .logo-img {
  height: 30px;
  width: auto;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #996d1f;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.mobile-nav-link:hover {
  background: var(--bg-section);
  color: #7a5616;
  padding-left: 28px;
}
.mobile-nav-link--secondary {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 13px 24px;
}
.mobile-nav-link--secondary svg {
  flex-shrink: 0;
}

.mobile-menu-user {
  border-top: 2px solid var(--border);
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 2px solid var(--border);
  flex-shrink: 0;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.mobile-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-theme-btn:hover {
  border-color: #996d1f;
  color: #996d1f;
}

.mobile-theme-label {
  font-size: 0.8125rem;
}

.mobile-lang-switcher {
  display: flex;
  gap: 14px;
}
.mobile-lang-switcher .lang-link {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}
.mobile-lang-switcher .lang-link.active {
  color: #7a5616;
  font-weight: 700;
}
.mobile-lang-switcher .lang-link:hover {
  color: #996d1f;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}
@media (max-width: 768px) {
  .articles-hero {
    padding: 84px 0 24px;
  }
  .articles-hero-title {
    font-size: 2.125rem;
  }
  .articles-hero-subtitle {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .articles-hero {
    padding: 72px 0 18px;
  }
  .articles-hero-title {
    font-size: 1.75rem;
    letter-spacing: 0.5px;
  }
}
@media (max-width: 768px) {
  .otd-hero {
    padding: 84px 0 24px;
  }
  .otd-date {
    font-size: 2.125rem;
  }
  .otd-hero-subtitle {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .otd-hero {
    padding: 72px 0 18px;
  }
  .otd-date {
    font-size: 1.75rem;
  }
}
@media (max-width: 600px) {
  .otd-day-nav {
    gap: 6px;
    padding: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  .day-nav-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .day-nav-today {
    font-size: 0.75rem;
    padding: 6px 8px;
  }
}
@media (max-width: 768px) {
  .article-hero {
    padding: 80px 0 36px;
    min-height: 300px;
  }
  .article-hero.has-image {
    min-height: 360px;
  }
  .article-year {
    font-size: 3rem;
  }
}
@media (max-width: 600px) {
  .article-hero {
    padding: 70px 0 28px;
    min-height: 240px;
  }
  .article-hero.has-image {
    min-height: 280px;
  }
  .article-year {
    font-size: 2.5rem;
  }
}
@media (max-width: 480px) {
  .article-parchment {
    padding: 20px 14px;
    border-radius: 4px;
  }
}
@media (max-width: 600px) {
  .articles-filter {
    padding: 8px 0;
  }
  .articles-filter-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .articles-filter-inner::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 600px) {
  .article-content-section {
    padding: 32px 0;
  }
  .article-meta-section {
    padding: 16px 0;
  }
  .otd-timeline-section {
    padding: 24px 0 36px;
  }
  .article-candle-cta {
    padding: 28px 0 36px;
  }
  .related-articles-section {
    padding: 24px 0;
  }
  .participate-closing {
    padding: 28px 0 44px;
  }
  .otd-parchment {
    padding: 20px 16px;
  }
}
@media (max-width: 600px) {
  .candle-cta-box {
    padding: 24px 20px;
    gap: 16px;
  }
  .candle-cta-box .btn, .candle-cta-box .btn-gold-hero,
  .support-box .btn,
  .support-box .btn-gold-hero {
    align-self: center;
  }
  .support-box {
    padding: 24px 20px;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .profile-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .profile-nav::-webkit-scrollbar {
    display: none;
  }
  .profile-nav-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
@media (max-width: 600px) {
  .site-footer {
    padding: 32px 0 20px;
  }
  .site-footer .footer-brand {
    width: 100%;
    text-align: center;
  }
  .site-footer .footer-brand p {
    max-width: none;
    text-align: center;
  }
  .site-footer .footer-brand .footer-logo-img {
    display: block;
    margin: 0 auto 10px;
  }
  .site-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    width: 100%;
  }
  .site-footer .footer-links .link-group {
    text-align: center;
  }
  .copyright {
    font-size: 0.8125rem;
  }
}
@media (max-width: 600px) {
  .participate-hero {
    padding: 80px 0 32px;
  }
  .participate-hero-title {
    font-size: 1.875rem;
  }
  .participate-hero-subtitle {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .auth-page {
    padding: 72px 0 40px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .btn, .btn-gold-hero {
    min-height: 44px;
  }
  .btn-sm {
    min-height: 36px;
  }
}

/*# sourceMappingURL=app.output.css-Dr02YfT.map */
