/* ============================================
   FDDS Dla Rodzicow - Main Stylesheet
   Colors from Figma Design System
   ============================================ */

:root {
  --fdds-teal: #009DC5;
  --fdds-teal-dark: #007FA0;
  --fdds-teal-light: #E6F2F7;
  --fdds-red: #E34D5B;
  --fdds-newsletter-red: #D94D53;
  --fdds-dark: #1A1A1A;
  --fdds-gray: #666666;
  --fdds-light-gray: #F5F5F5;
  --fdds-border: #E6E6E6;
  --fdds-white: #FFFFFF;
  --fdds-green: #33B34D;
  --fdds-orange: #E58014;
  --fdds-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============ RESET ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--fdds-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fdds-dark);
  background: var(--fdds-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--fdds-teal);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--fdds-teal-dark);
}

a:focus-visible {
  outline: 3px solid var(--fdds-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============ SKIP LINK (WCAG) ============ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--fdds-teal);
  color: var(--fdds-white);
  padding: 12px 24px;
  z-index: 10000;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ============ LAYOUT ============ */
.fdds-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ============ HEADER ============ */
.fdds-header {
  background: var(--fdds-teal);
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.fdds-header .fdds-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.fdds-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fdds-white);
  font-weight: 700;
  font-size: 16px;
}

.fdds-header__logo:hover {
  color: var(--fdds-white);
  opacity: 1;
}

.fdds-header__logo img {
  height: 40px;
  width: auto;
}

.fdds-header__sygnet {
  height: 29px;
  width: 32px;
}

.fdds-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.fdds-header__nav a {
  color: var(--fdds-white);
  font-size: 15px;
  font-weight: 600;
  transition: opacity .2s;
}

.fdds-header__nav a:hover {
  opacity: .8;
  color: var(--fdds-white);
}

.fdds-header__nav a:focus-visible {
  outline-color: var(--fdds-white);
}

.fdds-header__cta {
  background: var(--fdds-red);
  color: var(--fdds-white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: opacity .2s;
}

.fdds-header__cta:hover {
  opacity: .9;
  color: var(--fdds-white) !important;
}

.fdds-header__search {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fdds-white);
  cursor: pointer;
}

.fdds-header__hamburger {
  display: none;
  color: var(--fdds-white);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

/* ============ HERO ============ */
.fdds-hero {
  background: var(--fdds-teal);
  padding: 60px 0;
}

.fdds-hero .fdds-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.fdds-hero__content {
  flex: 1;
}

.fdds-hero__title {
  color: var(--fdds-white);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.fdds-hero__text {
  color: var(--fdds-white);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: .9;
}

.fdds-hero__btn {
  display: inline-block;
  background: var(--fdds-white);
  color: var(--fdds-teal);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  transition: opacity .2s;
}

.fdds-hero__btn:hover {
  opacity: .9;
  color: var(--fdds-teal);
}

.fdds-hero__image {
  flex: 0 0 460px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
}

/* ============ STATS ============ */
.fdds-stats {
  padding: 50px 0;
  background: var(--fdds-white);
}

.fdds-stats .fdds-container {
  display: flex;
  justify-content: space-around;
}

.fdds-stat__number {
  font-size: 42px;
  font-weight: 700;
  color: var(--fdds-teal);
}

.fdds-stat__label {
  font-size: 15px;
  color: var(--fdds-gray);
  margin-top: 4px;
}

/* ============ SECTION ============ */
.fdds-section {
  padding: 60px 0;
}

.fdds-section--gray {
  background: var(--fdds-light-gray);
}

.fdds-section--teal {
  background: var(--fdds-teal);
}

.fdds-section--teal .fdds-section__title {
  color: var(--fdds-white);
}

.fdds-section__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* ============ CARDS ============ */
.fdds-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fdds-card {
  background: var(--fdds-teal-light);
  border-radius: 16px;
  padding: 30px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.fdds-card__text {
  flex: 1;
}

.fdds-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.fdds-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.fdds-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.fdds-card__text {
  font-size: 15px;
  color: var(--fdds-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.fdds-card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--fdds-teal);
}

/* ============ BADGES ============ */
.fdds-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 16px;
  color: var(--fdds-white);
}

.fdds-badge--green { background: var(--fdds-green); }
.fdds-badge--teal { background: var(--fdds-teal); }
.fdds-badge--orange { background: var(--fdds-orange); }
.fdds-badge--gray { background: var(--fdds-gray); }

/* ============ NEWSLETTER ============ */
.fdds-newsletter {
  background: var(--fdds-newsletter-red);
  border-radius: 12px;
  padding: 24px;
  color: var(--fdds-white);
}

.fdds-newsletter__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.fdds-newsletter__text {
  font-size: 12px;
  margin-bottom: 12px;
  opacity: .9;
}

.fdds-newsletter__form {
  display: flex;
  gap: 8px;
}

.fdds-newsletter__input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  font-family: var(--fdds-font);
  font-size: 13px;
}

.fdds-newsletter__btn {
  background: var(--fdds-white);
  color: var(--fdds-newsletter-red);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--fdds-font);
  transition: opacity .2s;
}

.fdds-newsletter__btn:hover {
  opacity: .9;
}

/* ============ FOOTER ============ */
.fdds-footer {
  background: var(--fdds-light-gray);
  padding: 50px 0 30px;
}

.fdds-footer .fdds-container {
  display: grid;
  grid-template-columns: 280px 1fr 440px;
  gap: 40px;
}

.fdds-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.fdds-footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fdds-footer__links h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.fdds-footer__links a {
  display: block;
  font-size: 13px;
  color: var(--fdds-gray);
  margin-bottom: 6px;
}

.fdds-footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--fdds-border);
  padding-top: 20px;
  margin-top: 20px;
}

.fdds-footer__copyright {
  font-size: 12px;
  color: var(--fdds-gray);
}

/* ============ FOOTER WSPIERAJ BUTTON ============ */
.fdds-footer__wspieraj {
  display: block;
  width: 200px;
  text-align: center;
  background: var(--fdds-red);
  color: var(--fdds-white) !important;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 20px;
  transition: opacity .2s;
}

.fdds-footer__wspieraj:hover {
  opacity: .9;
  color: var(--fdds-white) !important;
}

/* ============ FOOTER PARTNERS ============ */
.fdds-footer__partners {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  background: var(--fdds-white);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  width: 100%;
}

.fdds-footer__partner-slot {
  height: 40px;
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.fdds-footer__partner-slot img {
  height: 36px;
  width: auto;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: .6;
  transition: filter .2s, opacity .2s;
}

.fdds-footer__partner-slot img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.fdds-footer__partner-slot img + .fdds-footer__partner-placeholder {
  display: none;
}

.fdds-footer__partner-placeholder {
  font-size: 11px;
  color: var(--fdds-border);
  border: 1px dashed var(--fdds-border);
  border-radius: 6px;
  padding: 8px 16px;
  white-space: nowrap;
}

.fdds-footer__copyright a {
  color: var(--fdds-gray);
}

.fdds-footer__copyright a:hover {
  color: var(--fdds-teal);
}

/* ============ PAGE CONTENT (Polityka, Regulamin) ============ */
.fdds-page-content {
  max-width: 800px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fdds-dark);
}

.fdds-page-content h2 {
  font-size: 24px;
  margin: 36px 0 12px;
}

.fdds-page-content h3 {
  font-size: 20px;
  margin: 28px 0 8px;
}

.fdds-page-content p {
  margin-bottom: 16px;
}

.fdds-page-content ul, .fdds-page-content ol {
  margin: 12px 0 20px 24px;
}

.fdds-page-content li {
  margin-bottom: 6px;
}

.fdds-page-content a {
  color: var(--fdds-teal);
  text-decoration: underline;
}

/* ============ FUNDING BAR ============ */
.fdds-funding-bar {
  background: var(--fdds-white);
  padding: 24px 0;
  border-top: 1px solid var(--fdds-border);
}

.fdds-funding-bar__flag {
  flex-shrink: 0;
}

.fdds-funding-bar__flag svg {
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* ============ BANER (placeholder) ============ */
.fdds-baner {
  background: var(--fdds-newsletter-red);
  padding: 60px 0;
  text-align: center;
  color: var(--fdds-white);
}

.fdds-baner__title {
  font-size: 36px;
  font-weight: 700;
}

.fdds-baner__subtitle {
  font-size: 16px;
  margin-top: 8px;
  opacity: .8;
}

/* ============ TEXT BLOCKS ============ */
.fdds-section__text-block p {
  font-size: 16px;
  color: var(--fdds-gray);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 800px;
}

.fdds-section__text-block--columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.fdds-section__text-block--columns h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.fdds-section__subtitle {
  font-size: 16px;
  color: var(--fdds-gray);
  margin-bottom: 30px;
}

/* ============ WHITE CARD VARIANT ============ */
.fdds-card--white {
  background: var(--fdds-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.fdds-card__title--sm {
  font-size: 18px;
}

/* ============ ARTICLE CARD ============ */
.fdds-card--article {
  padding: 0;
  overflow: hidden;
  background: var(--fdds-white);
  border: 1px solid var(--fdds-border);
}

.fdds-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--fdds-teal-light);
}

.fdds-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fdds-card__thumb--placeholder {
  background: var(--fdds-teal-light);
}

.fdds-card__body {
  padding: 20px;
}

.fdds-card__body .fdds-badge {
  margin-bottom: 10px;
}

.fdds-card__empty {
  color: var(--fdds-gray);
  grid-column: 1 / -1;
}

/* ============ TIMELINE ============ */
.fdds-timeline {
  display: flex;
  justify-content: space-between;
  padding: 40px 40px 20px;
  position: relative;
}

.fdds-timeline::before {
  content: '';
  position: absolute;
  top: 86px;
  left: 40px;
  right: 40px;
  height: 4px;
  background: var(--fdds-white);
}

.fdds-timeline__item {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fdds-timeline__year {
  font-size: 20px;
  font-weight: 700;
  color: var(--fdds-white);
  margin-bottom: 14px;
  height: 24px;
}

.fdds-timeline__dot {
  width: 20px;
  height: 20px;
  background: var(--fdds-white);
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
}

.fdds-timeline__label {
  color: rgba(255,255,255,.8);
  font-size: 12px;
  margin-top: 12px;
  text-align: center;
  max-width: 130px;
  line-height: 1.4;
}

/* ============ SPOTIFY BANER ============ */
.fdds-spotify-baner {
  padding: 30px 0;
}

.fdds-spotify-baner__inner {
  background: var(--fdds-newsletter-red);
  border-radius: 16px;
  padding: 40px 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.fdds-spotify-baner__left {
  flex-shrink: 0;
}

.fdds-spotify-baner__left h2 {
  color: var(--fdds-white);
  font-size: 32px;
  line-height: 1.2;
  white-space: nowrap;
}

.fdds-spotify-baner__right {
  flex: 1;
}

.fdds-spotify-baner__right p {
  color: var(--fdds-white);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.fdds-spotify-baner__btn {
  display: inline-block;
  background: var(--fdds-white);
  color: var(--fdds-newsletter-red) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  transition: opacity .2s;
}

.fdds-spotify-baner__btn:hover {
  opacity: .9;
  color: var(--fdds-newsletter-red) !important;
}

/* ============ 4-COLUMN CARDS (Pomoc) ============ */
.fdds-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.fdds-card__link--btn {
  display: inline-block;
  background: var(--fdds-teal);
  color: var(--fdds-white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s;
  align-self: flex-start;
  margin-top: auto;
}

.fdds-card__link--btn:hover {
  opacity: .9;
  color: var(--fdds-white) !important;
}

/* ============ CONTACT PAGE ============ */
.fdds-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 20px;
}

.fdds-contact-card {
  background: var(--fdds-light-gray);
  border-radius: 16px;
  padding: 40px;
}

.fdds-contact-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.fdds-contact-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 30px;
}

.fdds-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.2;
}

.fdds-contact-item__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.fdds-contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--fdds-gray);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1;
}

.fdds-contact-info {
  background: var(--fdds-teal-light);
  border: 2px solid var(--fdds-teal);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
}

.fdds-contact-info h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.fdds-contact-info p {
  font-size: 15px;
  color: var(--fdds-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.fdds-contact-map {
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  min-height: 300px;
}

.fdds-contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.fdds-contact-right {
  display: flex;
  flex-direction: column;
}

/* ============ SPOTKANIA ============ */
.fdds-spotkania-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.fdds-spotkanie-card {
  background: var(--fdds-white);
  border: 1px solid var(--fdds-border);
  border-radius: 16px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.fdds-spotkanie-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.fdds-spotkanie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.fdds-spotkanie-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.fdds-spotkanie-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.fdds-spotkanie-card__title a {
  color: var(--fdds-dark);
}

.fdds-spotkanie-card__title a:hover {
  color: var(--fdds-teal);
}

.fdds-spotkanie-card__meta {
  font-size: 14px;
  color: var(--fdds-gray);
  margin-bottom: 16px;
}

.fdds-spotkanie-card__meta div {
  margin-bottom: 4px;
}

.fdds-spotkanie-card__btn {
  display: inline-block;
  background: var(--fdds-teal);
  color: var(--fdds-white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.fdds-spotkanie-card__btn:hover {
  opacity: .9;
  color: var(--fdds-white) !important;
}

/* ============ SINGLE SPOTKANIE ============ */
.fdds-spotkanie__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.fdds-spotkanie__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
}

.fdds-spotkanie__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.fdds-spotkanie__excerpt {
  font-size: 16px;
  color: var(--fdds-gray);
  line-height: 1.7;
  margin-bottom: 30px;
}

.fdds-spotkanie__image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
}

.fdds-spotkanie__body {
  font-size: 16px;
  line-height: 1.8;
}

.fdds-spotkanie__body p {
  margin-bottom: 16px;
}

.fdds-spotkanie__body ul {
  margin: 12px 0 20px 20px;
}

.fdds-spotkanie__body li {
  margin-bottom: 6px;
}

.fdds-spotkanie__content h2 {
  font-size: 24px;
  margin: 32px 0 16px;
}

/* Prowadzaca */
.fdds-prowadzaca {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--fdds-light-gray);
  padding: 20px;
  border-radius: 12px;
}

.fdds-prowadzaca__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--fdds-teal-light);
  flex-shrink: 0;
}

.fdds-prowadzaca p {
  font-size: 13px;
  color: var(--fdds-gray);
  margin-top: 4px;
}

/* Sidebar details */
.fdds-spotkanie__sidebar {
  position: sticky;
  top: 100px;
}

.fdds-spotkanie__details {
  background: var(--fdds-white);
  border: 1px solid var(--fdds-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.fdds-spotkanie__details h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.fdds-detail-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--fdds-border);
}

.fdds-detail-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.fdds-detail-row small {
  display: block;
  font-size: 12px;
  color: var(--fdds-gray);
  margin-bottom: 2px;
}

.fdds-detail-row strong {
  font-size: 15px;
}

.fdds-spotkanie__cta {
  display: block;
  text-align: center;
  background: var(--fdds-teal);
  color: var(--fdds-white) !important;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
  transition: opacity .2s;
}

.fdds-spotkanie__cta:hover {
  opacity: .9;
  color: var(--fdds-white) !important;
}

/* ============ TITLE BAR (Wiedza, Spotkania) ============ */
.fdds-title-bar {
  padding: 40px 0 30px;
  background: var(--fdds-white);
}

.fdds-title-bar .fdds-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.fdds-title-bar__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--fdds-dark);
  margin-bottom: 8px;
}

.fdds-title-bar__text {
  font-size: 15px;
  color: var(--fdds-gray);
  max-width: 70%;
  line-height: 1.6;
}

.fdds-title-bar__search {
  flex-shrink: 0;
}

.fdds-title-bar__input {
  padding: 12px 20px;
  border: 1px solid var(--fdds-border);
  border-radius: 8px;
  font-family: var(--fdds-font);
  font-size: 14px;
  width: 260px;
  outline: none;
  background: var(--fdds-light-gray);
  color: var(--fdds-dark);
}

.fdds-title-bar__input:focus {
  border-color: var(--fdds-teal);
  box-shadow: 0 0 0 3px rgba(0,157,197,.15);
}

.fdds-title-bar__input::placeholder {
  color: var(--fdds-gray);
}

/* ============ SEARCH EMPTY ============ */
.fdds-search-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--fdds-gray);
  font-size: 16px;
}

/* ============ HERO COMPACT ============ */
.fdds-hero--compact {
  padding: 40px 0;
}

.fdds-hero--compact .fdds-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.fdds-hero__search-box {
  flex-shrink: 0;
}

.fdds-search__input {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-family: var(--fdds-font);
  font-size: 14px;
  width: 260px;
  outline: none;
}

.fdds-search__input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,.4);
}

/* ============ ARTICLES GRID ============ */
.fdds-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* ============ PAGINATION ============ */
.fdds-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 30px 0;
}

.fdds-pagination a,
.fdds-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  color: var(--fdds-dark);
  transition: background .2s;
}

.fdds-pagination a:hover {
  background: var(--fdds-light-gray);
  color: var(--fdds-dark);
}

.fdds-pagination .current {
  background: var(--fdds-teal);
  color: var(--fdds-white);
}

/* ============ FILTERS ============ */
.fdds-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--fdds-light-gray);
  padding: 20px 28px;
  border-radius: 12px;
  margin-top: 20px;
}

.fdds-filters__label {
  font-size: 14px;
  font-weight: 600;
  margin-right: 8px;
}

.fdds-filter {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: var(--fdds-white);
  color: var(--fdds-dark);
  transition: background .2s, color .2s;
}

.fdds-filter:hover {
  background: var(--fdds-teal-light);
  color: var(--fdds-dark);
}

.fdds-filter--active {
  background: var(--fdds-teal);
  color: var(--fdds-white) !important;
}

/* ============ BREADCRUMBS ============ */
.fdds-breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--fdds-gray);
  border-bottom: 1px solid var(--fdds-border);
}

.fdds-breadcrumbs a {
  color: var(--fdds-gray);
}

.fdds-breadcrumbs a:hover {
  color: var(--fdds-teal);
}

/* ============ SINGLE ARTICLE ============ */
.fdds-article__header {
  padding: 40px 0;
}

.fdds-article__meta {
  margin-bottom: 12px;
}

.fdds-article__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.fdds-article__date {
  font-size: 14px;
  color: var(--fdds-gray);
}

.fdds-article__content {
  padding: 40px 0;
}

.fdds-article__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
}

.fdds-article__body {
  max-width: 100%;
}

.fdds-article__body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--fdds-dark);
}

.fdds-article__body h2 {
  font-size: 24px;
  margin: 32px 0 12px;
}

.fdds-article__body h3 {
  font-size: 20px;
  margin: 24px 0 8px;
}

.fdds-article__body img {
  border-radius: 12px;
  margin: 20px 0;
}

.fdds-article__featured-image {
  margin-bottom: 30px;
  border-radius: 16px;
  overflow: hidden;
}

.fdds-article__featured-image img {
  margin: 0;
}

/* Sidebar */
.fdds-article__sidebar {
  position: sticky;
  top: 100px;
}

.fdds-sidebar__section h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.fdds-sidebar__card {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--fdds-border);
}

.fdds-sidebar__thumb {
  flex: 0 0 80px;
  border-radius: 8px;
  overflow: hidden;
}

.fdds-sidebar__card h4 {
  font-size: 14px;
  line-height: 1.4;
}

.fdds-sidebar__card h4 a {
  color: var(--fdds-dark);
}

.fdds-sidebar__card h4 a:hover {
  color: var(--fdds-teal);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .fdds-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .fdds-footer .fdds-container {
    grid-template-columns: 280px 1fr;
    gap: 50px;
  }

  .fdds-footer__links {
    justify-self: end;
  }

  .fdds-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .fdds-container {
    padding: 0 20px;
  }

  .fdds-header {
    height: 60px;
    z-index: 99999;
    position: relative;
  }


  .fdds-header__nav {
    display: none;
  }

  .fdds-header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--fdds-teal);
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    z-index: 99;
  }

  .fdds-header__hamburger {
    display: block !important;
  }

  /* Move WCAG accessibility icon to bottom-right on mobile */
  body .djacc.djacc-container.djacc--sticky.djacc--top-right {
    top: auto !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
  }

  body .djacc.djacc--top-right .djacc__openbtn.djacc__openbtn--default {
    top: auto !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
  }

  .fdds-hero .fdds-container {
    flex-direction: column;
  }

  .fdds-hero__title {
    font-size: 32px;
  }

  .fdds-hero__image {
    flex: none;
    width: 100%;
    background: none !important;
    border-radius: 16px;
    overflow: hidden;
  }

  .fdds-hero__image img {
    border-radius: 16px;
  }

  .fdds-stats .fdds-container {
    flex-wrap: wrap;
    gap: 20px;
  }

  .fdds-cards {
    grid-template-columns: 1fr;
  }

  .fdds-cards--4 {
    grid-template-columns: 1fr;
  }

  .fdds-contact-grid {
    grid-template-columns: 1fr;
  }

  .fdds-section__text-block--columns {
    grid-template-columns: 1fr;
  }

  .fdds-spotify-baner__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .fdds-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 20px 50px;
    gap: 0;
  }

  .fdds-timeline::before {
    top: 20px;
    bottom: 20px;
    left: 38px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .fdds-timeline__item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .fdds-timeline__year {
    margin-bottom: 0;
    min-width: 50px;
    order: 2;
  }

  .fdds-timeline__dot {
    order: 1;
    flex-shrink: 0;
  }

  .fdds-timeline__label {
    order: 3;
    margin-top: 0;
    text-align: left;
    max-width: none;
  }

  .fdds-title-bar .fdds-container {
    flex-direction: column;
    align-items: stretch;
  }

  .fdds-title-bar__title {
    font-size: 32px;
  }

  .fdds-title-bar__input {
    width: 100%;
    margin-top: 12px;
  }

  .fdds-hero--compact .fdds-container {
    flex-direction: column;
    align-items: stretch;
  }

  .fdds-search__input {
    width: 100%;
    margin-top: 16px;
  }

  .fdds-articles-grid {
    grid-template-columns: 1fr;
  }

  .fdds-article__grid {
    grid-template-columns: 1fr;
  }

  .fdds-article__title {
    font-size: 28px;
  }

  .fdds-spotkania-grid {
    grid-template-columns: 1fr;
  }

  .fdds-spotkanie__grid {
    grid-template-columns: 1fr;
  }

  .fdds-spotkanie__title {
    font-size: 28px;
  }

  .fdds-section__title {
    font-size: 24px;
  }

  .fdds-footer .fdds-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fdds-footer__brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .fdds-newsletter__form {
    flex-direction: column;
  }

  .fdds-footer__partners {
    justify-content: center;
  }

  .fdds-newsletter__form {
    flex-direction: column;
  }
}
