/* =================================================================== */
/* ========== GDPR PAGE - 79king78 STYLES ========== */
/* =================================================================== */

.page-gdpr {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #f8fafc;
  color: #333333;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* Container */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* ==================== HERO SECTION ==================== */
.page-gdpr__hero-section {
  background: linear-gradient(135deg, #017439 0%, #004d26 100%);
  padding-top: 10px;
  padding-bottom: 0;
}

.page-gdpr__hero-wrapper {
  max-width: 1020px;
  margin: 0 auto;
  padding: 14px 16px 18px;
  box-sizing: border-box;
  width: 100%;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 4;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,0.9);
}

.page-gdpr__hero-content {
  margin-top: 16px;
  text-align: center;
}

.page-gdpr__hero-title {
  font-size: clamp(1.5rem, 0.8rem + 1.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-gdpr__hero-text {
  color: #e0f2e5;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto 20px;
}

.page-gdpr__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn--login {
  background: #ffffff;
  color: #C30808;
  border-color: #ffffff;
}

.page-gdpr__btn--login:hover {
  background: #f0f0f0;
}

.page-gdpr__btn--register {
  background: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-gdpr__btn--register:hover {
  background: #a00505;
}

.page-gdpr__guide-section .page-gdpr__btn--register,
.page-gdpr__guide-section .page-gdpr__btn--login {
  display: block;
  max-width: 250px;
  margin: 20px auto;
}

/* ==================== LOGO GRID SECTION ==================== */
.page-gdpr__logo-section {
  padding: 30px 0 40px;
}

.page-gdpr__section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 12px;
  padding-left: 16px;
  padding-right: 16px;
}

.page-gdpr__section-title {
  font-size: clamp(1.3rem, 0.7rem + 1.2vw, 2rem);
  font-weight: 700;
  color: #017439;
  line-height: 1.4;
  margin-bottom: 12px;
}

.page-gdpr__section-line {
  display: inline-block;
  width: 80px;
  height: 4px;
  background: #017439;
  border-radius: 4px;
}

.page-gdpr__section-desc {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #4a5568;
}

.page-gdpr__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 16px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-gdpr__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-gdpr__logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(1, 116, 57, 0.2);
}

.page-gdpr__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
  background-color: #ffffff;
}

.page-gdpr__logo-cta {
  padding: 8px 24px;
  border-radius: 999px;
  background: #017439;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.page-gdpr__logo-cta:hover {
  background: #005c2d;
}

.mobile-second-half .page-gdpr__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-gdpr__logo-item:nth-child(4) {
  margin-right: 0;
}

.mobile-second-half .page-gdpr__logo-item:nth-child(5) {
  grid-column: auto;
}

.page-gdpr__logo-item:nth-child(5) {
  grid-column: auto;
}

/* 4+2 responsive fix */
.page-gdpr__logo-grid .page-gdpr__logo-item:nth-child(5),
.page-gdpr__logo-grid .page-gdpr__logo-item:nth-child(6) {
  grid-column: auto;
}

/* ==================== GUIDE SECTION ==================== */
.page-gdpr__guide-section {
  padding-bottom: 48px;
}

.page-gdpr__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.page-gdpr__guide-title {
  text-align: center;
  color: #017439;
  font-size: clamp(1.3rem, 0.7rem + 1.2vw, 2rem);
  font-weight: 700;
}

.page-gdpr__guide-intro {
  text-align: center;
  margin: 16px auto 24px;
  max-width: 800px;
  font-size: 0.95rem;
  color: #4a5568;
}

.page-gdpr__guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.page-gdpr__guide-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #eceded;
  transition: all 0.3s ease;
}

.page-gdpr__guide-card:hover {
  box-shadow: 0 8px 15px rgba(1, 116, 57, 0.2);
  transform: translateY(-4px);
}

.page-gdpr__guide-figure {
  margin: 0;
}

.page-gdpr__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-gdpr__guide-content {
  padding: 14px;
}

.page-gdpr__guide-card-title {
  color: #333;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 6px 0 6px;
}

.page-gdpr__guide-card-title a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}

.page-gdpr__guide-card-title a:hover {
  color: #017439;
}

.page-gdpr__guide-date {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 8px;
  display: inline-block;
}

.page-gdpr__guide-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.page-gdpr__guide-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: #017439;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.page-gdpr__guide-link:hover {
  color: #a00505;
}

.page-gdpr__guide-card a{
  word-break: break-word;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* --- Tablet --- */
@media (max-width: 1024px) {
  .page-gdpr__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-gdpr__logo-item:nth-child(5), .page-gdpr__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-gdpr__guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-gdpr__hero-wrapper {
    padding-top: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-gdpr__hero-image {
    aspect-ratio: 2 / 1;
    border-radius: 10px;
  }

  .page-gdpr__hero-content {
    margin-top: 12px;
  }

  .page-gdpr__hero-title {
    font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .page-gdpr__hero-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .page-gdpr__hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .page-gdpr__btn {
    max-width: 100%;
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  .page-gdpr__hero-actions .page-gdpr__btn {
    width: 100%;
    max-width: 320px;
  }

  .page-gdpr__logo-section {
    padding-top: 20px;
  }

  .page-gdpr__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-gdpr__logo-item {
    padding: 8px 4px;
    gap: 8px;
  }

  .page-gdpr__logo-item:nth-child(5),
  .page-gdpr__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-gdpr__logo-cta {
    font-size: 0.8rem;
    padding: 8px 12px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
  }

  .page-gdpr__logo-item > a.page-gdpr__logo-cta {
    padding-left: 4px;
    padding-right: 4px;
  }

  .page-gdpr__section-desc {
    font-size: 0.85rem;
  }

  .page-gdpr__guide-section {
    padding-top: 20px;
  }

  .page-gdpr__guide-inner {
    padding: 0 12px 40px;
  }

  .page-gdpr__guide-title {
    font-size: 1.4rem;
  }

  .page-gdpr__guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-gdpr__guide-card {
    padding-bottom: 8px;
  }

  .page-gdpr__guide-figure {
    margin: 0;
  }

  .page-gdpr__guide-content {
    padding: 12px;
  }

  .page-gdpr__guide-card-title {
    font-size: 0.95rem;
  }

  .page-gdpr__guide-link {
    margin-top: 5px;
    font-size: 0.8rem;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-block;
    word-break: break-word;
  }

  .page-gdpr__guide-figure img {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    max-width: 100%;
  }

  /* images constraint */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__hero-actions,
  .page-gdpr__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
  }

  .page-gdpr__hero-actions {
    overflow: hidden;
    gap: 10px;
  }

  .page-gdpr__btn--register,
  .page-gdpr__btn--login {
    display: block;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Small devices (e.g. iPhone SE) */
@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.4rem;
  }

  .page-gdpr__btn {
    font-size: 0.85rem;
  }
}