/* TravelGuide Canada — Magazine Design System */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ─── Variables ────────────────────────────────────────────── */
:root {
  --ink:       #1a1a2e;
  --red:       #c0392b;
  --gold:      #c8980a;
  --slate:     #4a5568;
  --mist:      #f7f8fa;
  --border:    #e2e8f0;
  --blue:      #2d6a9f;
  --blue-dark: #1a3c5e;
  --white:     #ffffff;
  --radius:    6px;
  --shadow:    0 2px 16px rgba(0,0,0,0.09);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

/* ─── Base ──────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); text-decoration: none; }

/* ─── Navigation ────────────────────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── Logo component ─────────────────────────────────────────────────────── */
header #logo img { display: none; }

header #logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}

/* Maple-leaf badge */
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(200,35,51,.35);
}

/* Text stack */
.logo-text {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.logo-travel {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 19px;
  color: #4a5568;
  letter-spacing: -0.2px;
}

.logo-guide {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--red);
  letter-spacing: -0.3px;
}

.logo-canada { display: none; }

.main-menu > ul > li > a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink) !important;
}

.main-menu > ul > li > a:hover,
.main-menu > ul > li.active > a {
  color: var(--red) !important;
}

.main-menu ul ul {
  border-top: 2px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ─── Province Hero ─────────────────────────────────────────── */
.mg-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.mg-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.62);
  transition: transform 8s ease;
}

.mg-hero:hover .mg-hero__bg {
  transform: scale(1.04);
}

.mg-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 40px 0;
  color: var(--white);
}

.mg-hero__eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.mg-hero__title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.mg-hero__sub {
  font-size: 17px;
  opacity: 0.92;
  margin: 0;
  font-weight: 300;
}

/* ─── Travel Tips Bar ───────────────────────────────────────── */
.mg-tips-bar {
  background: var(--blue-dark);
  color: var(--white);
  padding: 18px 0;
}

.mg-tips-bar__inner {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: stretch;
}

.mg-tip {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
  min-width: 140px;
}

.mg-tip:last-child { border-right: none; }

.mg-tip__icon {
  font-size: 20px;
  opacity: 0.85;
  flex-shrink: 0;
}

.mg-tip__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  display: block;
  margin-bottom: 1px;
}

.mg-tip__value {
  font-size: 13px;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}

/* ─── Section Headings ──────────────────────────────────────── */
.mg-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 48px 0 28px;
}

.mg-section-head h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.mg-section-head__line {
  flex: 1;
  height: 2px;
  background: var(--border);
}

.mg-section-head__tag {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}

/* ─── Attraction Cards ──────────────────────────────────────── */
.mg-attraction {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.mg-attraction:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.mg-attraction__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.mg-attraction__body {
  padding: 20px 22px 22px;
}

.mg-attraction__num {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.mg-attraction__title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.3;
}

.mg-attraction__desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  margin: 0 0 16px;
}

.mg-attraction__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--slate);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

.mg-attraction__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── Star Rating Widget ────────────────────────────────────── */
.mg-star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mg-star-rating__stars {
  display: flex;
  gap: 2px;
  cursor: pointer;
}

.mg-star-rating__star {
  font-size: 22px;
  color: #d1d5db;
  transition: color 0.15s, transform 0.1s;
  line-height: 1;
  user-select: none;
}

.mg-star-rating__star.active,
.mg-star-rating__star.hovered {
  color: var(--gold);
}

.mg-star-rating__star:hover {
  transform: scale(1.2);
}

.mg-star-rating__summary {
  font-size: 13px;
  color: var(--slate);
  margin-left: 4px;
}

.mg-star-rating__avg {
  font-weight: 700;
  color: var(--ink);
}

/* ─── Province Map Section ──────────────────────────────────── */
.mg-map-section {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 28px;
  margin: 40px 0;
}

.mg-map-section h3 {
  font-size: 20px;
  margin: 0 0 16px;
}

.mg-map-section iframe {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ─── Getting There Section ─────────────────────────────────── */
.mg-getting-there {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 40px 0;
}

.mg-getting-there h3 {
  color: var(--white);
  font-size: 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 12px;
}

.mg-transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.mg-transport-item {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
}

.mg-transport-item__icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.mg-transport-item__mode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
  display: block;
}

.mg-transport-item p {
  font-size: 13px;
  margin: 0;
  opacity: 0.9;
  line-height: 1.5;
}

/* ─── Disqus / Comments Section ─────────────────────────────── */
.mg-comments-section {
  margin: 50px 0 30px;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}

.mg-comments-section__head {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink);
}

/* ─── Article Grid ──────────────────────────────────────────── */
.mg-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 0 0 50px;
}

.mg-article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.mg-article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.mg-article-card__img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.mg-article-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mg-article-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.mg-article-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 10px;
  flex: 1;
}

.mg-article-card__title a {
  color: inherit;
  text-decoration: none;
}

.mg-article-card__title a:hover { color: var(--red); }

.mg-article-card__excerpt {
  font-size: 13px;
  color: var(--slate);
  margin: 0 0 14px;
  line-height: 1.6;
}

.mg-article-card__meta {
  font-size: 11px;
  color: #9aa5b4;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: auto;
}

/* ─── Article Page ──────────────────────────────────────────── */
.mg-article-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.mg-article-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.58);
}

.mg-article-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 36px;
  color: var(--white);
  width: 100%;
}

.mg-article-hero__tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
  text-decoration: none;
}

.mg-article-hero__title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.mg-article-hero__meta {
  font-size: 13px;
  opacity: 0.82;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mg-article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 20px 60px;
}

.mg-article-body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 22px;
  color: #2d3748;
}

.mg-article-body h2 {
  font-size: 24px;
  margin: 40px 0 14px;
  color: var(--ink);
}

.mg-article-body h3 {
  font-size: 19px;
  margin: 30px 0 10px;
  color: var(--blue-dark);
}

.mg-article-body ul, .mg-article-body ol {
  margin: 0 0 20px 22px;
  font-size: 15px;
  color: #2d3748;
}

.mg-article-body li { margin-bottom: 6px; line-height: 1.7; }

.mg-article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 20px;
  margin: 28px 0;
  background: #fffbf0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 16px;
  color: var(--slate);
}

.mg-article-body .tip-box {
  background: #e8f4fd;
  border: 1px solid #bee3f8;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: #2c5282;
}

.mg-article-body .tip-box strong { color: #1a365d; }

.mg-article-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 10px 0 24px;
}

/* ─── Province Index Cards (Homepage) ───────────────────────── */
.mg-province-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin: 0 0 50px;
}

.mg-province-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.mg-province-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  filter: brightness(0.65);
}

.mg-province-card:hover .mg-province-card__bg {
  transform: scale(1.06);
}

.mg-province-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.mg-province-card__label {
  position: relative;
  z-index: 2;
  padding: 16px;
  color: var(--white);
}

.mg-province-card__name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.mg-province-card__count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ─── Homepage Hero ─────────────────────────────────────────── */
.mg-home-hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mg-home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.52);
}

.mg-home-hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 20px;
  max-width: 680px;
}

.mg-home-hero__label {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.mg-home-hero__title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  line-height: 1.15;
}

.mg-home-hero__sub {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 0 28px;
  font-weight: 300;
}

.mg-home-hero__cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.mg-home-hero__cta:hover {
  background: #a93226;
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── Featured Strip ────────────────────────────────────────── */
.mg-featured-strip {
  background: var(--mist);
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mg-featured-strip h2 {
  font-size: 28px;
  margin: 0 0 28px;
  text-align: center;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 0;
  margin-top: 0;
}

footer h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

footer p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

footer .list_ok li { border-bottom: 1px solid rgba(255,255,255,0.08); }

footer .list_ok li a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 7px 0;
  display: block;
}

footer .list_ok li a:hover { color: var(--white); padding-left: 4px; }

footer hr { border-color: rgba(255,255,255,0.12); margin: 28px 0 0; }

footer .row:last-child .col-sm-12 {
  padding: 16px 15px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

footer .row:last-child a {
  color: rgba(255,255,255,0.55);
}

footer .row:last-child a:hover { color: var(--white); }

/* ─── Articles Index Hero ───────────────────────────────────── */
.mg-articles-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 60px 0 50px;
  text-align: center;
  color: var(--white);
}

.mg-articles-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.mg-articles-hero p {
  font-size: 17px;
  opacity: 0.88;
  margin: 0;
}

/* ─── Category Filter Tabs ──────────────────────────────────── */
.mg-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0 28px;
}

.mg-filter-tab {
  display: inline-block;
  padding: 7px 18px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.15s;
  background: var(--white);
  text-decoration: none;
}

.mg-filter-tab:hover,
.mg-filter-tab.active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

/* ─── Breadcrumb ────────────────────────────────────────────── */
.mg-breadcrumb {
  font-size: 12px;
  color: var(--slate);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.mg-breadcrumb a { color: var(--blue); }
.mg-breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* ─── Sidebar ────────────────────────────────────────────────── */
.mg-sidebar-widget {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.mg-sidebar-widget h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.mg-sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mg-sidebar-widget ul li {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

.mg-sidebar-widget ul li:last-child { border-bottom: none; }

.mg-sidebar-widget ul li a {
  font-size: 13px;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mg-sidebar-widget ul li a:hover { color: var(--blue); }

/* ─── Utility ────────────────────────────────────────────────── */
.mg-divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

.mg-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mg-badge--red   { background: #fee2e2; color: #b91c1c; }
.mg-badge--gold  { background: #fef3c7; color: #92400e; }
.mg-badge--green { background: #d1fae5; color: #065f46; }
.mg-badge--blue  { background: #dbeafe; color: #1e40af; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mg-hero { height: 320px; }
  .mg-hero__title { font-size: 28px; }
  .mg-tips-bar__inner { gap: 0; }
  .mg-tip { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .mg-tip:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .mg-tip:nth-last-child(-n+2) { border-bottom: none; }
  .mg-article-grid { grid-template-columns: 1fr 1fr; }
  .mg-province-mosaic { grid-template-columns: 1fr 1fr; }
  .mg-home-hero { height: 400px; }
}

@media (max-width: 480px) {
  .mg-article-grid { grid-template-columns: 1fr; }
  .mg-province-mosaic { grid-template-columns: 1fr; }
  .mg-tip { flex: 1 1 100%; border-right: none; }
  .mg-tip:nth-child(odd) { border-right: none; }
}

/* ─── City Attraction Photos ─────────────────────────────────── */
.mg-attr-photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
}
.mg-attr-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mg-attr-photo:hover img { transform: scale(1.03); }

/* ─── Per-attraction interaction bar ────────────────────────── */
.mg-attr-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 18px 0 8px;
  padding: 14px 0 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.mg-attr-bar .mg-star-rating { margin: 0; }

.mg-comment-btn {
  background: none;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 6px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.88em;
  font-family: var(--font-body);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.mg-comment-btn:hover {
  background: var(--blue);
  color: #fff;
}

.mg-attr-comment-box {
  margin-top: 14px;
  padding: 16px;
  background: var(--mist);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ─── Inline attraction comment panels ───────────────────────── */
.tgc-comment-panel {
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: tgcSlideDown .2s ease;
}
@keyframes tgcSlideDown {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.tgc-comment-panel__inner { padding: 20px 24px; background: #fafbfc; }
.tgc-panel-title {
  font-size: .95em;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-body);
}
.tgc-panel-title em { font-style: italic; color: var(--blue); }

/* comment list */
.tgc-comment-list { margin-bottom: 18px; }
.tgc-no-comments { font-size:.88em; color:var(--slate); margin:0 0 12px; }
.tgc-comment {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.tgc-comment:last-child { border-bottom: none; }
.tgc-comment__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.tgc-comment__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .8em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tgc-comment__name { font-size:.88em; font-weight:700; }
.tgc-comment__time { font-size:.8em; color:var(--slate); margin-left:auto; }
.tgc-comment__text { font-size:.9em; color:var(--ink); line-height:1.6; }

/* form */
.tgc-comment-form { display:flex; flex-direction:column; gap:10px; }
.tgc-form-row { display:flex; flex-direction:column; }
.tgc-form-row--actions { flex-direction:row; align-items:center; gap:12px; }
.tgc-input, .tgc-textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: .9em;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s;
  resize: vertical;
}
.tgc-input:focus, .tgc-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,106,159,.12);
}
.tgc-submit-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: .88em;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.tgc-submit-btn:hover { background: #a93226; }
.tgc-char-count { font-size:.78em; color:var(--slate); }

/* ── Cookie Consent Banner ──────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a202c;
  color: #e2e8f0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 -2px 12px rgba(0,0,0,.25);
}
#cookie-banner p { margin: 0; flex: 1; min-width: 220px; }
#cookie-banner a { color: #90cdf4; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn-decline {
  background: transparent;
  color: #a0aec0;
  border: 1px solid #4a5568;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn-accept:hover { background: #a93226; }
.cookie-btn-decline:hover { color: #e2e8f0; border-color: #718096; }
