/* Shared theme for ports_cruises pages */

:root {
  --pc-bg: #f7f2eb;
  --pc-ink: #122c4f;
  --pc-accent-soft: #a8c2d9;
  --pc-accent: #ffa352;

  --pc-muted: rgba(18, 44, 79, 0.72);

  --pc-text-desktop: 18px;
  --pc-text-mobile: 14px;
  --pc-h-desktop: 30px;
  --pc-h-mobile: 22px;

  --pc-page-pad-desktop: 24px;
  --pc-page-pad-mobile: 16px;

  --pc-content-max: 1400px;
}

body.pc-theme {
  background: var(--pc-bg);
  color: var(--pc-ink);
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--pc-text-desktop);
  line-height: 1.4;
  padding: var(--pc-page-pad-desktop);
}

body.pc-theme.has-site-header {
  padding-top: calc(68px + var(--pc-page-pad-desktop));
}

body.pc-theme main.pc-main {
  max-width: var(--pc-content-max);
  margin: 0 auto;
}

body.pc-theme h1,
body.pc-theme h2,
body.pc-theme h3 {
  color: var(--pc-ink);
  font-size: var(--pc-h-desktop);
  line-height: 1.15;
}

body.pc-theme p,
body.pc-theme li,
body.pc-theme td,
body.pc-theme th,
body.pc-theme label,
body.pc-theme input,
body.pc-theme select,
body.pc-theme button,
body.pc-theme a {
  font-size: var(--pc-text-desktop);
}

body.pc-theme a {
  color: var(--pc-ink);
  text-decoration: none;
}

body.pc-theme a:hover {
  color: var(--pc-accent);
  text-decoration: none;
}

body.pc-theme .muted {
  color: var(--pc-muted);
}

/* Buttons: transparent, no border by default, pill radius */
body.pc-theme .pc-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  background: transparent;
  border-color: var(--pc-ink);
  color: var(--pc-ink);
  border-radius: 30px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

body.pc-theme .pc-btn:hover {
  border-color: var(--pc-accent);
  color: var(--pc-accent);
}

body.pc-theme .pc-btn:disabled,
body.pc-theme .pc-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Compact icon-only button */
body.pc-theme .pc-btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 30px;
}

@media (max-width: 768px) {
  body.pc-theme {
    font-size: var(--pc-text-mobile);
    padding: var(--pc-page-pad-mobile);
  }

  body.pc-theme.has-site-header {
    padding-top: calc(68px + var(--pc-page-pad-mobile));
  }

  body.pc-theme h1,
  body.pc-theme h2,
  body.pc-theme h3 {
    font-size: var(--pc-h-mobile);
  }

  body.pc-theme p,
  body.pc-theme li,
  body.pc-theme td,
  body.pc-theme th,
  body.pc-theme label,
  body.pc-theme input,
  body.pc-theme select,
  body.pc-theme button,
  body.pc-theme a {
    font-size: var(--pc-text-mobile);
  }

  body.pc-theme .pc-btn {
    font-size: var(--pc-text-mobile);
  }
}

