/*
Theme Name: TADC Slovensko
Theme URI: https://example.com/tadc-slovensko
Author: OpenAI Codex
Author URI: https://openai.com
Description: Fanusikovska WordPress tema pre komunitny web TADC Slovensko.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tadc-slovensko
*/

:root {
  --bg: #181318;
  --panel: rgba(42, 34, 49, 0.9);
  --panel-soft: rgba(48, 38, 58, 0.88);
  --text: #f0ebfb;
  --muted: #c0b4cf;
  --lavender: #a999ca;
  --yellow: #ffd84e;
  --red: #f2334d;
  --purple: #9454ea;
  --blue: #59aaf9;
  --green: #3b8c73;
  --gold: #8d7340;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  --radius-lg: 20px;
  --radius-md: 16px;
  --max-width: 1120px;
  --font-display: "Arial Rounded MT Bold", "Trebuchet MS", "Gill Sans", sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
  --site-background-image: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.45;
  background:
    linear-gradient(rgba(20, 15, 22, 0.88), rgba(20, 15, 22, 0.9)),
    var(--site-background-image),
    linear-gradient(180deg, rgba(148, 84, 234, 0.05), transparent 24%);
  background-color: var(--bg);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(24, 19, 24, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner,
.homepage-section,
.site-footer__inner,
.site-main > article {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.site-branding__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.site-branding__icon {
  font-size: 0.95rem;
}

.site-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-title a {
  color: var(--lavender);
}

.site-tagline {
  display: none;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--lavender);
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.homepage-section {
  padding: 1.2rem 0 1.45rem;
}

.section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--lavender);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title,
.hero-title,
.news-title {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
}

.section-title__accent--yellow,
.hero-title__accent {
  color: var(--yellow);
}

.section-title__accent--red {
  color: var(--red);
}

.news-title__accent {
  color: var(--purple);
}

.section-copy,
.hero-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.1vw, 1rem);
}

.hero {
  padding-top: 1rem;
}

.hero__logo-box,
.visual-placeholder {
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.hero__logo-box {
  display: grid;
  place-items: center;
  min-height: 88px;
  max-width: 520px;
  margin: 0 auto 0.95rem;
  padding: 0.8rem;
  text-align: center;
  color: rgba(169, 153, 202, 0.56);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.hero__logo-box span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.hero__inner {
  text-align: center;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 2px solid rgba(194, 163, 59, 0.55);
  background: rgba(194, 163, 59, 0.14);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 5.6vw, 3.8rem);
}

.hero-copy {
  max-width: 36rem;
  margin: 0.7rem auto 0.9rem;
}

.hero-copy strong {
  color: var(--text);
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--red);
  color: #fff6f7;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.countdown {
  padding-top: 0.35rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.countdown-card {
  position: relative;
  padding: 0.8rem 0.7rem 0.7rem;
  text-align: center;
  border-radius: 18px;
  background: rgba(40, 32, 48, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.countdown-card::after {
  content: ":";
  position: absolute;
  top: 50%;
  right: -0.45rem;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 2rem;
}

.countdown-card:last-child::after {
  display: none;
}

.countdown-card__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 0.92;
}

.countdown-card__label {
  margin-top: 0.3rem;
  color: var(--lavender);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.countdown-card--days .countdown-card__value {
  color: var(--red);
}

.countdown-card--hours .countdown-card__value {
  color: var(--yellow);
}

.countdown-card--minutes .countdown-card__value {
  color: var(--blue);
}

.countdown-card--seconds .countdown-card__value {
  color: var(--purple);
}

.countdown-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  color: var(--lavender);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-grid,
.help-grid {
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  gap: 1.2rem;
  align-items: start;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 0.95rem;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 0.75rem;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.about-copy strong {
  color: var(--text);
}

.about-facts,
.steps-stack,
.post-list {
  display: grid;
  gap: 0.85rem;
}

.info-card,
.step-card,
.post-card,
.cta-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.info-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem;
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.info-card__icon--red {
  background: rgba(242, 51, 77, 0.16);
}

.info-card__icon--gold {
  background: rgba(141, 115, 64, 0.35);
}

.info-card__icon--blue {
  background: rgba(89, 170, 249, 0.16);
}

.info-card__icon--purple {
  background: rgba(148, 84, 234, 0.18);
}

.info-card__icon--green {
  background: rgba(59, 140, 115, 0.18);
}

.info-card h3,
.step-card h3,
.post-card__title,
.cta-panel h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.info-card p,
.step-card p,
.post-card p,
.cta-panel p,
.cta-list {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.visual-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 1rem;
  text-align: center;
  color: rgba(169, 153, 202, 0.6);
}

.visual-placeholder--poster {
  min-height: 290px;
}

.visual-placeholder__icon {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.visual-placeholder__copy {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__logo-box img,
.visual-placeholder img,
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.step-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem;
}

.step-card__number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.step-card__number--red {
  background: rgba(242, 51, 77, 0.18);
  color: var(--red);
}

.step-card__number--yellow {
  background: rgba(255, 216, 78, 0.18);
  color: var(--yellow);
}

.step-card__number--blue {
  background: rgba(89, 170, 249, 0.18);
  color: var(--blue);
}

.email-template {
  margin-top: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.email-template h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.email-template pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #efe8ff;
}

.news-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.post-list {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  overflow: hidden;
}

.post-card__image {
  display: grid;
  place-items: center;
  min-height: 130px;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: rgba(169, 153, 202, 0.6);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.post-card__image span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.post-card__image--burgundy {
  background: #452233;
}

.post-card__image--navy {
  background: #2f334c;
}

.post-card__image--brown {
  background: #403633;
}

.post-card__body {
  padding: 0.95rem;
}

.post-card__meta {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--lavender);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card__title a:hover,
.post-card__title a:focus {
  color: var(--yellow);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding: 0.95rem;
  background:
    radial-gradient(circle at top right, rgba(242, 51, 77, 0.12), transparent 32%),
    radial-gradient(circle at bottom left, rgba(148, 84, 234, 0.12), transparent 36%),
    var(--panel-soft);
}

.cta-list {
  padding-left: 1rem;
}

.cta-list li + li {
  margin-top: 0.45rem;
}

.site-main > article {
  padding: 2rem 0;
}

.entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

.entry-content {
  max-width: 70ch;
}

.site-footer {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(24, 19, 24, 0.92);
}

.site-footer__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.8rem 0 2rem;
  color: var(--muted);
}

.site-footer__logo-box {
  min-width: min(100%, 360px);
  padding: 0.85rem 1.2rem;
  border-radius: 18px;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(169, 153, 202, 0.6);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.site-footer__campaign {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--lavender);
  font-family: var(--font-display);
  font-size: 1rem;
}

.site-footer__flag {
  width: 42px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, #ffffff 0 33.33%, #114cb2 33.33% 66.66%, #ef3340 66.66% 100%);
}

.site-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.4rem;
}

.site-footer__menu a {
  color: var(--lavender);
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.site-footer__domain {
  margin: 0;
  color: var(--lavender);
  font-size: 1.2rem;
}

.site-footer__note {
  max-width: 980px;
  margin: 0;
  color: rgba(169, 153, 202, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer__tricolor {
  height: 8px;
  background: linear-gradient(90deg, #ffffff 0 33.33%, #114cb2 33.33% 66.66%, #ef3340 66.66% 100%);
}

@media (max-width: 980px) {
  .about-grid,
  .help-grid,
  .cta-panel,
  .post-list {
    grid-template-columns: 1fr;
  }

  .about-story {
    grid-template-columns: 1fr 190px;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    display: block;
  }

  .site-header__nav {
    margin-top: 0.6rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-card::after {
    display: none;
  }

  .about-story,
  .step-card,
  .info-card {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .hero-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-header__inner,
  .homepage-section,
  .site-footer__inner,
  .site-main > article {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .main-navigation a {
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 12vw, 2.8rem);
  }

  .section-title,
  .news-title {
    font-size: clamp(1.55rem, 10vw, 2.3rem);
  }

  .button {
    width: 100%;
  }

  .countdown-grid {
    grid-template-columns: 1fr 1fr;
  }
}
