/* ========================================= */
/* GLOBAL */
/* ========================================= */

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

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

.published-editions-section {
  width: 100%;

  padding: 90px 90px 110px;

  background:
    linear-gradient(
      180deg,
      #f5f6f8 0%,
      #eceef2 100%
    );

  overflow: hidden;
}

.published-editions-container {
  width: 100%;
  max-width: 1320px;

  margin: 0 auto;
}

/* ========================================= */
/* TITLE */
/* ========================================= */

.published-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;

  letter-spacing: -1px;

  color: #10264a;

  margin-bottom: 70px;

  position: relative;

  font-family: Arial, sans-serif;

  animation: fadeUp 0.8s ease;
}

/* animated underline */

.published-title::after {
  content: "";

  width: 70px;
  height: 5px;

  background: #ec0016;

  border-radius: 100px;

  position: absolute;

  left: 0;
  bottom: -22px;

  animation:
    lineGrow 1s ease;
}

/* ========================================= */
/* GROUP */
/* ========================================= */

.edition-group {
  background:
    rgba(255,255,255,0.78);

  backdrop-filter: blur(12px);

  border-radius: 24px;

  margin-bottom: 22px;

  overflow: hidden;

  box-shadow:
    0 10px 35px rgba(0,0,0,0.04);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;

  animation: fadeUp 0.8s ease;
}

.edition-group:hover {
  transform: translateY(-3px);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.06);
}

/* ========================================= */
/* TOGGLE */
/* ========================================= */

.edition-toggle {
  width: 100%;

  border: none;
  outline: none;

  background: transparent;

  padding: 32px 36px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  cursor: pointer;

  text-align: left;

  font-size: 24px;
  font-weight: 700;

  color: #10264a;

  font-family: Arial, sans-serif;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.edition-toggle:hover {
  background:
    rgba(16,38,74,0.03);
}

/* ========================================= */
/* ICON */
/* ========================================= */

.edition-icon {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background:
    rgba(16,38,74,0.06);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  line-height: 1;

  flex-shrink: 0;

  transition:
    transform 0.4s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.edition-group.active .edition-icon {
  transform: rotate(45deg);

  background: #ec0016;

  color: #ffffff;
}

/* ========================================= */
/* CONTENT */
/* ========================================= */

.edition-content {
  max-height: 0;

  overflow: hidden;

  transition:
    max-height 0.55s ease,
    padding 0.4s ease;
}

.edition-group.active .edition-content {
  max-height: 2000px;

  padding-bottom: 28px;
}

/* ========================================= */
/* ITEM */
/* ========================================= */

.edition-item {
  width: calc(100% - 70px);

  margin: 0 auto;

  padding: 28px 0;

  border-top:
    1px solid rgba(16,38,74,0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;

  transition:
    transform 0.3s ease;
}

.edition-item:hover {
  transform: translateX(4px);
}

/* ========================================= */
/* LEFT */
/* ========================================= */

.edition-left {
  flex: 1;

  font-size: 18px;
  line-height: 1.8;

  color: #10264a;

  font-family: Arial, sans-serif;
}

/* ========================================= */
/* RIGHT */
/* ========================================= */

.edition-right {
  display: flex;
  align-items: center;

  gap: 24px;

  flex-shrink: 0;
}

.edition-size {
  font-size: 15px;
  font-weight: 600;

  color: #5d6475;

  white-space: nowrap;

  font-family: Arial, sans-serif;
}

/* ========================================= */
/* BUTTON */
/* ========================================= */

.download-btn {
  min-width: 140px;
  height: 52px;

  padding: 0 26px;

  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      #10264a 0%,
      #0b1830 100%
    );

  border: none;

  color: #ffffff;
  text-decoration: none;

  font-size: 15px;
  font-weight: 700;

  letter-spacing: 0.3px;

  box-shadow:
    0 10px 24px rgba(16,38,74,0.18);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}

.download-btn:hover {
  transform:
    translateY(-2px)
    scale(1.02);

  box-shadow:
    0 16px 30px rgba(16,38,74,0.25);
}

/* ========================================= */
/* ANIMATIONS */
/* ========================================= */

@keyframes fadeUp {

  from {
    opacity: 0;

    transform:
      translateY(40px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}

@keyframes lineGrow {

  from {
    width: 0;
  }

  to {
    width: 70px;
  }

}

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

@media (max-width: 1200px) {

  .published-editions-section {
    padding: 70px 60px 90px;
  }

  .published-title {
    font-size: 54px;
  }

}

@media (max-width: 992px) {

  .published-editions-section {
    padding: 60px 40px 80px;
  }

  .published-title {
    font-size: 44px;

    margin-bottom: 60px;
  }

  .edition-toggle {
    font-size: 21px;

    padding: 28px 28px;
  }

  .edition-item {
    width: calc(100% - 56px);
  }

}

@media (max-width: 768px) {

  .published-editions-section {
    padding: 50px 24px 70px;
  }

  .published-title {
    font-size: 36px;

    margin-bottom: 50px;
  }

  .published-title::after {
    width: 60px;
  }

  .edition-group {
    border-radius: 20px;
  }

  .edition-toggle {
    font-size: 18px;

    padding: 24px 22px;

    align-items: flex-start;
  }

  .edition-icon {
    width: 38px;
    height: 38px;

    font-size: 24px;
  }

  .edition-item {
    width: calc(100% - 44px);

    flex-direction: column;
    align-items: flex-start;

    gap: 20px;
  }

  .edition-left {
    font-size: 16px;

    line-height: 1.7;
  }

  .edition-right {
    width: 100%;

    justify-content: space-between;
  }

}

@media (max-width: 480px) {

  .published-editions-section {
    padding: 40px 18px 60px;
  }

  .published-title {
    font-size: 30px;
  }

  .edition-group {
    border-radius: 18px;
  }

  .edition-toggle {
    padding: 22px 18px;

    font-size: 16px;

    gap: 14px;
  }

  .edition-icon {
    width: 34px;
    height: 34px;

    font-size: 22px;
  }

  .edition-item {
    width: calc(100% - 36px);

    padding: 24px 0;
  }

  .edition-left {
    font-size: 15px;

    line-height: 1.6;
  }

  .edition-right {
    flex-direction: column;
    align-items: flex-start;

    gap: 14px;
  }

  .download-btn {
    width: 100%;
    height: 50px;

    border-radius: 12px;
  }

}