/* Budapest Thermal Theme — Sugar Baby Magyarorszag */
/* bud- prefix | sibling-heavy flat grid | display:table cards */

:root {
  --bud-thermal: #C0392B;
  --bud-danube: #2471A3;
  --bud-night: #1B2631;
  --bud-thermal-light: #E74C3C;
  --bud-thermal-muted: #F5B7B1;
  --bud-danube-light: #5DADE2;
  --bud-danube-muted: #AED6F1;
  --bud-night-soft: #2C3E50;
  --bud-cream: #FDF2E9;
  --bud-ivory: #FDFEFE;
  --bud-stone: #ECF0F1;
  --bud-warm: #6E5040;
  --bud-gold: #D4A76A;
  --bud-gold-light: #E8C99B;
  --bud-font-serif: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;
  --bud-font-sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--bud-font-sans);
  color: var(--bud-night);
  background-color: var(--bud-ivory);
  line-height: 1.75;
  font-size: 17px;
  margin: 0;
  padding: 0;
}

/* -- Typography -- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bud-font-serif);
  color: var(--bud-night-soft);
  line-height: 1.3;
  margin-bottom: 0.75em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; border-bottom: 2px solid var(--bud-danube-muted); padding-bottom: 0.4em; margin-top: 2em; }
h3 { font-size: 1.5rem; color: var(--bud-danube); }
h4 { font-size: 1.25rem; }

a {
  color: var(--bud-danube);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--bud-danube-light);
  text-decoration: underline;
}

abbr[title] {
  text-decoration: underline dotted var(--bud-danube-muted);
  cursor: help;
  font-style: normal;
}

/* -- Header -- */

.bud-header {
  background: linear-gradient(135deg, var(--bud-night) 0%, var(--bud-night-soft) 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.bud-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bud-logo {
  font-family: var(--bud-font-serif);
  font-size: 1.4rem;
  color: var(--bud-danube-muted);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.bud-logo:hover {
  color: var(--bud-cream);
  text-decoration: none;
}

.bud-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.bud-nav a {
  color: var(--bud-cream);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.bud-nav a:hover {
  color: var(--bud-danube-light);
  border-bottom-color: var(--bud-danube);
  text-decoration: none;
}

/* -- Sibling-heavy flat grid wrapper -- */

.bud-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* -- Hero (div[role=banner]) -- */

.bud-hero {
  background: linear-gradient(160deg, var(--bud-night) 0%, var(--bud-thermal) 50%, var(--bud-danube) 100%);
  color: var(--bud-cream);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 -1.5rem;
}

.bud-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.02) 40px,
    rgba(255,255,255,0.02) 80px
  );
}

.bud-hero h1 {
  color: var(--bud-cream);
  font-size: 2.8rem;
  margin-bottom: 0.5em;
  position: relative;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bud-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  opacity: 0.92;
  position: relative;
}

.bud-hero-cta {
  display: inline-block;
  background: var(--bud-thermal);
  color: var(--bud-cream);
  font-weight: bold;
  padding: 0.9rem 2.5rem;
  border-radius: 6px;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
  position: relative;
  font-family: var(--bud-font-serif);
}

.bud-hero-cta:hover {
  background: var(--bud-thermal-light);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--bud-cream);
}

/* -- What-is (details[open]) -- */

.bud-what-is {
  padding: 3rem 0;
}

.bud-what-is summary {
  font-family: var(--bud-font-serif);
  font-size: 1.9rem;
  color: var(--bud-night-soft);
  cursor: pointer;
  border-bottom: 2px solid var(--bud-danube-muted);
  padding-bottom: 0.4em;
  list-style: none;
  margin-bottom: 1em;
}

.bud-what-is summary::-webkit-details-marker { display: none; }

.bud-what-is summary::before {
  content: '\25BC ';
  font-size: 0.7em;
  color: var(--bud-danube);
  margin-right: 0.4em;
}

.bud-what-is p {
  max-width: 820px;
  text-align: justify;
  hyphens: auto;
  margin-bottom: 1.3em;
}

/* -- How-it-works (ol) -- */

.bud-how-it-works {
  padding: 3rem 0;
  border-top: 1px solid var(--bud-stone);
}

.bud-how-it-works h2 {
  font-size: 1.9rem;
  border-bottom: 2px solid var(--bud-danube-muted);
  padding-bottom: 0.4em;
  margin-top: 0;
}

.bud-steps {
  counter-reset: bud-step;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.bud-steps li {
  counter-increment: bud-step;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  margin-bottom: 1rem;
  background: var(--bud-stone);
  border-radius: 6px;
  position: relative;
  border-left: 4px solid var(--bud-danube);
}

.bud-steps li::before {
  content: counter(bud-step);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  background: var(--bud-danube);
  color: var(--bud-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: var(--bud-font-serif);
}

.bud-steps li h3 {
  margin-top: 0;
  margin-bottom: 0.3em;
  font-size: 1.2rem;
}

.bud-steps li p {
  margin: 0;
  font-size: 0.95rem;
}

/* -- Cities (table) -- */

.bud-cities {
  padding: 3rem 0;
  border-top: 1px solid var(--bud-stone);
}

.bud-cities h2 {
  font-size: 1.9rem;
  border-bottom: 2px solid var(--bud-danube-muted);
  padding-bottom: 0.4em;
  margin-top: 0;
}

.bud-city-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.bud-city-table thead th {
  background: var(--bud-night-soft);
  color: var(--bud-cream);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--bud-font-serif);
}

.bud-city-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bud-danube-muted);
  vertical-align: top;
}

.bud-city-table tbody tr:nth-child(even) {
  background: var(--bud-stone);
}

.bud-city-table tbody tr:hover {
  background: var(--bud-danube-muted);
}

.bud-city-table a {
  color: var(--bud-danube);
  font-weight: 600;
}

.bud-city-table a:hover {
  color: var(--bud-thermal);
}

/* -- Blog (aside) -- */

.bud-blog {
  padding: 3rem 0;
  border-top: 1px solid var(--bud-stone);
}

.bud-blog h2 {
  font-size: 1.9rem;
  border-bottom: 2px solid var(--bud-danube-muted);
  padding-bottom: 0.4em;
  margin-top: 0;
}

.bud-blog-cards {
  display: table;
  width: 100%;
  border-spacing: 1.5rem 0;
  margin: 2rem -1.5rem;
}

.bud-blog-card {
  display: table-cell;
  vertical-align: top;
  width: 20%;
  background: var(--bud-stone);
  padding: 1.5rem;
  border-left: 4px solid var(--bud-thermal);
}

.bud-blog-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.bud-blog-card h3 a {
  color: var(--bud-night-soft);
}

.bud-blog-card h3 a:hover {
  color: var(--bud-thermal);
}

.bud-blog-card p {
  font-size: 0.9rem;
  color: var(--bud-warm);
  margin-bottom: 0.5rem;
}

.bud-blog-card time {
  font-size: 0.82rem;
  color: var(--bud-warm);
  opacity: 0.7;
}

/* -- Sugar Daddy (article) -- */

.bud-sugar-daddy {
  padding: 3rem 0;
  border-top: 1px solid var(--bud-stone);
}

.bud-sugar-daddy h2 {
  font-size: 1.9rem;
  border-bottom: 2px solid var(--bud-danube-muted);
  padding-bottom: 0.4em;
  margin-top: 0;
}

.bud-sugar-daddy p {
  max-width: 820px;
  text-align: justify;
  hyphens: auto;
  margin-bottom: 1.3em;
}

/* -- Legal (small) -- */

.bud-legal {
  padding: 2rem 0;
  border-top: 1px solid var(--bud-stone);
  font-size: 0.85rem;
  color: var(--bud-warm);
  max-width: 820px;
}

.bud-legal p {
  margin-bottom: 0.8em;
}

/* -- CTA Section -- */

.bud-cta {
  background: linear-gradient(135deg, var(--bud-night) 0%, var(--bud-thermal) 100%);
  color: var(--bud-cream);
  padding: 3rem 1.5rem;
  text-align: center;
  margin: 3rem -1.5rem 0;
}

.bud-cta h2 {
  color: var(--bud-danube-muted);
  border: none;
  margin-top: 0;
}

.bud-cta p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.bud-cta-btn {
  background: var(--bud-danube);
  color: var(--bud-cream);
  font-weight: bold;
  padding: 0.9rem 2.5rem;
  border-radius: 6px;
  font-size: 1.1rem;
  display: inline-block;
  transition: background 0.2s;
  font-family: var(--bud-font-serif);
}

.bud-cta-btn:hover {
  background: var(--bud-danube-light);
  text-decoration: none;
  color: var(--bud-cream);
}

/* -- Footer -- */

.bud-footer {
  background: var(--bud-night);
  color: var(--bud-danube-muted);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.bud-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bud-footer h4 {
  color: var(--bud-danube-light);
  font-family: var(--bud-font-serif);
  margin-bottom: 1rem;
}

.bud-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bud-footer li {
  margin-bottom: 0.5rem;
}

.bud-footer a {
  color: var(--bud-danube-muted);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.bud-footer a:hover {
  opacity: 1;
  color: var(--bud-cream);
  text-decoration: none;
}

.bud-footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.2rem 1.5rem 0;
  border-top: 1px solid rgba(36,113,163,0.2);
  text-align: center;
  opacity: 0.7;
  font-size: 0.85rem;
}

/* -- Post/Article page -- */

.bud-post-header {
  padding: 3rem 0 2rem;
  background: var(--bud-stone);
  border-bottom: 2px solid var(--bud-danube-muted);
}

.bud-post-header h1 {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}

.bud-post-meta {
  max-width: 820px;
  margin: 0.5rem auto 0;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: var(--bud-warm);
}

/* -- City hero -- */

.bud-city-hero {
  background: linear-gradient(160deg, var(--bud-danube) 0%, var(--bud-night-soft) 100%);
  color: var(--bud-cream);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.bud-city-hero h1 {
  color: var(--bud-cream);
  font-size: 2.4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* -- Breadcrumbs -- */

.bud-breadcrumbs {
  padding: 1rem 0;
  font-size: 0.88rem;
  color: var(--bud-warm);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.bud-breadcrumbs a {
  color: var(--bud-danube);
}

.bud-breadcrumbs span {
  margin: 0 0.4rem;
  opacity: 0.6;
}

/* -- Content body -- */

.bud-content {
  padding: 3rem 0;
}

.bud-content-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}

.bud-content-inner p {
  margin-bottom: 1.3em;
  text-align: justify;
  hyphens: auto;
}

.bud-content-inner ul, .bud-content-inner ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.bud-content-inner li {
  margin-bottom: 0.5em;
}

/* -- Info/Tip boxes -- */

.bud-info-box {
  background: linear-gradient(135deg, var(--bud-stone), white);
  border: 1px solid var(--bud-danube-muted);
  border-radius: 8px;
  padding: 1.8rem;
  margin: 2rem 0;
}

.bud-info-box h3 {
  margin-top: 0;
  color: var(--bud-danube);
}

.bud-tip-box {
  background: linear-gradient(135deg, #eaf2f8, #d6eaf8);
  border-left: 4px solid var(--bud-danube);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.bud-tip-box strong {
  color: var(--bud-danube);
}

/* -- Table general -- */

.bud-content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.bud-content-inner th {
  background: var(--bud-night-soft);
  color: var(--bud-cream);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--bud-font-serif);
}

.bud-content-inner td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--bud-danube-muted);
}

.bud-content-inner tr:nth-child(even) {
  background: var(--bud-stone);
}

/* -- Archive page -- */

.bud-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.bud-article-card {
  background: var(--bud-stone);
  border-radius: 8px;
  padding: 1.8rem;
  border-left: 4px solid var(--bud-thermal);
  transition: border-color 0.2s;
}

.bud-article-card:hover {
  border-left-color: var(--bud-danube);
}

.bud-article-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.bud-article-card h3 a {
  color: var(--bud-night-soft);
}

.bud-article-card p {
  font-size: 0.93rem;
  color: var(--bud-warm);
}

/* -- Responsive -- */

@media (max-width: 768px) {
  .bud-hero h1 { font-size: 2rem; }
  .bud-hero { padding: 2.5rem 1.5rem 2rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .bud-nav ul { gap: 0.8rem; }
  .bud-nav a { font-size: 0.85rem; }
  .bud-logo { font-size: 1.15rem; }
  body { font-size: 16px; }
  .bud-content-inner p { text-align: left; }
  .bud-footer-inner { grid-template-columns: 1fr; }
  .bud-blog-cards {
    display: block;
  }
  .bud-blog-card {
    display: block;
    width: auto;
    margin-bottom: 1rem;
  }
  .bud-city-table { font-size: 0.9rem; }
  .bud-city-table th, .bud-city-table td { padding: 0.5rem 0.6rem; }
}

@media (max-width: 480px) {
  .bud-header-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
  .bud-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }
  .bud-hero h1 { font-size: 1.65rem; }
}

/* -- Print -- */

@media print {
  .bud-header, .bud-footer, .bud-cta { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
