.tme-card-wrap,
.tme-affiliate-card,
.tme-amazon-card,
.tme-expedia-card,
.tme-gyg-card,
.tme-cta-box,
.tme-compare-wrap,
.tme-post-grid-shell {
  font-family: var(--global-body-font-family, inherit);
}

.home .content-area,
.home .site-main,
.page-template-page-home-no-title .content-area,
.page-template-page-home-no-title .site-main{
  width:100%;
  max-width:100%;
}

.page-template-page-home-no-title .entry-header,
.page-template-page-home-no-title .hero-section .entry-header,
.home.page .entry-header{
  display:none;
}

.tme-section-shell,
.tme-home-shell{
  max-width:var(--tme-max);
  margin-inline:auto;
}

.tme-home-shell{
  padding: clamp(16px, 2.3vw, 28px);
}

.tme-home-hero{
  padding-block: clamp(10px, 2vw, 18px) clamp(8px, 1.5vw, 12px);
}

.tme-home-hero .wp-block-columns,
.tme-home-shell .wp-block-columns{
  gap: clamp(18px, 3vw, 34px);
}

.tme-home-eyebrow{
  color:var(--tme-primary);
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.tme-home-note,
.tme-disclosure-inline,
.tme-mini-note{
  font-size:13px;
  line-height:1.6;
  color:var(--tme-muted);
}

.tme-home-hero-image img,
.tme-feature-image img{
  width:100%;
  height:auto;
  border-radius:16px;
  display:block;
}

.tme-category-links{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.tme-category-link{
  display:block;
  padding:22px 18px;
  background:var(--tme-bg);
  border:1px solid var(--tme-border);
  border-radius:var(--tme-radius);
  box-shadow:var(--tme-shadow-soft);
  text-decoration:none;
  color:var(--tme-text);
}

.tme-category-link strong{
  display:block;
  font-family:var(--global-heading-font-family, inherit);
  font-size:18px;
  margin-bottom:8px;
}

.tme-category-link span{
  color:var(--tme-muted);
  line-height:1.6;
  font-size:14px;
}

.tme-card-wrap{ width:100%; box-sizing:border-box; }
.tme-product-card,
.tme-affiliate-card,
.tme-cta-box,
.tme-post-card{
  width:100%;
  background:var(--tme-bg);
  border:1px solid var(--tme-border);
  border-radius:var(--tme-radius);
  box-shadow:var(--tme-shadow-soft);
  overflow:hidden;
  box-sizing:border-box;
}

.tme-product-card{ max-width:360px; margin:0 auto; }

.tme-card-header{
  background:linear-gradient(135deg, var(--tme-secondary), var(--tme-primary));
  color:#fff;
  text-align:center;
  padding:12px 16px;
  font-size:15px;
  font-weight:700;
  font-family:var(--global-heading-font-family, inherit);
  line-height:1.3;
}

.tme-card-body{ padding:18px; text-align:center; }

.tme-card-image,
.tme-affiliate-image,
.tme-post-thumb{
  width:100%;
  min-height:180px;
  overflow:hidden;
  background:#fff;
  box-sizing:border-box;
}

.tme-card-image,
.tme-affiliate-image{
  aspect-ratio:1 / 1;
  max-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--tme-border);
  border-radius:12px;
  margin-bottom:14px;
}

.tme-post-thumb{ aspect-ratio:16 / 10; }
.tme-post-thumb img,
.tme-card-image img,
.tme-affiliate-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.tme-card-image img,
.tme-affiliate-image img{ object-fit:contain; }

.tme-card-title,
.tme-affiliate-title,
.tme-cta-title,
.tme-section-title,
.tme-post-card-title{
  font-family:var(--global-heading-font-family, inherit);
  color:var(--tme-text);
}

.tme-card-title{ font-size:18px; font-weight:700; line-height:1.35; margin:0 0 10px; }
.tme-card-rating,.tme-card-badges{ margin-bottom:10px; }
.tme-card-rating{ color:var(--tme-accent); font-size:14px; font-weight:700; line-height:1.4; }
.tme-card-badges{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.tme-badge,.tme-affiliate-label{
  display:inline-flex; align-items:center; justify-content:center; min-height:30px;
  padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700; line-height:1.2;
}
.tme-badge{ background:#eef8ff; color:var(--tme-secondary); border:1px solid #d8ebff; }
.tme-card-desc,.tme-affiliate-text,.tme-cta-text,.tme-disclosure,.tme-compare-note,.tme-post-card-excerpt{ color:var(--tme-muted); }
.tme-card-desc,.tme-affiliate-text,.tme-cta-text,.tme-post-card-excerpt{ font-size:14px; line-height:1.65; }
.tme-card-features{ margin:14px 0 18px; padding:0; list-style:none; text-align:left; }
.tme-card-features li{ position:relative; padding-left:18px; margin:0 0 8px; color:var(--tme-text); font-size:14px; line-height:1.5; }
.tme-card-features li::before{ content:'•'; position:absolute; left:0; top:0; color:var(--tme-primary); font-weight:700; }

.tme-amazon-btn,
.tme-expedia-btn,
.tme-gyg-btn,
.tme-brand-btn,
.tme-cta-btn,
.tme-card-inline-link,
.tme-view-all-link{
  display:inline-flex; align-items:center; justify-content:center; width:auto;
  padding:13px 16px; border-radius:10px; text-decoration:none; font-size:14px; font-weight:700;
  line-height:1.2; transition:transform .2s ease, opacity .2s ease, background-color .2s ease; box-sizing:border-box;
}
.tme-amazon-btn{ width:100%; max-width:100%; background:var(--tme-accent); color:#111827; }
.tme-expedia-btn,.tme-gyg-btn,.tme-brand-btn,.tme-cta-btn,.tme-card-inline-link,.tme-view-all-link{ background:var(--tme-primary); color:#fff; }
.tme-amazon-btn:hover,.tme-amazon-btn:focus,.tme-expedia-btn:hover,.tme-expedia-btn:focus,.tme-gyg-btn:hover,.tme-gyg-btn:focus,.tme-brand-btn:hover,.tme-brand-btn:focus,.tme-cta-btn:hover,.tme-cta-btn:focus,.tme-card-inline-link:hover,.tme-card-inline-link:focus,.tme-view-all-link:hover,.tme-view-all-link:focus{ opacity:.96; transform:translateY(-1px); text-decoration:none; }
.tme-expedia-btn:hover,.tme-expedia-btn:focus,.tme-gyg-btn:hover,.tme-gyg-btn:focus,.tme-brand-btn:hover,.tme-brand-btn:focus,.tme-cta-btn:hover,.tme-cta-btn:focus,.tme-card-inline-link:hover,.tme-card-inline-link:focus,.tme-view-all-link:hover,.tme-view-all-link:focus{ background:var(--tme-secondary); color:#fff; }

.tme-disclosure{ font-size:12px; line-height:1.55; text-align:center; padding:12px 16px 16px; }
.tme-affiliate-card{ padding:22px; display:flex; flex-direction:column; gap:14px; }
.tme-affiliate-label{ align-self:flex-start; background:#ecfeff; color:var(--tme-secondary); border:1px solid #c9f1f1; text-transform:uppercase; letter-spacing:.04em; }
.tme-affiliate-title,.tme-section-title{ font-size:28px; line-height:1.2; margin:0; }
.tme-section-title{ font-size: clamp(26px, 3.5vw, 34px); }

.tme-section-heading-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.tme-post-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.tme-post-card-body{ padding:18px; }
.tme-post-card-title{ font-size:22px; line-height:1.3; margin:0 0 10px; }
.tme-post-card-title a{ color:inherit; text-decoration:none; }
.tme-post-card-title a:hover{ color:var(--tme-secondary); }

.tme-cta-box{ padding:24px; }
.tme-compare-wrap{ overflow-x:auto; border:1px solid var(--tme-border); border-radius:var(--tme-radius); background:var(--tme-bg); }
.tme-compare-table{ width:100%; border-collapse:collapse; min-width:720px; }
.tme-compare-table th,.tme-compare-table td{ padding:14px 16px; border-bottom:1px solid var(--tme-border); text-align:left; vertical-align:top; }
.tme-compare-table th{ background:#f8fbfd; font-family:var(--global-heading-font-family, inherit); }
.tme-col-best{ font-weight:700; }
.tme-compare-note{ font-size:12px; margin-top:10px; }

@media (max-width: 1024px){
  .tme-category-links,
  .tme-post-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px){
  .tme-home-shell{ padding:16px; }
  .tme-category-links,
  .tme-post-grid{ grid-template-columns:1fr; }
  .tme-section-heading-row{ flex-direction:column; align-items:flex-start; }
  .tme-affiliate-title,.tme-section-title,.tme-post-card-title{ font-size:24px; }
  .tme-card-body,.tme-affiliate-card,.tme-cta-box,.tme-post-card-body{ padding:16px; }
}


/* AMAZON CTA BUTTON FIX */

.tme-amazon-btn,
.tme-best-btn,
.tme-card-button,
.tme-product-card a.button,
.tme-product-card .wp-block-button__link {

    background: #FF9900 !important;
    color: #ffffff !important;
    border: none !important;

    font-weight: 600;
    padding: 12px 18px;
    border-radius: 6px;

    text-decoration: none;
    display: inline-block;

}

.tme-amazon-btn:hover,
.tme-best-btn:hover,
.tme-card-button:hover,
.tme-product-card a.button:hover,
.tme-product-card .wp-block-button__link:hover {

    background: #e68a00 !important;
    color: #ffffff !important;

}

/* GetYourGuide widget spacing */

.tme-gyg-wrap{
  max-width: 100%;
  margin: 32px auto;
}

.tme-gyg-wrap [data-gyg-widget]{
  width: 100%;
}

/* Expedia widget */

.tme-expedia-widget{
max-width:1200px;
margin:40px auto;
padding:10px;
}

.eg-widget{
width:100%;
}