/* ===== WTT GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap&display=swap');

/* ===== WTT DESIGN TOKENS ===== */
:root {
  --wtt-green:          #1a3a2a;
  --wtt-green-mid:      #2d5c42;
  --wtt-green-light:    #4a8c65;
  --wtt-terracotta:     #c4622d;
  --wtt-terracotta-lt:  #e07a45;
  --wtt-sand:           #f4ede0;
  --wtt-sand-dark:      #e8d8c4;
  --wtt-cream:          #faf7f2;
  --wtt-text:           #1a1a1a;
  --wtt-text-mid:       #4a4a4a;
  --wtt-text-light:     #7a7a7a;
  --wtt-border:         rgba(26, 58, 42, 0.12);
  --font-display:       'Playfair Display', Georgia, serif;
  --font-body:          'DM Sans', system-ui, sans-serif;
}

/* ===== GLOBAL RESET FOR WTT ===== */
body {
  font-family: var(--font-body);
  color: var(--wtt-text);
  background: var(--wtt-cream);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
}

/* ===== NAVIGATION ===== */
.site-header {
  background: var(--wtt-green) !important;
}
.main-navigation a {
  color: rgba(255,255,255,0.78) !important;
  font-family: var(--font-body);
}
.main-navigation a:hover {
  color: #fff !important;
}
.site-title a {
  font-family: var(--font-display);
  color: #fff !important;
  font-size: 20px;
}
.site-description {
  color: rgba(255,255,255,0.5) !important;
  font-size: 12px;
}

/* ===== BUTTONS ===== */
.wtt-btn-primary {
  background: var(--wtt-green);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
}
.wtt-btn-primary:hover {
  background: var(--wtt-green-mid);
  color: #fff;
}
.wtt-btn-accent {
  background: var(--wtt-terracotta);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
}
.wtt-btn-accent:hover {
  background: var(--wtt-terracotta-lt);
  color: #fff;
}
.wtt-btn-outline {
  background: transparent;
  color: var(--wtt-green);
  border: 1.5px solid var(--wtt-green);
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}
.wtt-btn-outline:hover {
  background: var(--wtt-green);
  color: #fff;
}

/* ===== HERO SECTION ===== */
.wtt-hero {
  background: var(--wtt-green);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px 48px;
  text-align: center;
}
.wtt-hero h1 {
  font-size: 52px;
  color: #fff;
  max-width: 640px;
  margin-bottom: 16px;
}
.wtt-hero h1 em {
  font-style: italic;
  color: var(--wtt-sand);
}
.wtt-hero p {
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-eyebrow {
  color: var(--wtt-terracotta-lt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ===== SEARCH BOX ===== */
.wtt-search-box {
  display: flex;
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.wtt-search-box input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--wtt-text);
  outline: none;
}
.wtt-search-box input::placeholder {
  color: var(--wtt-text-light);
}
.wtt-search-box button {
  background: var(--wtt-terracotta);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.wtt-search-box button:hover {
  background: var(--wtt-terracotta-lt);
}

/* ===== SECTIONS ===== */
.wtt-section {
  padding: 56px 32px;
}
.wtt-section-sand {
  padding: 56px 32px;
  background: var(--wtt-sand);
}
.wtt-section-dark {
  padding: 56px 32px;
  background: var(--wtt-green);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 26px;
  color: var(--wtt-green);
}
.section-header a {
  font-size: 13px;
  color: var(--wtt-terracotta);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.section-header a:hover {
  text-decoration: underline;
}

/* ===== CITY CARDS ===== */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.city-card {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  text-decoration: none;
}
.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.city-thumb {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
}
.city-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}
.city-label {
  position: relative;
  z-index: 1;
}
.city-label h3 {
  font-size: 20px;
  color: #fff;
  line-height: 1.1;
}
.city-label span {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.city-info {
  background: #fff;
  padding: 14px 16px;
}
.city-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag-pill {
  font-size: 11px;
  background: var(--wtt-sand);
  color: var(--wtt-green-mid);
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 500;
}

/* ===== CITY GUIDE PAGE ===== */
.city-hero {
  height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  background-size: cover;
  background-position: center;
}
.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}
.city-hero-content {
  position: relative;
  z-index: 1;
}
.city-hero-content h1 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 8px;
}
.city-hero-content p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  max-width: 500px;
}
.city-hero-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.hero-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
}
.city-nav {
  background: #fff;
  border-bottom: 1px solid var(--wtt-border);
  padding: 0 32px;
  display: flex;
  gap: 0;
  position: sticky;
  top: 0;
  z-index: 90;
  overflow-x: auto;
}
.city-nav-link {
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--wtt-text-mid);
  font-weight: 400;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
}
.city-nav-link:hover {
  color: var(--wtt-green);
}
.city-nav-link.active {
  color: var(--wtt-green);
  font-weight: 600;
  border-bottom-color: var(--wtt-terracotta);
}
.city-content {
  display: grid;
  grid-template-columns: 1fr 300px;
}
.city-main {
  padding: 40px 32px;
}
.city-sidebar {
  padding: 32px 24px;
  background: var(--wtt-cream);
  border-left: 1px solid var(--wtt-border);
}

/* ===== SIDEBAR WIDGETS ===== */
.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 0.5px solid var(--wtt-border);
  margin-bottom: 16px;
}
.sidebar-widget h3 {
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--wtt-green);
  margin-bottom: 14px;
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.booking-form label {
  font-size: 11px;
  color: var(--wtt-text-light);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.booking-form input,
.booking-form select {
  width: 100%;
  padding: 9px 12px;
  border: 0.5px solid var(--wtt-border);
  border-radius: 7px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--wtt-text);
  background: var(--wtt-cream);
  outline: none;
}
.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--wtt-green-light);
}
.book-btn {
  background: var(--wtt-terracotta);
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.book-btn:hover {
  background: var(--wtt-terracotta-lt);
}
.affiliate-badge {
  font-size: 10px;
  color: var(--wtt-text-light);
  text-align: center;
  margin-top: 6px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--wtt-text) !important;
  color: rgba(255,255,255,0.6) !important;
  padding: 48px 32px 24px !important;
}
.site-footer a {
  color: rgba(255,255,255,0.6) !important;
}
.site-footer a:hover {
  color: #fff !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .city-content { grid-template-columns: 1fr; }
  .city-sidebar { border-left: none; border-top: 1px solid var(--wtt-border); }
  .wtt-hero h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .city-grid { grid-template-columns: 1fr; }
  .wtt-section, .wtt-section-sand, .wtt-section-dark { padding: 36px 20px; }
}

/* ===== GENERATEPRESS FULL WIDTH — DEFINITIVE FIX ===== */

/* Target ALL custom WTT templates */
body[class*="page-template-page-templates"] .grid-container {
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
}

body[class*="page-template-page-templates"] #primary {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body[class*="page-template-page-templates"] #secondary {
  display: none !important;
}

body[class*="page-template-page-templates"] .site-content {
  display: block !important;
}

body[class*="page-template-page-templates"] .inside-article,
body[class*="page-template-page-templates"] .entry-content,
body[class*="page-template-page-templates"] .entry-header,
body[class*="page-template-page-templates"] .post-image {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Remove page title showing above content */
body[class*="page-template-page-templates"] .entry-header {
  display: none !important;
}

/* ===== CITY GUIDE FULL WIDTH FIX ===== */
body[class*="page-template-page-templates-template-city"] .grid-container,
body[class*="page-template-page-templates-template-city"] #primary,
body[class*="page-template-page-templates-template-city"] .content-area,
body[class*="page-template-page-templates-template-city"] .inside-article,
body[class*="page-template-page-templates-template-city"] .entry-content,
body[class*="page-template-page-templates-template-city"] .entry-header {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
}
body[class*="page-template-page-templates-template-city"] #secondary {
  display: none !important;
}
body[class*="page-template-page-templates-template-city"] .entry-header {
  display: none !important;
}

/* Also apply to B2B page */
body[class*="page-template-page-templates-template-b2b"] .grid-container,
body[class*="page-template-page-templates-template-b2b"] #primary,
body[class*="page-template-page-templates-template-b2b"] .content-area,
body[class*="page-template-page-templates-template-b2b"] .inside-article,
body[class*="page-template-page-templates-template-b2b"] .entry-content,
body[class*="page-template-page-templates-template-b2b"] .entry-header {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
}
body[class*="page-template-page-templates-template-b2b"] #secondary {
  display: none !important;
}