/* ==========================================
   FOOTER BLOCKS WRAPPER - LAYOUT FIX
   .footer-blocks-wrapper is rendered as the direct
   parent of the .footer-column blocks. A later rule
   in this file sets "display: contents" on it, which
   would break the row layout below - !important keeps
   this fix on top regardless of source order.
   ========================================== */
.footer-blocks-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 40px !important;
  justify-content: space-between !important;
}

@media (max-width: 768px) {
  .footer-blocks-wrapper {
    flex-direction: column !important;
    gap: 25px !important;
  }
}

/* ==========================================
   Section Wrappers
   ========================================== */

.hero-section-wrapper {
  background-color: transparent;
  padding: 0;
  min-height: auto;
  display: block;
  position: relative;
  overflow: visible;
}

.features-section-wrapper {
  width: 100%;
}

.events-section-wrapper {
  width: 100%;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero-section {
  background-color: var(--light-gray);
  min-height: 500px;
  display: flex;
}

.hero-container {
  display: flex;
  height: 100%;
  min-height: 500px;
}

.hero-content {
  flex: 0 0 40%;
  padding: 60px 40px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: none;
  text-align: center;
}

.hero-content .hero-image-mlodych {
  max-width: 300px;
  margin: 10px 0;
}

.hero-content .hero-image-mlodych img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.6;
  margin-top: 10px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.btn-hero {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.btn-hero.primary {
  background-color: var(--yellow);
  color: var(--navy);
}

.btn-hero.primary:hover {
  background-color: #FFB500;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 197, 0, 0.3);
}

.btn-hero.secondary {
  background-color: var(--navy);
  color: var(--white);
}

.btn-hero.secondary:hover {
  background-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 31, 92, 0.3);
}

.hero-image {
  flex: 1;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   Features Section
   ========================================== */
.card20{
	margin-bottom:20px;
}

.features-section {
  background-color: var(--navy);
  color: var(--white);
  padding: 60px 20px;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature-card {
  text-align: center;
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--yellow);
  color: black;
}

.feature-card:hover .feature-title {
  color: black;
}

.feature-card:hover .feature-description {
  color: black;
}

.feature-icon svg {
  fill: white;
}

.feature-card:hover .feature-icon svg,
.feature-card:hover .feature-icon svg g {
  fill: black;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   Events Section
   ========================================== */

.events-section {
  background-color: var(--light-gray);
  padding: 60px 20px;
}

.events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.events-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-bottom: 20px;
}

.events-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 14px;
  background-image: url('../img/podkreslenie.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

.events-link {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.events-link:hover {
  color: var(--yellow);
  gap: 12px;
}

.events-container {
  max-width: 1200px;
  margin: 0 auto;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.event-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.event-image {
  width: 100%;
  height: 180px;
  background-color: var(--medium-gray);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 12px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.event-date-badge.date-red {
  background-color: var(--red);
}

.event-date-badge.date-purple {
  background-color: var(--purple);
}

.event-date-badge.date-blue {
  background-color: #0066CC;
}

.event-date-badge.date-yellow {
  background-color: var(--yellow);
  color: var(--navy);
}

.event-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--light-text);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-time {
  font-weight: 600;
  color: var(--text-color);
}

.event-location {
  font-size: 12px;
  color: var(--light-text);
}

.footer-container {
  background-color: var(--navy);
  color: var(--white);
  /* padding: 60px 20px 20px; */
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {

}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
}

.footer-logo {
  width: 50px;
  height: 50px;
  display: block;
  overflow: hidden;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
}

.footer-column-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column li {
  margin: 0;
}

.footer-column a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 30px;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links li {
  margin: 0;
}

.footer-bottom-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--yellow);
}

.footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 16px;
}

.footer-social a:hover {
  background-color: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .event-image {
    height: 150px;
  }

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

  .hero-section {
    flex-direction: column;
  }

  .hero-content {
    flex: 1;
    max-width: 100%;
  }

  .hero-image {
    flex: 1;
    margin-right: 0;
  }

  .hero-title {
    font-size: 3.6rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
  }

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

  .hero-content {
    flex: 1;
    padding: 20px;
    width: 100%;
  }

  .hero-image {
    flex: 1;
    width: 100%;
    margin-right: 0;
    min-height: auto;
  }

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

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-image {
    height: 200px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .btn-hero {
    width: auto;
  }

  .events-title {
    font-size: 1.5rem;
  }

  .events-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================
   RADA SECTION
   ========================================== */

.rada-section {
  max-width: 1200px;
  margin: 0 auto;
}

.rada-prezydium h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.rada-prezydium h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 14px;
  background-image: url('../img/podkreslenie.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

.prezydium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.prezydium-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(3, 15, 44, 0.15);
}

.prezydium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(3, 15, 44, 0.25);
}

.prezydium-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 12px;
}

.prezydium-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.rada-sklad h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.rada-sklad h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 14px;
  background-image: url('../img/podkreslenie.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

.sklad-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sklad-column ol {
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.sklad-column li {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.6;
}

.rada-info {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
}

.rada-info h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.rada-info h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 14px;
  background-image: url('../img/podkreslenie.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

.rada-info p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.rada-statut {
  background: linear-gradient(135deg, var(--purple) 0%, #7d4fab 100%);
  color: var(--white);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 60px;
}

.rada-statut h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.btn-statut {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--navy);
  padding: 14px 40px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-statut:hover {
  background-color: #FFB500;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 197, 0, 0.3);
}

@media (max-width: 1024px) {
  .prezydium-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sklad-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .prezydium-grid {
    grid-template-columns: 1fr;
  }

  .sklad-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .rada-info,
  .rada-statut {
    padding: 20px;
  }

  .rada-prezydium h2,
  .rada-sklad h2,
  .rada-info h2 {
    font-size: 1.4rem;
  }
}

/* ==========================================
   KONTAKT SECTION
   ========================================== */
.social-links1 {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links1 a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-links1 a:hover {
  background-color: var(--light-gray);
  color: var(--yellow);
}

/* ==========================================
   KONTAKT SECTION
   ========================================== */

.kontakt-section {
  max-width: 1200px;
  margin: 0 auto;
}

.kontakt-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.kontakt-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 14px;
  background-image: url('../img/podkreslenie.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

.kontakt-section .kontakt-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}

.kontakt-section .kontakt-card {
  background-color: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--purple);
  transition: all 0.3s ease;
  text-align: center;
}

.kontakt-section .kontakt-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.kontakt-section .kontakt-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  margin-top: 0;
}

.kontakt-section .kontakt-card h3 i {
  margin-right: 10px;
  color: var(--purple);
}

.kontakt-section .kontakt-item {
  margin-bottom: 24px;
}

.kontakt-section .kontakt-item:last-child {
  margin-bottom: 0;
}

.kontakt-section .kontakt-item a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s ease;
}

.kontakt-section .kontakt-item a:hover {
  color: var(--purple);
}

.kontakt-section .kontakt-item p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 8px;
  margin-top: 0;
}

.kontakt-section .kontakt-item p strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.kontakt-section .telefony-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.kontakt-section .telefon-item {
  text-align: center;
}

.kontakt-section .telefon-item p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

.kontakt-section .telefon-item p strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 8px;
}

.kontakt-section .telefon-item a {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s ease;
}

.kontakt-section .telefon-item a:hover {
  color: var(--purple);
}

.kontakt-section .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.kontakt-section .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--light-gray);
  border-radius: 50%;
  font-size: 24px;
  color: var(--purple);
  transition: all 0.3s ease;
  text-decoration: none;
}

.kontakt-section .social-icons a:hover {
  background-color: var(--yellow);
  color: var(--navy);
  transform: translateY(-4px);
}

.kontakt-section .kontakt-social {
  background-color: var(--light-gray);
  padding: 60px 40px;
  border-radius: 12px;
  margin-bottom: 60px;
  text-align: center;
}

.kontakt-section .kontakt-social h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}

.kontakt-section .kontakt-social h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 14px;
  background-image: url('../img/podkreslenie.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

.kontakt-section .social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.kontakt-section .social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.kontakt-section .social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.kontakt-section .social-card i {
  font-size: 48px;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.kontakt-section .social-card span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.kontakt-section .social-card.instagram:hover i,
.kontakt-section .social-card.instagram:hover span {
  color: #E1306C;
}

.kontakt-section .social-card.facebook:hover i,
.kontakt-section .social-card.facebook:hover span {
  color: #1877F2;
}

@media (max-width: 1024px) {
  .kontakt-section .kontakt-content {
    grid-template-columns: 1fr;
  }

  .kontakt-section .social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kontakt-section .kontakt-social {
    padding: 30px 20px;
  }

  .kontakt-section .kontakt-social h2 {
    font-size: 1.4rem;
  }

  .kontakt-section .kontakt-content {
    grid-template-columns: 1fr;
  }

  .kontakt-section .telefony-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   PROJEKTY (Projects) View Styling

/* ==========================================
   PROJECTS View Styling
   ========================================== */

.view-projekty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.project-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  border-left: 5px solid var(--purple);
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 40px;
}

.project-card:hover {
  border-left-color: var(--yellow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.project-title {
  margin: 0 0 15px 0;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
}

.project-description {
  margin: 0;
  color: var(--light-text);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
    border-left: none;
    border-top: 5px solid var(--purple);
    gap: 15px;
  }

  .project-card:hover {
    border-left: none;
    border-top-color: var(--yellow);
  }

  .project-image {
    width: 100%;
    height: 200px;
  }

  .project-content {
    text-align: center;
  }

  .project-title 
/* Mobile responsive for kontakt section */
@media (max-width: 768px) {
  .kontakt-section .kontakt-item a {
    word-break: break-all;
    word-wrap: break-word;
  }
}

/* ==========================================
   FOOTER BLOCK CONTENT
   ========================================== */

.footer-content {
  width: 100%;
}

.footer-content .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content .footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 30px;
}

/* Mobile responsive footer */
@media (max-width: 1024px) {
  .footer-content .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-content .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }

  .footer-content .footer-logo-section {
    order: -1;
    margin-bottom: 20px;
  }

  .footer-content .footer-bottom {
    gap: 15px;
    padding-top: 15px;
  }

  .footer-content .footer-bottom-links {
    gap: 20px;
  }
}

/* ==========================================
   FOOTER BLOCKS WRAPPER
   ========================================== */

.footer-blocks-wrapper {
  display: contents;
}

.footer-blocks-wrapper .block {
  display: block;
}

.footer-blocks-wrapper .block-block-content {
  display: contents;
}

.footer-blocks-wrapper .field__item {
  display: contents;
}

/* Make footer blocks behave like columns */
.footer-blocks-wrapper .field--name-body {
  display: block;
}

.footer-blocks-wrapper .field--name-body > div {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-blocks-wrapper .footer-column {
  flex: 1;
  min-width: 150px;
}

/* Desktop - 5 columns */
@media (min-width: 1200px) {
  .footer-content .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

/* Tablet - 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
  .footer-content .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-logo-section {
    grid-column: 1 / -1;
  }
}

/* Mobile - 1 column */
@media (max-width: 767px) {
  .footer-content .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-logo-section {
    order: -1;
    margin-bottom: 20px;
  }
}
