/*!
Theme Name: partyka
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Natalia Partyka personal brand theme
Version: 2.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: partyka
Tags: custom-background, custom-logo, custom-menu, featured-images
*/

/* ==========================================================================
   1. FONTS & VARIABLES
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  src: url(./assets/fonts/Geist-Light.woff2) format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url(./assets/fonts/Geist-Regular.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url(./assets/fonts/Geist-SemiBold.woff2) format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url(./assets/fonts/Geist-Bold.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url(./assets/fonts/Geist-Black.woff2) format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --lime: #efff86;
  --dark-green: rgba(16, 61, 64, 1);
  --deep-black: #050b09;
  --white: #ffffff;
  --bg-about: radial-gradient(circle at top left, #f1ff9e 0%, #ffffff 40%, #ffffff 70%, #f1ff9e 100%);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', sans-serif;
  background-color: var(--deep-black);
  color: var(--white);
  overflow-x: hidden;
}

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

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

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 40px;
  background: #fff0;
  transition: transform 0.35s ease;
}

.site-header.nav-hidden {
  transform: translateY(-110%);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(214 226 186 / 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px solid rgb(255 255 255 / 0.15);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.navbar-logo {
  font-weight: 900;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  color: var(--white);
}

.navbar-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--lime);
}

.navbar-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease;
  overflow: hidden;
  border: 1px solid var(--dark-green);
}

.icon-circle img {
  max-width: 100%;
}

.icon-circle:hover {
  background-color: var(--dark-green);
}

.icon-circle:hover img {
  filter: invert(1) brightness(10);
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-green);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url(assets/images/hero.jpg);
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 40px 40px 40px;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgb(5 11 9 / 0.2) 0%, rgb(5 11 9 / 0.85) 80%);
  z-index: -1;
}

.hero-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 40px;
}

.hero-title-wrapper {
  max-width: 65%;
}

.mini-logo {
  font-weight: 900;
  border: 2px solid var(--lime);
  color: var(--lime);
  padding: 2px 6px;
  border-radius: 12px;
  display: inline-block;
  font-size: 0.75rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--lime);
  letter-spacing: -1px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: var(--white);
  color: var(--deep-black);
  padding: 18px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s, background-color 0.3s, color 0.3s;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.3);
}

.cta-button:hover {
  background-color: var(--lime);
}

.cta-button .arrow {
  font-size: 1.2rem;
  display: inline-block;
  overflow: hidden;
  height: 1.1em;
  line-height: 1.1;
  vertical-align: middle;
}

.cta-button .arrow span {
  display: block;
}

/* ==========================================================================
   5. STATS BAR
   ========================================================================== */

.stats-bar {
  max-width: 1400px;
  width: 100%;
  height: 64px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(5, 11, 9, 0.4);
  backdrop-filter: blur(8px);
}

.stats-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.stats-set {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  box-sizing: border-box;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  font-size: 0.95rem;
  color: rgba(244, 250, 201, 1);
  white-space: nowrap;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item-track {
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1) !important;
  will-change: transform !important;
}

.stat-item-slide {
  flex: 0 0 auto !important;
  height: 1.3em !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  padding: 15px !important;
}

@media (prefers-reduced-motion: reduce) {
  .stats-track {
    transition: none;
  }
}

/* ==========================================================================
   6. TIMELINE SECTION
   ========================================================================== */

.timeline-section {
  margin-top: 60px;
  color: var(--dark-green);
  padding: 60px 100px 100px;
  overflow: hidden;
  user-select: none;
}

.timeline-outer {
  position: relative;
}

.timeline-drag-wrapper {
  cursor: grab;
  overflow: hidden;
}

.timeline-drag-wrapper.is-dragging {
  cursor: grabbing;
}

.timeline-track {
  display: flex;
  align-items: flex-start;
  position: relative;
  width: max-content;
  padding-top: 32px;
  will-change: transform;
}

.timeline-line {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--dark-green);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark-green);
  margin-bottom: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-year {
  font-weight: 900;
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 18px;
  line-height: 1;
}

.timeline-desc {
  font-size: 0.9rem;
  line-height: 1.3;
  opacity: 0.85;
  max-width: 220px;
}

.timeline-arrow {
  position: absolute;
  top: 120%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--dark-green);
  background: #fff0;
  color: var(--dark-green);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  opacity: 0.5;
  z-index: 10;
}

.timeline-arrow:hover {
  background: var(--dark-green);
  color: #fff;
  opacity: 1;
}

.timeline-arrow--left {
  left: 12px;
}

.timeline-arrow--right {
  right: 12px;
}

.timeline-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */

.about-section {
  background: var(--bg-about);
  color: var(--dark-green);
  padding: 100px 40px;
}

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

.top-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.tags {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tag {
  background: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-content {
  display: flex;
  flex-direction: column;
}

.about-title {
  margin: 0 0 35px;
  font-size: 4rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--dark-green);
}

.middle-text-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 20px;
}

.description-text {
  margin-top: 120px;
  padding-left: 70px;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--dark-green);
  max-width: 100%;
}

.bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: -60px;
}

.photo-small {
  width: 340px;
  height: 340px;
  border-radius: 24px;
  object-fit: cover;
  justify-self: end;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.1);
  aspect-ratio: 1 / 1;
}

.photo-large {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.1);
}

.secondary-text {
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--dark-green);
}

/* ==========================================================================
   8. ACTIVITIES SECTION
   ========================================================================== */

.activities-section {
  background: var(--bg-about);
  color: var(--dark-green);
  padding: 100px 40px;
  position: relative;
  z-index: 1;
}

.activities-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 80px;
  letter-spacing: -0.5px;
}

.activity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
}

.activity-item:nth-child(2) { margin-left: 0; }
.activity-item:nth-child(3) { margin-left: 100px; }
.activity-item:nth-child(4) { margin-left: 200px; }
.activity-item:nth-child(5) { margin-left: 300px; }

.activity-number {
  font-size: 7rem;
  font-weight: 700;
  font-style: italic;
  line-height: 0.8;
  color: var(--dark-green);
}

.activity-content h3 {
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.activity-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 800px;
}

/* CTA Banner wewnątrz sekcji Activities */
.cta-banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dark-green);
  border-radius: 20px;
  padding: 60px;
  margin-top: 180px;
  color: var(--white);
}

.cta-banner-text h2 {
  max-width: 18ch;
  font-size: 2.1rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--lime);
}

.cta-banner-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  color: var(--lime);
  margin-bottom: 20px;
}

.outline-button {
  border: 1px solid var(--lime);
  color: var(--lime);
  padding: 18px 52px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.outline-button:hover {
  background-color: var(--lime);
  color: var(--dark-green);
}

.outline-button .arrow {
  font-size: 1.2rem;
  display: inline-block;
  overflow: hidden;
  height: 1.1em;
  line-height: 1.1;
  vertical-align: middle;
}

.outline-button .arrow span {
  display: block;
}

.outline-button:hover .arrow span {
  animation: arrow-belt 0.65s 1;
}

/* ==========================================================================
   9. NEWS SECTION & CAROUSEL
   ========================================================================== */

.news-section {
  position: relative;
  z-index: 1;
}

.news-container {
    width: 100% !important;
    max-width: 1090px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

        .news-badge-wrapper {
          padding-top: 10px;
					text-align: left !important;
    width: 100%;
        }
.news-carousel:focus {
  outline: none;
}

.news-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  height: 100%;
}

.news-feature {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-feature-img {
  width: 100%;
  height: 230px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-feature-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 40px 32px;
}

.news-feature-text h3 {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 14px;
}

.news-feature-text p {
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

.news-feature-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-circle-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}

.news-feature:hover .news-circle-arrow {
  background: var(--dark-green);
  color: #fff;
  transform: rotate(45deg);
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-side-card {
  flex: 1;
  display: grid;
  grid-template-columns: 65% 1fr;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-side-card:hover {
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.08);
}

.news-side-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.news-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-side-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 34px;
}

.news-side-body h3 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
}

.news-side-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-source {
  color: rgb(158 165 166);
  transform: translateY(30px);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.news-feature:hover .card-source,
.news-side-card:hover .card-source {
  transform: translateY(9px);
  opacity: 1;
  color: var(--dark-green);
}

.card-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  font-size: 1rem;
  opacity: 0.6;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.35s ease, opacity 0.3s ease;
}

.news-side-card:hover .card-arrow {
  opacity: 1;
  background: var(--dark-green);
  color: #fff;
  border-color: var(--dark-green);
  transform: rotate(45deg);
}

.news-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.news-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d4d8d6;
  cursor: pointer;
  transition: width 0.35s ease, background-color 0.35s ease, opacity 0.3s ease;
}

.news-dot:hover {
  background: #b9c0bd;
  opacity: 0.55;
}

.news-dot.is-active {
  width: 28px;
  background: #163a36;
  opacity: 1;
}

.news-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-prev,
.news-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid #163a36;
  border-radius: 50%;
  background: #fff0;
  color: #163a36;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s ease;
}

.news-next:hover,
.news-prev:hover {
  background: #163a36;
  color: #fff;
}

/* ==========================================================================
   10. NEWSLETTER SECTION
   ========================================================================== */

.newsletter-section {
  padding: 60px 40px 120px 40px;
  color: var(--dark-green);
}

.newsletter-container {
  max-width: 1400px;
  margin: 0 auto;
}

.newsletter-box {
  background-color: #c2c9b4;
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter-badge {
  background-color: var(--white);
  color: var(--dark-green);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  display: inline-block;
}

.accept-text {
  color: var(--dark-green);
}

.newsletter-box h2 {
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.newsletter-box > p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 750px;
  margin-bottom: 45px;
  opacity: 0.9;
}

.newsletter-form-container {
  background-color: var(--white);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 720px;
  text-align: left;
}

.form-group-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 20px;
}

.input-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-wrapper label {
  font-size: 0.85rem;
  color: #999;
  font-family: 'Montserrat', sans-serif;
}

.input-wrapper input[type="email"] {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-green);
  outline: none;
  transition: border-color 0.2s;
}

.input-wrapper input[type="email"]:focus {
  border-color: var(--dark-green);
}

.submit-button {
  background-color: var(--dark-green);
  color: var(--white);
  border: none;
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  transition: transform 0.7s ease;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--dark-green);
  font-family: 'Montserrat', sans-serif;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--dark-green);
  cursor: pointer;
}

.checkbox-wrapper a {
  color: var(--dark-green);
  text-decoration: underline;
}

/* ==========================================================================
   11. COOPERATION & BRANDS SECTION
   ========================================================================== */

.cooperation-section {
  background: var(--bg-about);
  background-attachment: fixed;
  position: relative;
  color: var(--dark-green);
  padding: 100px 40px;
}

.cooperation-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, #ffffff 85%);
  pointer-events: none;
  z-index: 0;
}

.cooperation-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cooperation-header {
  margin-bottom: 60px;
}

.cooperation-badge {
  background-color: var(--white);
  color: var(--dark-green);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  display: inline-block;
}

.cooperation-title {
  font-size: 3.8rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.cooperation-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 720px;
  opacity: 0.9;
  padding-left: 120px;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 90px;
}

.format-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.format-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.format-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.format-card:hover .format-img-wrapper img {
  transform: scale(1.06);
}

.format-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: var(--dark-green);
  color: #f0ff8c;
  padding: 28px;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.format-overlay-text {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.9;
}

.format-card:hover .format-overlay {
  transform: translateY(0);
}

.format-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.format-footer h3 {
  font-size: 1.2rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.2;
}

.format-arrow {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}

.brands-title {
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 30px;
  opacity: 0.85;
  margin-top: 40px;
}

.brands-subtitle {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 30px;
  opacity: 0.85;
  margin-top: 40px;
}

.brands-border-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.brand-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.brand-item:last-child {
  border-right: none;
}

.brand-logo-img {
  max-height: 45px;
  max-width: 80%;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.brand-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.8;
  max-width: 200px;
}

/* ==========================================================================
   12. CTA SECTION (BOTTOM)
   ========================================================================== */

.cta-section {
  width: 100%;
  background-color: #f0ff8c;
}

.cta-image-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.cta-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cta-content-bar {
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.cta-text-group {
  max-width: 60%;
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--dark-green);
  line-height: 1.1;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--dark-green);
  opacity: 0.9;
}

.cta-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 35px;
  border: 1px solid var(--dark-green);
  border-radius: 50px;
  color: var(--dark-green);
  font-weight: 500;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-contact-button:hover {
  background-color: var(--dark-green);
  color: #fff;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.site-footer {
  background-color: rgb(16 61 64);
  color: #f0ff8c;
  padding: 80px 40px 40px 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -20px;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  line-height: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#colophon > div > div.footer-top > div > a {
  padding: 15px;
  margin: 2px;
}

.social-link:hover {
  background-color: #f0ff8c;
  transform: scale(1.08);
}

.social-link:hover img {
  filter: invert(0) brightness(0);
}

.social-link:hover svg path {
  fill: var(--dark-green);
}

.footer-social .social-link img {
  margin: 10px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.footer-logo-big,
.footer__logo-big {
  display: inline-block;
  width: 100%;
  max-width: 900px;
  height: auto;
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.85;
  margin: 40px 0;
  letter-spacing: -2px;
  position: relative;
}

.footer-logo-big .trademark {
  font-size: 0.15em;
  font-style: normal;
  border: 2px solid #f0ff8c;
  border-radius: 50px;
  padding: 2px 8px;
  position: absolute;
  top: 10%;
  right: -10%;
  letter-spacing: 0;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgb(240 255 140 / 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgb(244 250 201 / 0.6);
}

.footer-bottom a {
  color: rgb(244 250 201 / 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

.reveal-footer {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-footer.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   14. MISC & UTILITIES
   ========================================================================== */

.diagonal-wrapper {
  position: relative;
  overflow: hidden;
}

.diagonal-wrapper::before {
  content: '';
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  top: -20%;
  left: -20%;
  background: linear-gradient(135deg, rgb(239 255 134 / 0.35) 0%, #fff0 60%);
  transform: rotate(146deg);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   15. PAGES & POLICY TEMPLATES
   ========================================================================== */

/* Privacy Policy */
.policy-page {
  background-color: var(--white);
  color: var(--dark-green);
  padding-top: 100px;
  min-height: 100vh;
}

.policy-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 120px;
}

.policy-container h1 {
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 80px;
  letter-spacing: -1.5px;
}

.policy-section {
  max-width: 950px;
  margin-bottom: 60px;
}

.policy-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.policy-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
}

.policy-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.9;
}

.policy-section ul {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 25px;
}

.policy-section ul li {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  opacity: 0.85;
}

.policy-section ul li::before {
  content: "•";
  color: var(--dark-green);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.policy-section a {
  color: var(--dark-green);
  text-decoration: underline;
  text-decoration-color: rgb(17 51 42 / 0.3);
}

.policy-section a:hover {
  text-decoration-color: var(--dark-green);
}

/* Custom Static Page (page.php) */
.custom-page-wrapper {
  background-color: var(--white);
  color: var(--dark-green);
  padding-top: 140px;
  min-height: 80vh;
}

.custom-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px 100px;
}

.custom-page-container .entry-title {
  font-size: 3.5rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 50px;
  letter-spacing: -1.5px;
  color: var(--dark-green);
}

.custom-page-container .page-featured-image {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 100%;
}

.custom-page-container .page-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.custom-page-container .entry-content {
  max-width: 950px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-green);
}

.custom-page-container .entry-content p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.custom-page-container .entry-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.custom-page-container .entry-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
}

.custom-page-container .entry-content ul,
.custom-page-container .entry-content ol {
  padding-left: 20px;
  margin-bottom: 28px;
}

.custom-page-container .entry-content ul li {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  list-style: none;
  opacity: 0.9;
}

.custom-page-container .entry-content ul li::before {
  content: "•";
  color: var(--dark-green);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.custom-page-container .entry-content a {
  color: var(--dark-green);
  text-decoration: underline;
  text-decoration-color: rgba(16, 61, 64, 0.3);
  transition: text-decoration-color 0.2s ease;
}

.custom-page-container .entry-content a:hover {
  text-decoration-color: var(--dark-green);
}

.custom-page-container .entry-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 61, 64, 0.15);
  font-size: 0.85rem;
}

.custom-page-container .post-edit-link {
  color: var(--dark-green);
}

/* ==========================================================================
   16. MEDIA QUERIES (RESPONSIVE STYLES)
   ========================================================================== */

@media (max-width: 1200px) {
  .cooperation-lead {
    padding-left: 0;
  }
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-border-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-item:nth-child(2) {
    border-right: none;
  }
  .brand-item:nth-child(3),
  .brand-item:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 1100px) {
  .activity-item:nth-child(n) {
    margin-left: 0 !important;
    letter-spacing: 0;
  }
  .activity-item {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 60px;
  }
  .activity-number {
    font-size: 5rem;
  }
  .cta-banner {
    flex-direction: column;
    text-align: left;
    gap: 40px;
    padding: 40px 20px;
  }
}

@media (max-width: 1024px) {
  .cooperation-lead {
    max-width: 100%;
  }
  .about-section,
  .activities-section,
  .news-section,
  .newsletter-section {
    background-attachment: scroll;
  }
  .site-header {
    padding: 0;
  }
  .navbar {
    border-radius: 0;
    border: none;
    max-width: none;
    width: 100%;
    padding: 12px 20px;
    background-color: #d6e2ba;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 20px;
  }
  .top-row,
  .middle-text-row,
  .bottom-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 0;
  }
  .about-title {
    font-size: 2.8rem;
  }
  .photo-small {
    width: 340px;
    height: 340px;
    border-radius: 24px;
    object-fit: cover;
    justify-self: end;
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.1);
    order: 2;
  }
  .secondary-text {
    order: 1;
  }
.news-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
  .newsletter-section {
    padding: 40px 15px 90px 15px;
  }
  .cta-content-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .cta-text-group {
    max-width: 100%;
  }
  .cta-title {
    font-size: 2.2rem;
  }
  .cooperation-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 900px) {
  .news-slide,
  .news-side {
    display: contents;
  }
  .news-feature,
  .news-side-card {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }
  .news-track {
    align-items: flex-start;
  }
  .news-feature-img,
  .news-side-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 320px;
    flex-shrink: 0;
  }
  .news-feature-img img,
  .news-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .news-feature-body,
  .news-side-body {
    flex-grow: 0;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px 20px 20px;
  }
  .news-feature-text h3 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0 0 8px;
  }
  .news-feature-text p {
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-side-body h3 {
    font-size: 1.15rem;
    line-height: 1.25;
  }
  .card-source {
    transform: none;
    opacity: 0.75;
    margin-right: 15px;
  }
  .news-feature-footer,
  .news-side-footer {
    margin-top: 2px;
    align-items: center;
  }
  .news-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 22px;
  }
  .news-dots {
    justify-content: center;
  }
  .news-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }
  .news-prev,
  .news-next {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
  }
  .news-carousel {
    gap: 18px;
    max-width: 750px;
  }
}

@media (max-width: 768px) {
  .reveal-footer {
    opacity: 1;
    transform: none;
    transition: none;
  }
	.timeline-section {
	padding: 60px 30px 100px;
	}
	
  .timeline-year {
    font-size: 2.2rem;
    margin-bottom: 18px;
    line-height: 1;
  }
  .timeline-arrow {
    width: 60px;
    height: 60px;
  }
  .timeline-desc {
    font-size: 1.2rem;
    line-height: 1.3;
    opacity: 0.85;
    max-width: 220px;
  }
  .hero {
    padding: 100px 20px 20px;
  }
  .hero .hero-title-wrapper,
  .hero-title-wrapper {
    display: block !important;
    max-width: 100%;
  }
  .hero .hero-title,
  .hero-title {
    display: block !important;
    font-size: 2.3rem;
    line-height: 1.05;
  }
  .stat-item {
    border-right: 0 none;
  }
  .stats-bar {
    grid-template-columns: repeat(1, 1fr);
    border-radius: 12px;
  }
  .stat-item:nth-child(n+3) {
    display: none;
  }
  .about-section,
  .activities-section,
  .news-section,
  .cooperation-section {
    padding: 60px 20px;
  }
  .newsletter-box {
    padding: 40px 20px;
  }
  .newsletter-box h2 {
    font-size: 1.8rem;
  }
  .newsletter-form-container {
    padding: 25px 20px;
  }
  .form-group-row {
    flex-direction: column;
    align-items: stretch;
  }
  .submit-button {
    justify-content: center;
    width: 100%;
  }
  .cta-image-container {
    height: 300px;
  }
  .cta-contact-button {
    width: 100%;
    justify-content: center;
  }
  .site-footer {
    padding: 60px 20px 30px;
  }
  .footer-top {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: flex-start;
  }
  .footer-logo-big,
  .footer__logo-big {
    max-width: 100%;
  }
  .footer-logo-big .trademark {
    right: 0;
    top: -5%;
  }
  .policy-container {
    padding: 40px 24px 80px;
  }
  .policy-container h1 {
    font-size: 2.2rem;
  }
  .policy-section h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .news-feature-img,
  .news-side-img {
    aspect-ratio: 4 / 3;
    max-height: 280px;
  }
  .news-feature-body {
    padding: 16px 16px 18px;
    gap: 10px;
  }
  .news-feature-text h3 {
    font-size: 1.2rem;
    margin: 0 0 6px;
  }
  .news-feature-text p {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
  }
  .news-side-body {
    padding: 16px;
  }
  .news-side-body h3 {
    font-size: 1.08rem;
  }
  .news-dots {
    flex-wrap: wrap;
    gap: 7px;
  }
  .news-dot {
    width: 8px;
    height: 8px;
  }
  .news-dot.is-active {
    width: 22px;
  }
  .news-prev,
  .news-next {
    width: 44px;
    height: 44px;
  }
  .news-carousel {
    gap: 14px;
    max-width: 350px;
  }
}