:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --text-main-color: #FFF3E6;
  --card-bg-color: #17191F;
  --body-bg-color: #0D0E12;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;

  --default-text-on-body: #FFF3E6;
}

.page-news {
  font-family: 'Arial', sans-serif;
  color: var(--default-text-on-body);
  background-color: var(--body-bg-color);
  line-height: 1.6;
  font-size: 16px;
}

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

.page-news__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-news__section:last-of-type {
  border-bottom: none;
}

.page-news__section-title {
  font-size: 38px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-news__section-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; 
  background-color: var(--body-bg-color);
  overflow: hidden;
}

.page-news__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; 
}

.page-news__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-news__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-news__main-title {
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  font-size: clamp(32px, 5vw, 48px);
}

.page-news__intro-text {
  font-size: 20px;
  color: var(--text-main-color);
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; 
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__featured-news {
  background-color: var(--body-bg-color);
  padding-top: 80px;
}

.page-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__news-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-news__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-news__news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-news__news-image {
  width: 100%;
  height: 220px; 
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-news__news-content {
  padding: 25px;
}

.page-news__news-title {
  font-size: 22px;
  color: var(--text-main-color);
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.page-news__news-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  line-height: 1.6;
  min-height: 75px; 
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
}

.page-news__news-date {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
}

.page-news__latest-updates {
  background-color: var(--body-bg-color);
  padding-top: 80px;
}

.page-news__update-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-news__update-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-news__update-item:hover {
  background-color: rgba(23, 25, 31, 0.8);
}

.page-news__update-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.page-news__update-date {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
}

.page-news__update-category {
  font-size: 13px;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
}

.page-news__update-title {
  font-size: 24px;
  color: var(--text-main-color);
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.page-news__update-excerpt {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-news__read-more-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
  color: var(--glow-color);
}

.page-news__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-news__read-more-link:hover .page-news__arrow {
  transform: translateX(5px);
}

.page-news__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

.page-news__cta-banner {
  background-color: var(--body-bg-color);
  padding: 80px 0;
}

.page-news__cta-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  background-color: var(--card-bg-color);
  border-radius: 15px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-news__cta-image {
  flex-shrink: 0;
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-news__cta-content {
  flex-grow: 1;
  text-align: left;
}

.page-news__cta-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.page-news__cta-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-news__faq-section {
  background-color: var(--body-bg-color);
  padding-bottom: 80px;
}

.page-news__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: flex-start;
}

.page-news__faq-image-container {
  text-align: center;
}

.page-news__faq-illustration {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-news__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

details.page-news__faq-item {
  margin-bottom: 0; 
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: rgba(255, 255, 255, 0.05); 
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px;
  background: rgba(255, 255, 255, 0.03); 
  border-radius: 0 0 10px 10px;
  color: rgba(255, 255, 255, 0.7);
}
.page-news__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .page-news__cta-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-news__cta-image {
    width: 80%;
    margin-bottom: 30px;
  }
  .page-news__cta-content {
    text-align: center;
  }
  .page-news__faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-news__faq-image-container {
    order: 2; 
  }
  .page-news__faq-list {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__hero-image img {
    border-radius: 8px;
  }
  .page-news__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-news__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-news__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__news-image {
    height: 180px;
  }
  .page-news__news-content {
    padding: 20px;
  }
  .page-news__news-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .page-news__news-excerpt {
    font-size: 14px;
    min-height: auto;
    -webkit-line-clamp: 4; 
  }
  .page-news__update-item {
    padding: 20px;
  }
  .page-news__update-title {
    font-size: 20px;
  }
  .page-news__update-excerpt {
    font-size: 15px;
  }
  .page-news__cta-flex {
    padding: 30px;
    gap: 20px;
  }
  .page-news__cta-image {
    width: 100%;
    min-width: unset;
  }
  .page-news__cta-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-news__cta-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px 20px;
  }
  .page-news__faq-qtext {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
  }
  .page-news__faq-answer p {
    font-size: 15px;
  }

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__container,
  .page-news__news-card,
  .page-news__update-item,
  .page-news__cta-flex,
  .page-news__faq-item,
  .page-news__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 480px) {
  .page-news__section-title {
    font-size: 24px;
  }
  .page-news__main-title {
    font-size: clamp(24px, 10vw, 36px);
  }
  .page-news__cta-title {
    font-size: 20px;
  }
  .page-news__news-excerpt {
    -webkit-line-clamp: 5;
  }
}

.page-news__news-image,
.page-news__cta-image,
.page-news__faq-illustration {
  min-width: 200px;
  min-height: 200px;
}

.page-news img:not(.shared-header__logo img):not(.shared-footer__payment-icon img):not(.shared-footer__social-icon img) {
  min-width: 200px;
  min-height: 200px;
}

.page-news__button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .page-news__button-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 15px; 
    box-sizing: border-box;
  }
  .page-news__button-group .page-news__cta-button {
    width: 100%;
    max-width: 100%;
  }
}

.page-news h1, .page-news h2, .page-news h3, .page-news h4, .page-news h5, .page-news h6 {
  color: var(--primary-color);
}

.page-news p, .page-news li {
  color: var(--text-main-color);
}

.page-news__card, .page-news__update-item, .page-news__cta-flex {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}
.page-news__card h3, .page-news__update-item h3, .page-news__cta-flex h2 {
  color: var(--text-main-color);
}
.page-news__card p, .page-news__update-item p, .page-news__cta-flex p {
  color: rgba(255, 255, 255, 0.7);
}
.page-news__news-date, .page-news__update-date {
  color: var(--primary-color);
}

.page-news a {
  color: var(--secondary-color);
  text-decoration: none;
}
.page-news a:hover {
  color: var(--glow-color);
}

.page-news img {
  filter: none !important;
}