@charset "UTF-8";

/*
Theme Name: Transparent Digital Platforms
Author: Nikolay Kolesnichenko
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* Colors */
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #06b6d4;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --border-color: #e5e7eb;
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  font-size: 16px;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 360px;
  overflow-x: hidden;
}

main {
  flex: 1;
}

body.admin-bar {
  margin-top: 32px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

a {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

/* Container - Medium Desktop (769-1440px) */
@media (min-width: 769px) and (max-width: 1440px) {
  .container {
    padding: 0 40px;
  }
}
/* Container - Tablet (481-768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 30px;
  }
}
/* Container - Mobile (<481px) */
@media (max-width: 480px) {
  .container {
    padding: 0 25px;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: white !important;
  border: 2px solid var(--primary-color) !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white !important;
  border-color: var(--primary-color) !important;
}

/* Navbar - Desktop (>768px) */
.navbar {
  background: white;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand a {
  text-decoration: none;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.nav-brand a:hover h1 {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Dark navbar for home page */
body.home .navbar {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.home .nav-brand h1 {
  color: #ffffff;
}

body.home .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

body.home .nav-link:hover,
body.home .nav-link.active {
  color: #ffffff;
}

/* Navbar - Medium Desktop (769-1440px) */
@media (min-width: 769px) and (max-width: 1440px) {
  .navbar .container {
    padding: 1rem 40px;
  }
  .nav-brand h1 {
    font-size: 1.35rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }
}
/* Navbar - Tablet (481-768px) */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 20px;
  }
  .nav-brand h1 {
    font-size: 1.25rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .nav-menu {
    gap: 1rem;
  }
}
@media (max-width: 400px) {
  .nav-brand h1 {
    font-size: 1.05rem;
  }
  .nav-menu a {
    font-size: 0.9rem;
  }
}
.hero {
  background: linear-gradient(180deg, #000000 0%, #222222 100%);
  padding: 120px 0 100px 0;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.05) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.05) 0%, transparent 50%), radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.03) 0%, transparent 50%), radial-gradient(circle at 25% 75%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.3);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Hero - Medium Desktop (769-1440px) - использует общие стили .container */
/* Hero - Tablet (481-768px) */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 72px 0;
  }
  .hero-title {
    font-size: 2.4rem;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-buttons {
    justify-content: flex-start;
  }
}
/* Hero - Mobile (<481px) */
@media (max-width: 480px) {
  .hero {
    padding: 80px 0 56px 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
}
.services-highlights-section {
  padding: 60px 0;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Services Highlights - Tablet (481-768px) */
@media (max-width: 768px) {
  .services-highlights-section {
    padding: 48px 0;
  }
  .services-highlights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .highlight-card {
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .highlight-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}
.services {
  padding: 100px 0;
  background: white;
}

.section-title {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--text-primary);
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Services - Tablet (481-768px) */
@media (max-width: 768px) {
  .services {
    padding: 80px 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* Services - Mobile (<481px) */
@media (max-width: 480px) {
  .services {
    padding: 40px 0 56px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.5rem;
  }
}
.highlight-card {
  text-align: left;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.highlight-card:last-child {
  border-right: none;
  padding-right: 0;
}

.highlight-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.highlight-card h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.card {
  padding: 2rem;
  background: transparent;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}

.card.featured {
  background: var(--bg-secondary);
  border: 2px solid var(--primary-color);
  position: relative;
}

.card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 10px 10px 0 0;
}

.card h4 {
  color: var(--text-primary);
  font-size: 1.2rem !important;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: left;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem !important;
  margin: 0;
  line-height: 1.7;
}

/* About - Desktop (>768px) */
.about {
  padding: 60px 0 80px 0;
  background: var(--bg-primary);
}

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

.about h1 {
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  color: #000000;
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-align: left;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  border-bottom: 3px solid #000000;
}

.about h2 {
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  text-align: left;
}

.about h2:first-of-type {
  margin-top: 1rem;
}

.about > .container > .about-content > p,
.about-content > p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.7;
}

.about-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.about-content li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.about-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.about-content a:hover {
  color: var(--primary-dark);
  border-bottom: 1px solid var(--primary-dark);
}

/* About - Tablet (481-768px) */
@media (max-width: 768px) {
  .about {
    padding: 40px 0;
  }
}
/* About - Mobile (<481px) */
@media (max-width: 480px) {
  .about {
    padding: 40px 0 56px 0;
  }
  .about h1 {
    margin-top: 0;
  }
}
/* Company Info - Desktop (>768px) */
.company-info-section {
  margin: 3rem 0 0 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.info-item {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.info-item h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.info-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.info-item strong {
  color: var(--text-primary);
}

.info-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.info-item a:hover {
  color: var(--primary-dark);
  border-bottom: 1px solid var(--primary-dark);
}

.legal-columns {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  margin-top: 1rem;
}

.legal-left p {
  margin: 0;
  line-height: 1.6;
}

.legal-right p {
  margin-bottom: 1.5rem;
}

.legal-right p:last-child {
  margin-bottom: 0;
}

/* Company Info - Medium Desktop (769-1024px) */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
/* Company Info - Tablet (481-768px) */
@media (max-width: 768px) {
  .legal-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* Projects - Desktop (>768px) */
.projects-section {
  margin: 3rem 0;
}

.projects-section h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: left;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.project-year {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Projects - Tablet (481-768px) */
@media (max-width: 768px) {
  .project-list {
    grid-template-columns: 1fr;
  }
}
/* Projects - Mobile (<481px) */
@media (max-width: 480px) {
  .project-list {
    grid-template-columns: 1fr;
  }
}
/* Technologies - Desktop (>768px) */
.technologies {
  padding: 80px 0;
  background: white;
  border-top: 1px solid var(--border-color);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.tech-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tech-item span {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  text-align: center;
}

/* Technologies - Tablet (481-768px) */
@media (max-width: 768px) {
  .technologies {
    padding: 60px 0;
  }
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
  }
}
/* Technologies - Mobile (<481px) */
@media (max-width: 480px) {
  .technologies {
    padding: 40px 0 56px 0;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .tech-item {
    padding: 1rem 0.5rem;
  }
  .tech-item img {
    width: 40px;
    height: 40px;
  }
  .tech-item span {
    font-size: 0.8rem;
  }
}
.cta {
  padding: 100px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 2rem;
  color: var(--text-primary);
}

/* CTA - Tablet (481-768px) - использует общие стили .container */
/* CTA - Mobile (<481px) */
@media (max-width: 480px) {
  .cta {
    padding: 40px 0 56px 0;
  }
}
/* Contact - Desktop (>768px) */
.contact-content {
  padding: 80px 0;
}

.contact-intro {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 0;
  align-items: start;
}

.contact-map {
  margin: 0;
  width: 100%;
  position: relative;
  background: var(--bg-tertiary);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.contact-map::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  border-radius: 0;
  border: none;
  position: relative;
  z-index: 1;
}

.contact-details {
  padding: 0;
  margin: 1rem 0 0 0;
}

.contact-details p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
}

.contact-details strong {
  color: var(--text-primary);
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.contact-details a:hover {
  color: var(--primary-dark);
  border-bottom: 1px solid var(--primary-dark);
}

/* Contact - Medium Desktop (769-1100px) */
@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
/* Contact - Tablet (481-768px) */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
/* Contact - Mobile (<481px) */
@media (max-width: 480px) {
  .contact-content {
    padding: 40px 0 56px 0;
  }
  .contact-layout {
    gap: 2rem;
  }
}
/* ============================================
   14. CONTACT FORM
   ============================================ */
/* Contact Form - Desktop (>768px) */
.contact-form {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 10px 10px 0 0;
}

/* Contact Form - Mobile (<481px) */
@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem;
  }
}
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  background: white;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  background-color: white !important;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group.focused label {
  color: var(--primary-color);
}

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

/* Footer - Desktop (>768px) */
footer {
  background: var(--text-primary);
  color: white;
  padding: 2rem 0;
  margin-top: auto;
}

.footer-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

.footer-contacts {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-contacts a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

.footer-contacts a:hover {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.4);
}

/* Footer - Tablet (481-768px) */
@media (max-width: 768px) {
  .footer-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.news-card:hover {
  border-color: var(--primary-color);
}

.news-card h3 a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.news-image {
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.news-placeholder {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.25rem;
}

.news-content {
  padding: 2rem;
}

.news-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.news-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.news-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: none;
}

.news-card h3 a:hover {
  color: var(--primary-color);
  border-bottom: none;
}

.news-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* News - Tablet (481-768px) */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
/* News - Mobile (<481px) */
@media (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-link,
.pagination-number {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color) !important;
  background: white;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
}

.pagination-link:hover:not(.disabled),
.pagination-number:hover:not(.active) {
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color);
  background: var(--bg-secondary);
}

.pagination-number.active {
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color) !important;
}

.pagination-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-dots {
  color: var(--text-light);
  padding: 0 0.5rem;
}

/* Pagination - Mobile & Small Tablet (<601px) */
@media (max-width: 600px) {
  .pagination-link,
  .pagination-number {
    font-size: 0;
    padding: 0;
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .pagination-link::before {
    font-size: 1rem;
    display: block;
  }
  .pagination-link:first-child::before {
    content: "←";
  }
  .pagination-link:last-child::before {
    content: "→";
  }
  .pagination-number {
    font-size: 0.9rem;
  }
  .pagination-dots {
    font-size: 0.85rem;
  }
}
.jobs-intro {
  margin-bottom: 3rem;
}

.jobs-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.job-item {
  background: white;
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  position: relative;
}

.job-item:hover {
  border-color: var(--primary-color);
}

.job-item h3 a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.job-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.job-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.job-header h3 a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: none;
}

.job-header h3 a:hover {
  color: var(--primary-color);
  border-bottom: none;
}

.job-meta {
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-meta span:not(:last-child)::after {
  content: "•";
  margin-left: 0.5rem;
  color: var(--text-light);
}

.job-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Post - Desktop (>768px) */
.post-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.breadcrumb {
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: 0px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.breadcrumb:hover {
  color: var(--primary-color);
}

.post-content .breadcrumb {
  margin-top: 1rem;
}

.post-header h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #000000;
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-align: left;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.post-header {
  margin-bottom: 2rem;
}

.post-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.post-featured-image {
  margin: 2rem 0 3rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.post-body ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-body li {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.post-body a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.post-body a:hover {
  color: var(--primary-dark);
  border-bottom: 1px solid var(--primary-dark);
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.back-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  color: var(--primary-dark);
}

.apply-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.apply-section .btn {
  color: white !important;
  position: relative;
  z-index: 2;
}

/* Thank You - Desktop (>768px) */
.thank-you-content {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.title-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.success-icon {
  flex-shrink: 0;
}

.success-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.title-with-icon h1 {
  margin: 0;
}

.response-info,
.next-steps {
  background: var(--bg-secondary);
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin: 2rem 0;
  max-width: 700px;
}

.response-info h2,
.next-steps h2 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.3rem;
}

.response-info ul,
.next-steps ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.response-info li,
.next-steps li {
  color: var(--text-secondary);
  line-height: 1.6;
}

.response-info li a,
.next-steps li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.response-info li a:hover,
.next-steps li a:hover {
  color: var(--primary-dark);
  border-bottom: 1px solid var(--primary-dark);
}

.thank-you-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Thank You - Mobile (<481px) */
@media (max-width: 480px) {
  .title-with-icon {
    margin-top: 0;
  }
  .response-info,
  .next-steps {
    padding: 1.5rem;
  }
  .thank-you-actions {
    flex-direction: column;
  }
  .thank-you-actions .btn {
    width: 100%;
    text-align: center;
  }
}
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}