/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.9
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* ============================================================
   EverythingEdinburgh /games/ Section
   ee-sport-* CSS Components v2.0
   Light theme â Edinburgh Blue accent (#326b88)
   Mirrors cycleholix spiele-* structure exactly
   ============================================================ */

:root {
  --ee-accent:      #326b88;
  --ee-accent-dark: #1f4f68;
  --ee-accent-bg:   #e8f3f8;
  --ee-surface:     #f7fbfd;
  --ee-border:      #d0e4ed;
  --ee-text:        #1a1a1a;
  --ee-text-muted:  #555;
  --ee-text-dim:    #888;
  --ee-white:       #ffffff;
  --ee-radius:      6px;
  --ee-green:       #2e7d32;
  --ee-orange:      #e65100;
  --ee-red:         #c62828;
}

/* ============================================================
   Hub card grid (hub pages)
   ============================================================ */
.ee-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.ee-hub-card {
  background: var(--ee-white);
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ee-text);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.ee-hub-card:hover {
  box-shadow: 0 4px 18px rgba(50,107,136,.15);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--ee-text);
}
.ee-hub-card__img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--ee-accent-bg); display: block;
}
.ee-hub-card__body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.ee-hub-card__tag {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ee-accent); margin-bottom: 5px;
}
.ee-hub-card__title {
  font-size: 14px; font-weight: 700; line-height: 1.4;
  margin: 0 0 6px;
}
.ee-hub-card__excerpt {
  font-size: 13px; color: var(--ee-text-muted); line-height: 1.5;
}

/* ============================================================
   Data Table â spiele-table equivalent
   ============================================================ */
.ee-sport-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
  border-radius: var(--ee-radius);
  overflow: hidden;
  border: 1px solid var(--ee-border);
}
.ee-sport-table thead { background: var(--ee-surface); }
.ee-sport-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ee-accent);
  border-bottom: 2px solid var(--ee-border);
}
.ee-sport-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--ee-border);
  color: var(--ee-text);
  vertical-align: middle;
}
.ee-sport-table tr:last-child td { border-bottom: none; }
.ee-sport-table tr:nth-child(even) td { background: var(--ee-surface); }
.ee-sport-table tbody tr:hover td { background: var(--ee-accent-bg); }
.ee-sport-table .rank { font-weight: 700; color: var(--ee-accent); }
.ee-sport-table .flag { font-size: 1.2em; }

/* ============================================================
   Stat Cards â spiele-stats / spiele-stat equivalent
   ============================================================ */
.ee-sport-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin: 2rem 0;
}
.ee-sport-stat {
  background: var(--ee-surface);
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  padding: 18px 14px;
  text-align: center;
}
.ee-sport-stat__number {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ee-accent);
  line-height: 1;
  letter-spacing: -.02em;
}
.ee-sport-stat__label {
  font-size: 0.78rem;
  color: var(--ee-text-muted);
  margin-top: 5px;
  line-height: 1.3;
}

/* ============================================================
   Info / Callout Box â spiele-box equivalent
   ============================================================ */
.ee-sport-box {
  display: flex;
  gap: 14px;
  background: var(--ee-surface);
  border: 1px solid var(--ee-border);
  border-left: 4px solid var(--ee-accent);
  border-radius: var(--ee-radius);
  padding: 18px 20px;
  margin: 2rem 0;
}
.ee-sport-box__icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.ee-sport-box__title { font-weight: 700; color: var(--ee-text); margin-bottom: 5px; font-size: .95rem; }
.ee-sport-box__text { font-size: .875rem; color: var(--ee-text-muted); line-height: 1.65; }
.ee-sport-box--warning { border-left-color: var(--ee-orange); background: #fff8f3; }
.ee-sport-box--warning .ee-sport-box__title { color: var(--ee-orange); }
.ee-sport-box--success { border-left-color: var(--ee-green); background: #f3faf4; }
.ee-sport-box--success .ee-sport-box__title { color: var(--ee-green); }
.ee-sport-box--info    { border-left-color: #5b9db8; background: #f0f7fb; }

/* ============================================================
   Player Cards â spiele-cards / spiele-card equivalent
   ============================================================ */
.ee-sport-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin: 2rem 0;
}
.ee-sport-card {
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  padding: 14px 12px;
  background: var(--ee-white);
  text-align: center;
}
.ee-sport-card__flag  { font-size: 1.9rem; margin-bottom: 6px; }
.ee-sport-card__name  { font-weight: 700; font-size: .9rem; margin-bottom: 2px; color: var(--ee-text); }
.ee-sport-card__meta  { font-size: .78rem; color: var(--ee-text-muted); margin-bottom: 6px; }
.ee-sport-card__value { font-size: .85rem; font-weight: 700; color: var(--ee-accent); margin-bottom: 8px; }
.ee-sport-card__badge {
  display: inline-block; padding: 2px 9px;
  border-radius: 20px; font-size: .68rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff;
}
.ee-sport-card__badge--fit      { background: var(--ee-green); }
.ee-sport-card__badge--doubtful { background: var(--ee-orange); }
.ee-sport-card__badge--out      { background: var(--ee-red); }

/* ============================================================
   Injury Status List â spiele-injury-list equivalent
   ============================================================ */
.ee-sport-injury-list {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ee-sport-injury-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--ee-surface);
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  padding: 12px 16px;
}
.ee-sport-injury-item__flag   { font-size: 1.4rem; flex-shrink: 0; }
.ee-sport-injury-item__info   { flex: 1; }
.ee-sport-injury-item__name   { font-weight: 700; font-size: .9rem; color: var(--ee-text); }
.ee-sport-injury-item__detail { font-size: .8rem; color: var(--ee-text-muted); margin-top: 2px; }
.ee-sport-injury-item__status {
  flex-shrink: 0; font-size: .72rem;
  font-weight: 700; padding: 3px 9px;
  border-radius: 20px; color: #fff;
  text-transform: uppercase; letter-spacing: .04em;
}
.ee-sport-injury-item__status--out      { background: var(--ee-red); }
.ee-sport-injury-item__status--doubtful { background: var(--ee-orange); }
.ee-sport-injury-item__status--fit      { background: var(--ee-green); }

/* ============================================================
   Odds Cards â spiele-odds / spiele-odd equivalent
   ============================================================ */
.ee-sport-odds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 2rem 0;
}
.ee-sport-odd {
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  padding: 14px 10px;
  background: var(--ee-white);
  text-align: center;
}
.ee-sport-odd__team       { font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ee-text); }
.ee-sport-odd__value      { font-size: 1.5rem; font-weight: 900; color: var(--ee-accent); line-height: 1; }
.ee-sport-odd__bookmaker  { font-size: .7rem; color: var(--ee-text-dim); margin-top: 4px; }

/* ============================================================
   Checklist â spiele-checklist equivalent
   ============================================================ */
.ee-sport-checklist { list-style: none; padding: 0; margin: 1.5rem 0; }
.ee-sport-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ee-border);
  font-size: .9rem; color: var(--ee-text);
}
.ee-sport-checklist li:last-child { border-bottom: none; }
.ee-sport-checklist li::before {
  content: '\2713';
  color: var(--ee-accent); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

/* ============================================================
   FAQ â spiele-faq equivalent
   ============================================================ */
.ee-sport-faq { margin: 2rem 0; }
.ee-sport-faq__item {
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  margin-bottom: 10px; overflow: hidden;
}
.ee-sport-faq__q {
  padding: 14px 18px;
  background: var(--ee-surface);
  font-weight: 700; font-size: .95rem;
  color: var(--ee-text);
  display: flex; align-items: center; gap: 10px;
}
.ee-sport-faq__q::before {
  content: 'Q';
  background: var(--ee-accent); color: #fff;
  font-size: .72rem; font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ee-sport-faq__a {
  padding: 14px 18px;
  font-size: .875rem; line-height: 1.7;
  color: var(--ee-text-muted);
  border-top: 1px solid var(--ee-border);
}

/* ============================================================
   TOC â spiele-toc equivalent (collapsible)
   ============================================================ */
.ee-sport-toc {
  background: var(--ee-surface);
  border: 1px solid var(--ee-border);
  border-left: 4px solid var(--ee-accent);
  border-radius: var(--ee-radius);
  margin: 0 0 2.5rem;
  overflow: hidden;
}
.ee-sport-toc__header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 18px; cursor: pointer; user-select: none; gap: 12px;
}
.ee-sport-toc__header:hover { background: rgba(50,107,136,.05); }
.ee-sport-toc__title {
  font-size: .85rem; font-weight: 700;
  color: var(--ee-text-muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.ee-sport-toc__toggle {
  flex-shrink: 0; font-size: .75rem;
  color: var(--ee-accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.ee-sport-toc__body { padding: 0 18px 16px; }
.ee-sport-toc__body.ee-toc-hidden { display: none; }
.ee-sport-toc__list {
  margin: 0; padding: 0;
  list-style: none; counter-reset: toc-counter;
}
.ee-sport-toc__list li {
  counter-increment: toc-counter;
  padding: 5px 0;
  border-bottom: 1px solid var(--ee-border);
  font-size: .875rem;
  display: flex; align-items: baseline; gap: 8px;
}
.ee-sport-toc__list li:last-child { border-bottom: none; }
.ee-sport-toc__list li::before {
  content: counter(toc-counter) '.';
  color: var(--ee-accent); font-weight: 700;
  font-size: .8rem; flex-shrink: 0;
}
.ee-sport-toc__list a { color: var(--ee-text); text-decoration: none; }
.ee-sport-toc__list a:hover { color: var(--ee-accent); }

/* ============================================================
   Article heading anchors
   ============================================================ */
.ee-games-content h2 {
  font-size: 1.35rem; font-weight: 800;
  margin: 2.5rem 0 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ee-border);
  color: var(--ee-text);
}
.ee-games-content h3 {
  font-size: 1.1rem; font-weight: 700;
  margin: 1.8rem 0 .8rem;
  color: var(--ee-text);
}

/* ============================================================
   Hub & section page styles (slider, section grid, etc.)
   â kept from v1, no changes â
   ============================================================ */

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ee-hub-grid         { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ee-sport-stats      { grid-template-columns: repeat(2, 1fr); }
  .ee-sport-cards      { grid-template-columns: repeat(2, 1fr); }
  .ee-sport-odds       { grid-template-columns: repeat(2, 1fr); }
  .ee-sport-table      { font-size: .82rem; }
  .ee-sport-table th,
  .ee-sport-table td   { padding: 8px 10px; }
}
@media (max-width: 480px) {
  .ee-hub-grid         { grid-template-columns: 1fr; }
  .ee-sport-cards      { grid-template-columns: 1fr; }
  .ee-sport-stats      { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   CASINO SECTION â ee-ca-* components
   ============================================================ */

/* ---- Responsive table wrapper ---- */
.ee-ca-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--ee-radius);
  border: 1px solid var(--ee-border);
}
.ee-ca-table-wrap table {
  margin: 0;
  border: none;
  border-radius: 0;
  min-width: 520px;
}

/* Plain <table> in casino content â responsive */
.page-casino-article .entry-content table,
.page-casino-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1.5rem 0;
  border-radius: var(--ee-radius);
  border: 1px solid var(--ee-border);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-casino-article .entry-content table thead,
.page-casino-article table thead { background: var(--ee-surface); }
.page-casino-article .entry-content table th,
.page-casino-article table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ee-accent);
  border-bottom: 2px solid var(--ee-border);
  white-space: nowrap;
}
.page-casino-article .entry-content table td,
.page-casino-article table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ee-border);
  color: var(--ee-text);
  vertical-align: middle;
}
.page-casino-article .entry-content table tr:last-child td,
.page-casino-article table tr:last-child td { border-bottom: none; }
.page-casino-article .entry-content table tr:nth-child(even) td,
.page-casino-article table tr:nth-child(even) td { background: var(--ee-surface); }

/* ---- Info / Warning / Success boxes ---- */
.ee-ca-box {
  border-radius: var(--ee-radius);
  padding: 18px 20px;
  margin: 1.5rem 0;
  font-size: 0.93rem;
  line-height: 1.6;
  border-left: 4px solid transparent;
}
.ee-ca-box--info {
  background: rgba(59,130,246,.08);
  border-color: #3b82f6;
  color: var(--ee-text);
}
.ee-ca-box--warning {
  background: rgba(245,158,11,.08);
  border-color: #f59e0b;
  color: var(--ee-text);
}
.ee-ca-box--success {
  background: rgba(34,197,94,.08);
  border-color: #22c55e;
  color: var(--ee-text);
}
.ee-ca-box strong { display: block; margin-bottom: 6px; font-size: 0.95rem; }

/* ---- Stat cards ---- */
.ee-ca-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin: 1.5rem 0;
}
.ee-ca-stat {
  background: var(--ee-surface);
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  padding: 18px 12px;
  text-align: center;
}
.ee-ca-stat__number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ee-accent);
  display: block;
  line-height: 1.1;
}
.ee-ca-stat__label {
  font-size: 0.78rem;
  color: var(--ee-muted);
  display: block;
  margin-top: 4px;
}

/* ---- Topic cards ---- */
.ee-ca-topic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 1.5rem 0;
}
.ee-ca-topic-card {
  background: var(--ee-surface);
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .2s;
}
.ee-ca-topic-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.ee-ca-topic-card-icon { font-size: 1.6rem; line-height: 1; }
.ee-ca-topic-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ee-text);
  margin: 0;
}
.ee-ca-topic-card-body {
  font-size: 0.88rem;
  color: var(--ee-muted);
  line-height: 1.55;
  flex: 1;
}
.ee-ca-topic-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.ee-ca-topic-card-stat {
  background: var(--ee-accent-bg, rgba(59,130,246,.1));
  color: var(--ee-accent);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

/* ---- Pros / Cons ---- */
.ee-ca-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.5rem 0;
}
.ee-ca-pros,
.ee-ca-cons {
  border-radius: var(--ee-radius);
  padding: 18px 20px;
  border: 1px solid var(--ee-border);
}
.ee-ca-pros { background: rgba(34,197,94,.06); border-top: 3px solid #22c55e; }
.ee-ca-cons { background: rgba(239,68,68,.06); border-top: 3px solid #ef4444; }
.ee-ca-pros h3,
.ee-ca-cons h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 10px;
}
.ee-ca-pros h3 { color: #16a34a; }
.ee-ca-cons h3 { color: #dc2626; }
.ee-ca-pros ul,
.ee-ca-cons ul { margin: 0; padding: 0 0 0 18px; }
.ee-ca-pros li,
.ee-ca-cons li { font-size: 0.88rem; line-height: 1.55; margin-bottom: 6px; color: var(--ee-text); }

/* ---- FAQ (details/summary) ---- */
.page-casino-article details {
  border: 1px solid var(--ee-border);
  border-radius: var(--ee-radius);
  margin: 8px 0;
  overflow: hidden;
}
.page-casino-article details summary {
  padding: 14px 18px;
  background: var(--ee-surface);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ee-text);
}
.page-casino-article details summary::-webkit-details-marker { display: none; }
.page-casino-article details summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--ee-accent);
  font-weight: 400;
  flex-shrink: 0;
}
.page-casino-article details[open] summary::after { content: 'â'; }
.page-casino-article details > *:not(summary) {
  padding: 14px 18px;
  font-size: 0.91rem;
  line-height: 1.6;
  color: var(--ee-text);
}

/* ---- Responsive ---- */
/* ---- Override template inline styles for wrapped tables ----
   .ee-casino-content .ee-ca-table-wrap = 0-2-1 specificity
   beats template's .ee-casino-content table    = 0-1-1
   and  .ee-casino-content table th/td          = 0-1-2
   ---- */
.ee-casino-content .ee-ca-table-wrap {
  /* wrapper owns the border, scroll, and radius */
  border-radius: var(--ee-radius);
}
.ee-casino-content .ee-ca-table-wrap table {
  /* kill template's box-in-a-box treatment */
  border: none;
  border-radius: 0;
  overflow-x: visible;   /* scroll lives on the wrapper, not the table */
  margin: 0;
  background: transparent;
  /* ensure full-width fill */
  display: table;
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.ee-casino-content .ee-ca-table-wrap thead {
  background: var(--ee-surface);
}
.ee-casino-content .ee-ca-table-wrap th {
  background: var(--ee-surface);
  color: var(--ee-accent);
  border-bottom: 2px solid var(--ee-border);
  padding: 11px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.ee-casino-content .ee-ca-table-wrap td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ee-border);
  color: var(--ee-text);
  background: transparent;
  vertical-align: middle;
}
.ee-casino-content .ee-ca-table-wrap tr:last-child td { border-bottom: none; }
.ee-casino-content .ee-ca-table-wrap tbody tr:nth-child(even) td {
  background: var(--ee-surface);
}
.ee-casino-content .ee-ca-table-wrap tr:hover td {
  background: transparent;
}
.ee-casino-content .ee-ca-table-wrap tbody tr:nth-child(even):hover td {
  background: var(--ee-surface);
}

@media (max-width: 640px) {
  .ee-ca-pros-cons { grid-template-columns: 1fr; }
  .ee-ca-topic-cards { grid-template-columns: 1fr; }
  .ee-ca-stats { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   EE Listing Rewriter â ee-listing-* components v1.0
   ============================================================ */

.ee-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.ee-listing-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  background: #fff;
}
.ee-listing-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .5rem;
}
.ee-listing-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.ee-listing-card__badge {
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.ee-listing-card__badge--top     { background: #fef3c7; color: #92400e; }
.ee-listing-card__badge--budget  { background: #d1fae5; color: #065f46; }
.ee-listing-card__badge--luxury  { background: #ede9fe; color: #5b21b6; }
.ee-listing-card__badge--family  { background: #dbeafe; color: #1e40af; }
.ee-listing-card__badge--central { background: #fee2e2; color: #991b1b; }
.ee-listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  font-size: .82rem;
  color: #6b7280;
  margin-bottom: .75rem;
}
.ee-listing-card__desc {
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: .75rem;
  color: #374151;
}
.ee-listing-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .78rem;
  margin-bottom: 1rem;
}
.ee-listing-card__facts span {
  background: #f3f4f6;
  padding: 3px 8px;
  border-radius: 4px;
  color: #374151;
}
.ee-listing-card__cta {
  display: inline-block;
  font-size: .85rem;
}

/* FAQ */
.ee-listing-faq { margin: 2rem 0; }
.ee-listing-faq__item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}
.ee-listing-faq__item h3 {
  font-size: 1rem;
  margin: 0 0 .5rem;
}
.ee-listing-faq__item p {
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
  color: #374151;
}

/* Responsive */
@media (max-width: 640px) {
  .ee-listing-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EE Hotel / Entity Page Components v1.0
   ============================================================ */

/* Quick Facts Box */
.ee-hotel-facts {
  background: #f0f7fb;
  border-left: 4px solid #326b88;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .6rem 1.5rem;
}
.ee-hotel-facts__item { font-size: .9rem; line-height: 1.4; color: #1a1a1a; }
.ee-hotel-facts__item strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #326b88;
  margin-bottom: 2px;
}

/* Image Gallery */
.ee-hotel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
  margin: 2rem 0;
}
.ee-hotel-gallery img { width:100%; height:200px; object-fit:cover; border-radius:6px; display:block; }
.ee-hotel-gallery a { display:block; }
.ee-hotel-gallery a:hover img { opacity:.9; }

/* Info Cards Grid */
.ee-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
  margin: 1.5rem 0 2rem;
}
.ee-info-card { background:#fff; border:1px solid #d0e4ed; border-radius:8px; padding:.9rem 1rem; text-align:center; }
.ee-info-card__icon { font-size:1.4rem; margin-bottom:.35rem; }
.ee-info-card__label { font-size:.7rem; text-transform:uppercase; letter-spacing:.07em; color:#326b88; font-weight:700; margin-bottom:.2rem; }
.ee-info-card__value { font-size:.88rem; font-weight:600; color:#1a1a1a; }

/* Entity FAQ */
.ee-listing-faq { margin:2rem 0; }
.ee-listing-faq__item { border-bottom:1px solid #e5e7eb; padding:1rem 0; }
.ee-listing-faq__item h3 { font-size:1rem !important; margin:0 0 .5rem; }
.ee-listing-faq__item p { font-size:.9rem; line-height:1.6; margin:0; color:#374151; }

/* Related Siblings */
.ee-listing-related { margin:2rem 0; }
.ee-listing-related__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1rem; }
.ee-listing-related__card { border:1px solid #e5e7eb; border-radius:6px; overflow:hidden; text-decoration:none; color:inherit; display:block; }
.ee-listing-related__card img { width:100%; height:110px; object-fit:cover; display:block; }
.ee-listing-related__card-no-img { height:110px; background:#e8f3f8; display:flex; align-items:center; justify-content:center; font-size:2rem; }
.ee-listing-related__card-body { padding:.6rem .8rem; font-size:.83rem; font-weight:600; }
.ee-listing-related__card:hover { border-color:#326b88; }

/* Responsive */
@media (max-width:640px) {
  .ee-listing-grid          { grid-template-columns:1fr; }
  .ee-listing-related__grid { grid-template-columns:1fr; }
  .ee-hotel-facts           { grid-template-columns:1fr 1fr; }
  .ee-info-cards            { grid-template-columns:repeat(2,1fr); }
  .ee-hotel-gallery         { grid-template-columns:1fr 1fr; }
}

/* ============================================================
   EE Listing Card â image variant
   ============================================================ */
.ee-listing-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ee-listing-card__img-link { display: block; }
.ee-listing-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.ee-listing-card__img-link:hover .ee-listing-card__img { opacity: .92; }
.ee-listing-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ee-listing-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .4rem;
  margin-bottom: .4rem;
}
.ee-listing-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.ee-listing-card__name a { color: #1a1a1a; text-decoration: none; }
.ee-listing-card__name a:hover { color: #326b88; }
.ee-listing-card__badge {
  font-size: .68rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.6;
}
.ee-listing-card__badge--top     { background: #fef3c7; color: #92400e; }
.ee-listing-card__badge--budget  { background: #d1fae5; color: #065f46; }
.ee-listing-card__badge--luxury  { background: #ede9fe; color: #5b21b6; }
.ee-listing-card__badge--family  { background: #dbeafe; color: #1e40af; }
.ee-listing-card__badge--central { background: #fee2e2; color: #991b1b; }
.ee-listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  font-size: .8rem;
  color: #6b7280;
  margin-bottom: .6rem;
}
.ee-listing-card__desc {
  font-size: .87rem;
  line-height: 1.5;
  color: #374151;
  margin-bottom: .7rem;
  flex: 1;
}
.ee-listing-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  font-size: .76rem;
  margin-bottom: .9rem;
}
.ee-listing-card__facts span {
  background: #f3f4f6;
  padding: 3px 8px;
  border-radius: 4px;
  color: #374151;
}
.ee-listing-card__cta {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  color: #326b88;
  text-decoration: none;
  border-top: 1px solid #e5e7eb;
  padding-top: .7rem;
  margin-top: auto;
}
.ee-listing-card__cta:hover { color: #1a4f6a; }

.ee-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 900px) { .ee-listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .ee-listing-grid { grid-template-columns: 1fr; } }


/* ============================================================
   EE In-Content Image Enhancement
   v1.0 — 2026-09-22
   Rounded corners, shadow, lightbox, portrait/landscape aware
   ============================================================ */

/* Anchor wrapper added by JS for lightbox */
.entry-content figure.wp-block-image a.ee-img-link {
  display: block;
  line-height: 0;
}

/* Base image styles */
.entry-content figure.wp-block-image img {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover zoom — desktop / mouse only */
@media (hover: hover) {
  .entry-content figure.wp-block-image a.ee-img-link {
    cursor: zoom-in;
  }
  .entry-content figure.wp-block-image a.ee-img-link:hover img {
    transform: scale(1.018);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  }
}

/* Portrait images (taller than wide) — JS adds .ee-img-portrait
   Constrains height so a 825x1100 photo doesn't swallow the page */
.entry-content figure.wp-block-image.ee-img-portrait img {
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

/* First in-content image — JS adds .ee-img-lead */
.entry-content figure.wp-block-image.ee-img-lead img {
  border-radius: 12px;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.18);
}
.entry-content figure.wp-block-image.ee-img-lead.ee-img-portrait img {
  max-height: 480px;
}

/* Figcaption — styled for when captions are added */
.entry-content figure.wp-block-image figcaption {
  text-align: center;
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.4;
  padding: 0 4px;
}

/* Gallery inner images — consistent radius, no shadow (gallery manages own layout) */
.entry-content figure.wp-block-gallery figure.wp-block-image img {
  border-radius: 8px;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 640px) {
  .entry-content figure.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  }
  .entry-content figure.wp-block-image.ee-img-portrait img {
    max-height: 340px;
  }
  .entry-content figure.wp-block-image.ee-img-lead img {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  .entry-content figure.wp-block-image.ee-img-lead.ee-img-portrait img {
    max-height: 300px;
  }
}
