/*
Theme Name: Balázs Personal
Theme URI: https://example.com/
Author: Pópity Balázs
Description: Modern, editorial, business-focused WordPress block theme for a personal brand site.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: balazs-personal
*/

:root {
  --bp-ink: #1d2731;
  --bp-paper: #eef2f5;
  --bp-paper-2: #dce4ea;
  --bp-muted: #66727c;
  --bp-accent: #70899b;
  --bp-line: rgba(29,39,49,.28);
  --bp-white: #f8fafb;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  overflow-x: hidden;
  margin: 0;
  background: var(--bp-paper);
  color: var(--bp-ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bp-shell { max-width: 1600px; margin-inline: auto; }

/* Header — clean, almost invisible */
.bp-header {
  background: rgba(238,242,245,.92) !important;
  color: var(--bp-ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 0 !important;
  box-shadow: none !important;
}
.bp-header a { color: var(--bp-ink) !important; }
.bp-header .wp-block-site-title a {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.bp-header-nav a {
  font-size: .76rem !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Hero — image stays clean, no white veil */
.bp-hero {
  min-height: clamp(620px, 78vh, 860px);
  background: #8a9aa6;
  border-bottom: 1px solid var(--bp-line);
  overflow: hidden;
}
.bp-hero::before,
.bp-hero::after { display: none !important; content: none !important; }
.bp-hero .wp-block-cover__background { background: transparent !important; opacity: 0 !important; }
.bp-hero .wp-block-cover__inner-container { width: 100%; position: relative; z-index: 2; }
.bp-hero-copy { max-width: 820px; }

.bp-kicker {
  display: inline-block;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Brutalist display typography only for titles */
.bp-hero-title,
.bp-section-title,
.bp-manifesto,
.bp-about-title,
.bp-footer-title,
.bp-card-title {
  font-family: "Archivo Black", sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase;
}

.bp-hero-title {
  max-width: 980px;
  margin-left: -.045em;
  font-size: clamp(4.8rem, 10.5vw, 12rem) !important;
  line-height: .79 !important;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.bp-hero-lead {
  max-width: 560px;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: inherit;
}
.bp-arrow-link a {
  color: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.wp-block-button__link {
  border: 1px solid var(--bp-ink) !important;
  border-radius: 0 !important;
  background: var(--bp-ink) !important;
  color: var(--bp-white) !important;
  box-shadow: none !important;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease;
}
.wp-block-button__link:hover {
  background: transparent !important;
  color: var(--bp-ink) !important;
}

/* Sections */
#cikkek,
.bp-newsletter,
.bp-about-home {
  background: var(--bp-paper) !important;
  color: var(--bp-ink) !important;
}

.bp-section-title,
.bp-manifesto,
.bp-about-title,
.bp-footer-title {
  margin-left: -.045em;
  font-size: clamp(4.2rem, 9.8vw, 11rem) !important;
  line-height: .8 !important;
  letter-spacing: -.06em;
}

.bp-card {
  padding-top: 1rem;
  border-top: 1px solid var(--bp-line);
}
.bp-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.72) contrast(1.03);
}
.bp-card-title {
  font-size: clamp(1.8rem, 3vw, 3.4rem) !important;
  line-height: .9 !important;
  letter-spacing: -.045em;
}
.bp-card .wp-block-post-excerpt { color: var(--bp-muted); }

/* Dark blocks become blue-grey, not black */
.bp-dark {
  background: #344451 !important;
  color: var(--bp-white) !important;
}
.bp-dark .bp-kicker,
.bp-dark .wp-block-heading,
.bp-dark p,
.bp-dark a { color: var(--bp-white) !important; }

.bp-about-copy,
.bp-newsletter-copy,
.bp-contact-copy {
  font-size: clamp(1.3rem, 2.35vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 600;
}

.bp-newsletter {
  background: var(--bp-paper-2) !important;
  border-top: 1px solid var(--bp-line);
  border-bottom: 1px solid var(--bp-line);
}
.bp-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--bp-ink);
  background: transparent;
}
.bp-newsletter-form input,
.bp-newsletter-form button {
  min-height: 62px;
  border: 0;
  border-radius: 0;
  font: inherit;
}
.bp-newsletter-form input {
  min-width: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--bp-ink);
  outline: none;
}
.bp-newsletter-form button {
  padding: 0 22px;
  background: var(--bp-ink);
  color: var(--bp-white);
  border-left: 1px solid var(--bp-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}

.wp-block-separator { border-top: 1px solid currentColor !important; }

@media (max-width: 960px) {
  .bp-hero { min-height: 760px; }
  .bp-hero .wp-block-cover__image-background { object-position: 67% center !important; }
}

@media (max-width: 640px) {
  .bp-header-nav { display: none !important; }
  .bp-hero { min-height: 700px; }
  .bp-hero .wp-block-cover__image-background { object-position: 70% center !important; }
  .bp-hero-title { font-size: clamp(4rem, 18vw, 7rem) !important; }
  .bp-section-title,
  .bp-manifesto,
  .bp-about-title,
  .bp-footer-title { font-size: clamp(3.8rem, 17vw, 6.5rem) !important; }
  .bp-newsletter-form { grid-template-columns: 1fr; }
  .bp-newsletter-form button { border-left: 0; border-top: 1px solid var(--bp-ink); }
}
