/*
Theme Name: Šiaulių RAC
Theme URI: https://www.siauliurotaract.lt
Author: Šiaulių Auksinio Rato Rotaract Klubas
Author URI: https://www.siauliurotaract.lt
Description: Custom WordPress theme for Šiaulių Auksinio Rato Rotaract Klubas — a modern Lithuanian youth organization focused on community service, volunteering, and leadership.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siauliu-rac
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f3f3f3;
  --color-bg-dark: #242833;
  --color-bg-black: #121212;
  --color-accent: #580813;
  --color-accent-light: #7a1020;
  --color-text: rgba(18, 18, 18, 0.75);
  --color-text-strong: #121212;
  --color-text-light: #ffffff;
  --color-border: rgba(18, 18, 18, 0.08);

  --font-body: 'DM Sans', Helvetica, Arial, sans-serif;
  --font-heading: 'Space Mono', 'SF Mono', Menlo, Consolas, monospace;
  --font-display: 'Instrument Serif', Georgia, serif;

  --page-width: 1200px;
  --section-spacing: 100px;
  --section-spacing-mobile: 60px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-strong);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p + p { margin-top: 1em; }

.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--color-text-strong);
  color: var(--color-text-light);
}
.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-strong);
  border: 1.5px solid var(--color-text-strong);
}
.btn-outline:hover {
  background: var(--color-text-strong);
  color: var(--color-text-light);
}

.btn-light {
  background: rgba(255,255,255,0.15);
  color: var(--color-text-light);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-light:hover {
  background: var(--color-text-light);
  color: var(--color-text-strong);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text-light);
}
.btn-accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: none;
  color: rgba(255,255,255,0.8);
  border: none;
  padding: 14px 32px;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  transition: var(--transition);
}

.btn-ghost:hover {
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.btn-ghost:hover::after {
  background: #ffffff;
  bottom: 8px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-accent);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 12px 24px;
}

/* Logo */
.site-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.site-logo img {
  display: block;
  max-height: 100px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Desktop Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #f3f3f3;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
}

/* Dropdown */
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 240px;
  list-style: none;
  margin: 0;
  z-index: 100;
}

.main-nav li:hover > .sub-menu {
  display: block;
}

.main-nav .sub-menu li {
  list-style: none;
	padding-left: 20px;
}

.main-nav .sub-menu a {
  padding: 10px 16px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

.main-nav .sub-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text-strong);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f3f3f3;
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  padding: 140px 24px 40px;
  overflow-y: auto;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-strong);
  border-bottom: 1px solid var(--color-border);
}

/* Mobile submenu parent link wrapper */
.mobile-nav .menu-item-has-children {
  position: relative;
}

.mobile-nav .menu-item-has-children > a {
  padding-right: 48px;
}

/* Submenu toggle arrow button */
.mobile-nav .submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.mobile-nav .submenu-toggle::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.mobile-nav .submenu-toggle.active::after {
  transform: rotate(-135deg);
}

/* Mobile sub-menu */
.mobile-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-nav .sub-menu.active {
  max-height: 500px;
}

.mobile-nav .sub-menu a {
  padding: 12px 0 12px 20px;
  font-size: 0.95rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 60vh;
  padding-top: 93px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18,18,18,0.7) 0%,
    rgba(88,8,19,0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 24px;
  animation: fadeInUp 1s ease both;
}

.hero-content h1 {
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating decorative images */
.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  opacity: 0.07;
  border-radius: 50%;
  will-change: transform;
}

.hero-float--1 {
  width: 180px;
  height: 180px;
  top: 8%;
  left: 5%;
  animation: heroFloat1 22s ease-in-out infinite, heroSpin 30s linear infinite;
}

.hero-float--2 {
  width: 140px;
  height: 140px;
  top: 60%;
  right: 8%;
  animation: heroFloat2 18s ease-in-out infinite, heroSpin 25s linear infinite reverse;
}

.hero-float--3 {
  width: 120px;
  height: 120px;
  bottom: 12%;
  left: 12%;
  animation: heroFloat3 20s ease-in-out infinite, heroSpin 35s linear infinite;
}

.hero-float--4 {
  width: 160px;
  height: 160px;
  top: 15%;
  right: 4%;
  animation: heroFloat4 24s ease-in-out infinite, heroSpin 28s linear infinite reverse;
}

.hero-float--5 {
  width: 100px;
  height: 100px;
  top: 45%;
  left: 2%;
  animation: heroFloat5 19s ease-in-out infinite, heroSpin 32s linear infinite;
}

.hero-float--6 {
  width: 130px;
  height: 130px;
  bottom: 5%;
  right: 15%;
  animation: heroFloat6 21s ease-in-out infinite, heroSpin 26s linear infinite reverse;
}

@keyframes heroSpin {
  0%   { rotate: 0deg; }
  100% { rotate: 360deg; }
}

@keyframes heroFloat1 {
  0%, 100% { translate: 0 0; }
  25%      { translate: 40px 30px; }
  50%      { translate: -20px 60px; }
  75%      { translate: 30px -20px; }
}

@keyframes heroFloat2 {
  0%, 100% { translate: 0 0; }
  25%      { translate: -30px -40px; }
  50%      { translate: 20px -20px; }
  75%      { translate: -40px 30px; }
}

@keyframes heroFloat3 {
  0%, 100% { translate: 0 0; }
  25%      { translate: 35px -25px; }
  50%      { translate: -15px -50px; }
  75%      { translate: -35px 20px; }
}

@keyframes heroFloat4 {
  0%, 100% { translate: 0 0; }
  25%      { translate: -25px 35px; }
  50%      { translate: 30px 15px; }
  75%      { translate: -10px -40px; }
}

@keyframes heroFloat5 {
  0%, 100% { translate: 0 0; }
  25%      { translate: 20px -30px; }
  50%      { translate: -25px 20px; }
  75%      { translate: 15px 45px; }
}

@keyframes heroFloat6 {
  0%, 100% { translate: 0 0; }
  25%      { translate: -35px -20px; }
  50%      { translate: 15px -45px; }
  75%      { translate: 40px 10px; }
}

@media (max-width: 768px) {
  .hero-float--1 { width: 100px; height: 100px; }
  .hero-float--2 { width: 80px; height: 80px; }
  .hero-float--3 { width: 70px; height: 70px; }
  .hero-float--4 { width: 90px; height: 90px; }
  .hero-float--5 { width: 60px; height: 60px; }
  .hero-float--6 { width: 75px; height: 75px; }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: var(--section-spacing) 0;
}

.section-dark {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.8);
}
.section-dark h2,
.section-dark h3 {
  color: var(--color-text-light);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-accent {
  background: var(--color-accent);
  color: rgba(255,255,255,0.9);
}
.section-accent h2,
.section-accent h3 {
  color: var(--color-text-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--color-accent);
  border-radius: 100px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content strong,
.about-content b {
  color: var(--color-text-strong);
  font-weight: 600;
}

/* ============================================
   FULL-WIDTH BANNER
   ============================================ */
.full-banner {
  position: relative;
  width: 100%;
  max-height: 600px;
  line-height: 0;
  overflow: hidden;
}

.full-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.full-banner img {
  width: 100%;
  height: clamp(240px, 50vw, 600px);
  display: block;
  object-fit: cover;
}
/* ============================================
   ACTIVITIES / 3-COLUMN CARDS
   ============================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.activity-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.activity-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 8, 19, 0.06);
  border-radius: 50%;
  color: var(--color-accent);
  transition: var(--transition);
}

.activity-card .icon svg {
  display: block;
}

.activity-card:hover .icon {
  background: var(--color-accent);
  color: #ffffff;
}

.activity-card h3 {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.activity-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   PROJECTS — Image + Text Rows
   ============================================ */
.projects-list {
  display: flex;
  flex-direction: column;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}

.project-row:last-child {
  border-bottom: none;
}

.project-row--reversed .project-row__image {
  order: 2;
}

.project-row--reversed .project-row__content {
  order: 1;
}

.project-row__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-row__image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
}

.project-row__content .label {
  display: inline-block;
  margin-bottom: 12px;
}

.project-row__content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.project-row__content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.project-row__content p strong {
  color: var(--color-text-strong);
}

/* ============================================
   COLLAPSIBLE / ACCORDION
   ============================================ */
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--color-bg);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-text-strong);
  text-align: left;
  transition: var(--transition);
}

.accordion-trigger:hover {
  background: var(--color-bg-alt);
}

.accordion-trigger svg {
  width: 20px;
  height: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-panel {
  display: none;
  padding: 0 24px 24px;
}

.accordion-panel.active {
  display: block;
}

/* ============================================
   MEMBERS — Image + Text Rows
   ============================================ */
.members-section {
  padding-top: 40px;
}

.member-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}

.member-row:last-child {
  border-bottom: none;
}

.member-row--reversed {
  grid-template-columns: 2fr 1fr;
}

.member-row--reversed .member-row__image {
  order: 2;
}

.member-row--reversed .member-row__info {
  order: 1;
}

.member-row__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.member-row__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.member-row:hover .member-row__image img {
  transform: scale(1.03);
}

.member-row__info h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.member-row__role {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.member-row__job {
  font-weight: 600;
  color: var(--color-text-strong);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.member-row__spec {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.member-row__spec strong {
  color: var(--color-text-strong);
}

.member-row__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-text);
  padding-left: 20px;
  border-left: 3px solid var(--color-accent);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .member-row,
  .member-row--reversed {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .member-row--reversed .member-row__image,
  .member-row--reversed .member-row__info {
    order: unset;
  }

  .member-row {
    padding: 32px 0;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info > p {
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

a.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

a.contact-detail:hover {
  border-color: var(--color-accent);
  background: rgba(88, 8, 19, 0.03);
  transform: translateX(4px);
}

.contact-detail .icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: var(--transition);
}

a.contact-detail:hover .icon-wrap {
  background: var(--color-accent);
  color: #ffffff;
}

.contact-detail .icon-wrap svg {
  display: block;
}

.contact-detail div:last-child {
  min-width: 0;
}

.contact-detail strong {
  display: block;
  color: var(--color-text-strong);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.contact-detail span {
  font-size: 0.9rem;
  color: var(--color-text);
}

/* Contact Form Container */
.contact-form {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 48px;
}

.contact-form h3 {
  margin-bottom: 32px;
}

/* ============================================
   CONTACT FORM 7 STYLES
   ============================================ */
.wpcf7 {
  width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-strong);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-strong);
  background: var(--color-bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(18, 18, 18, 0.35);
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(88, 8, 19, 0.1);
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* CF7 Submit Button */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"],
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-text-strong);
  color: var(--color-text-light);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  align-self: flex-start;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* CF7 Spinner */
.wpcf7-spinner {
  margin-left: 12px;
}

/* CF7 Validation States */
.wpcf7-not-valid-tip {
  display: block;
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-top: 6px;
  font-weight: 500;
}

.wpcf7-not-valid {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px rgba(88, 8, 19, 0.08) !important;
}

/* CF7 Response Messages */
.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 14px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.9rem;
  line-height: 1.5;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #16a34a !important;
  background: rgba(22, 163, 74, 0.06);
  color: #15803d;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: var(--color-accent) !important;
  background: rgba(88, 8, 19, 0.04);
  color: var(--color-accent);
}

/* CF7 Acceptance / Checkbox */
.wpcf7-form .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
}

/* CF7 File Upload */
.wpcf7-form input[type="file"] {
  padding: 10px;
  font-size: 0.85rem;
}

/* CF7 inside our form container - spacing fix */
.contact-form .wpcf7-form p + p {
  margin-top: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-strong);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(88, 8, 19, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================
   NEWS / BLOG
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.news-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 28px;
}

.news-card-body .date {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.news-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.news-card-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Single post */
.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 160px;
}

.single-post-content h1 {
  margin-bottom: 16px;
}

.single-post-content .post-meta {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.single-post-content .post-body {
  font-size: 1.05rem;
  line-height: 1.85;
}

.single-post-content .post-body h2 {
  margin: 48px 0 20px;
}

.single-post-content .post-body h3 {
  margin: 36px 0 16px;
}

.single-post-content .post-body img {
  border-radius: var(--radius);
  margin: 32px 0;
}

.single-post-content .post-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  margin: 32px 0;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* ============================================
   PROJECT PAGE HERO (with bg image)
   ============================================ */
.project-hero {
  position: relative;
  min-height: 50vh;
  padding-top: 93px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.project-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.project-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.project-hero .container {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
}

.project-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}

.project-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .project-hero {
    min-height: 40vh;
    padding-top: 70px;
  }
}

/* ============================================
   PAGE TEMPLATE — PROJECTS
   ============================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-dark);
  padding-top: 93px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(88,8,19,0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(88,8,19,0.15) 0%, transparent 40%);
}

.page-hero h1 {
  position: relative;
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-style: italic;
}

.page-hero p {
  position: relative;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 16px auto 0;
}

.page-content {
  padding: 80px 0;
}

.page-content .content-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
}

.page-content .content-body h2 {
  margin: 48px 0 20px;
}

.page-content .content-body h3 {
  margin: 36px 0 16px;
}

.page-content .content-body strong {
  color: var(--color-text-strong);
}

.page-content .content-body ul,
.page-content .content-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.page-content .content-body li {
  margin-bottom: 8px;
}

/* Image gallery */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 48px 0;
}

.page-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.page-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

/* Partners logos */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.partners-row img {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition);
  filter: grayscale(40%);
}

.partners-row img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ============================================
   COMMUNITY PAGE — PANORAMIC SLIDESHOW
   ============================================ */
.community-slideshow {
  position: relative;
  padding-top: 93px;
  background: var(--color-bg-dark);
}

.pano-viewport {
  position: relative;
  height: 70vh;
  max-height: 900px;
  min-height: 400px;
  overflow: hidden;
}

/* Panoramic image — 200% width, pans via translateX */
.pano-image {
  position: absolute;
  inset: 0;
  width: 150%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.4, 0, 0.15, 1);
  will-change: transform;
}

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

.pano-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Content slides */
.pano-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pano-slide__content {
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s,
              transform 0.8s cubic-bezier(0.4, 0, 0.15, 1) 0.2s;
}

/* Slide 1 — enters/exits left */
.pano-slide--1 .pano-slide__content {
  transform: translateX(-80px);
}

.pano-slide--1.active .pano-slide__content {
  opacity: 1;
  transform: translateX(0);
}

.pano-slide--1.exit-left .pano-slide__content {
  opacity: 0;
  transform: translateX(-120px);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.15, 1);
}

/* Slide 2 — enters/exits right */
.pano-slide--2 .pano-slide__content {
  transform: translateX(80px);
}

.pano-slide--2.active .pano-slide__content {
  opacity: 1;
  transform: translateX(0);
}

.pano-slide--2.exit-right .pano-slide__content {
  opacity: 0;
  transform: translateX(120px);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.15, 1);
}

/* Text */
.pano-slide__content h2 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.pano-slide__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.pano-motto {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem) !important;
  letter-spacing: 0.05em;
  color: #ffffff !important;
}

/* Overlay arrows */
.pano-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pano-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.4);
}

.pano-arrow--prev {
  left: 24px;
}

.pano-arrow--next {
  right: 24px;
}

.pano-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .pano-arrow {
    width: 40px;
    height: 40px;
  }

  .pano-arrow--prev {
    left: 12px;
  }

  .pano-arrow--next {
    right: 12px;
  }
}

/* ============================================
   ACCORDION WRAPPER (max-width constraint)
   ============================================ */
.accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-wrapper .accordion-panel p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.accordion-wrapper .accordion-panel strong {
  color: var(--color-text-strong);
}

.accordion-wrapper .accordion-panel ul {
  margin: 12px 0;
  padding-left: 20px;
}

.accordion-wrapper .accordion-panel li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ============================================
   IMAGE LINK GRID (4-col logos)
   ============================================ */
.image-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.image-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.image-link-card:hover {
  transform: translateY(-6px);
}

.image-link-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: #ffffff;
}

.image-link-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-link-card__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-strong);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .community-slideshow {
    padding-top: 70px;
  }

  .pano-viewport {
    height: 50vh;
    min-height: 320px;
  }

  .image-link-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ============================================
   ROTARY LIETUVA CTA
   ============================================ */
.rotary-cta {
  background: var(--color-bg-dark);
  padding: 100px 0;
  overflow: hidden;
}

.rotary-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rotary-cta__content h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.rotary-cta__content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.rotary-cta__content .btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: none;
}

.rotary-cta__content .btn:hover {
  background: #ffffff;
  color: var(--color-text-strong);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.rotary-cta__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotary-cta__image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.rotary-cta:hover .rotary-cta__image img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .rotary-cta {
    padding: 60px 0;
  }

  .rotary-cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .rotary-cta__content .btn {
    margin: 0 auto;
  }

  .rotary-cta__image img {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section .video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-player {
  width: 100%;
  max-height: 80vh;
  height: auto;
  display: block;
  background: #000;
}

/* ============================================
   LOGO CAROUSEL (infinite scroll)
   ============================================ */
.logo-carousel-section {
  overflow: hidden;
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logo-carousel__track {
  display: flex;
  gap: 48px;
  width: max-content;
  will-change: transform;
}

.logo-carousel__track:hover {
  /* pause handled by JS */
}

.logo-carousel__item {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-carousel__item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.logo-carousel__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-carousel__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .logo-carousel__track {
    gap: 32px;
  }

  .logo-carousel__item {
    width: 90px;
    height: 90px;
    padding: 8px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-black);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-col h4 {
  color: var(--color-text-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-col a:hover {
  color: var(--color-text-light);
  padding-left: 4px;
}

.footer-contact-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.footer-contact-link svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.footer-contact-link:hover svg {
  opacity: 1;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--color-accent);
  color: var(--color-text-light);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-section {
  background: var(--color-accent);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: var(--section-spacing-mobile);
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-logo img {
    max-height: 60px;
  }

  .hero {
    min-height: 60vh;
    padding-top: 70px;
  }

  .page-hero {
    min-height: 40vh;
    padding-top: 70px;
    margin-top: 0;
  }

  .single-post-content {
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .project-row,
  .project-row--reversed {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .project-row--reversed .project-row__image,
  .project-row--reversed .project-row__content {
    order: unset;
  }

  .project-row__image img {
    max-width: 280px;
    margin: 0 auto;
  }

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

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

  .contact-form {
    padding: 32px 24px;
  }

  .wpcf7-form input[type="submit"],
  .wpcf7-submit {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.alignnone,
.aligncenter,
.alignleft,
.alignright {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin: 24px auto;
}

.alignleft {
  float: left;
  margin: 0 24px 24px 0;
}

.alignright {
  float: right;
  margin: 0 0 24px 24px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--color-text);
  text-align: center;
  padding: 8px 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* WP Block styles */
.wp-block-image {
  margin: 32px 0;
}

.wp-block-image img {
  border-radius: var(--radius-sm);
}

.has-text-align-center {
  text-align: center;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  transition: var(--transition);
}

.pagination a:hover {
  background: var(--color-bg-alt);
}

.pagination .current {
  background: var(--color-text-strong);
  color: var(--color-text-light);
  border-color: var(--color-text-strong);
}
