/* ================================================================
   CONTENT PAGES — Blog, FAQ, Ce este UGC?, Contact
   Loaded conditionally via head.php on content page keys.
   ================================================================ */

/* ── Shared Base ── */

.content_page {
  padding: calc(max(var(--site-header-offset, 118px), 118px) + 42px) 0 80px;
  min-height: 60vh;
}

.content_page .container {
  max-width: 960px;
}

.content_page_title {
  font-family: 'Bageki Luxury', arial, sans-serif;
  color: #FFF8DD;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 20px;
}

.content_page_subtitle {
  color: #9E9E9E;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 48px;
}

.content_page_header--centered {
  text-align: center;
  margin-bottom: 48px;
}

.content_page_header--centered .content_page_subtitle {
  margin-bottom: 0;
}

.content_page h2 {
  font-family: 'Bageki Luxury', arial, sans-serif;
  color: #FFF8DD;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  margin: 48px 0 16px;
}

.content_page h3 {
  color: #FFF8DD;
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
}

.content_page p,
.content_page li {
  color: #b0b4c8;
  font-size: 17px;
  line-height: 1.7;
}

.content_page p {
  margin: 0 0 18px;
}

.content_page a {
  color: #DF992E;
  transition: color 0.2s ease;
}

.content_page a:hover {
  color: #f0b44a;
  text-decoration: none;
}

.content_page ul,
.content_page ol {
  padding-left: 24px;
  margin: 0 0 24px;
}

.content_page li {
  margin-bottom: 8px;
}

.content_page strong {
  color: #d0d4e4;
}

/* ── Content Navigation ── */

.content_nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.content_nav a {
  font-size: 14px;
  font-weight: 500;
  color: #9E9E9E;
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid #1e2030;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.content_nav a:hover {
  color: #FFF8DD;
  border-color: rgba(223, 153, 46, 0.45);
}

.content_nav a.active {
  color: #FFF8DD;
  background: rgba(223, 153, 46, 0.12);
  border-color: rgba(223, 153, 46, 0.4);
}

/* ── Blog Listing ── */

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

.blog_card {
  background: linear-gradient(322deg, rgba(0, 0, 0, 0) 0%, #545454 100%);
  border-radius: 18px;
  padding: 1px;
  transition: all 0.3s ease;
}

.blog_card:hover {
  background: linear-gradient(322deg, rgba(223, 153, 46, 0.3) 0%, #545454 100%);
}

.blog_card_inner {
  background: linear-gradient(160deg, #2e2d2d 0%, black 70%, #df992e 120%);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog_card_date {
  font-size: 13px;
  color: #6b7094;
  margin-bottom: 12px;
}

.blog_card_title {
  font-family: 'Bageki Luxury', arial, sans-serif;
  color: #FFF8DD;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 14px;
}

.blog_card_title a {
  color: inherit;
  text-decoration: none;
}

.blog_card_title a:hover {
  color: #DF992E;
}

.blog_card_excerpt {
  color: #9E9E9E;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.blog_card_link {
  font-size: 14px;
  font-weight: 500;
  color: #DF992E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog_card_link:hover {
  color: #f0b44a;
  text-decoration: none;
}

/* ── Blog Article ── */

.blog_article {
  max-width: 960px;
  margin: 0 auto;
}

.blog_breadcrumb {
  font-size: 14px;
  color: #6b7094;
  margin-bottom: 24px;
}

.blog_breadcrumb a {
  color: #9E9E9E;
  text-decoration: none;
}

.blog_breadcrumb a:hover {
  color: #DF992E;
}

.blog_article_date {
  font-size: 14px;
  color: #6b7094;
  margin-bottom: 32px;
  display: block;
}

.blog_article_back {
  display: inline-block;
  margin-top: 48px;
  font-size: 15px;
  color: #DF992E;
  text-decoration: none;
}

.blog_article_back:hover {
  color: #f0b44a;
  text-decoration: none;
}

/* ── FAQ Page ── */

.faq_list {
  margin-top: 8px;
}

.faq_item {
  border-bottom: 1px solid #1e2030;
}

.faq_item:last-child {
  border-bottom: none;
}

.faq_question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  color: #FFF8DD;
  cursor: pointer;
  padding: 22px 0;
  list-style: none;
}

.faq_question::-webkit-details-marker {
  display: none;
}

.faq_question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: #6b7094;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq_item[open] .faq_question::after {
  content: '\2212';
}

.faq_answer {
  padding: 0 0 24px;
}

.faq_answer p {
  color: #b0b4c8;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
}

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

/* ── UGC Guide (pillar page) ── */

.ugc_guide {
  max-width: 960px;
  margin: 0 auto;
}

.ugc_guide h2 {
  border-left: 3px solid #DF992E;
  padding-left: 16px;
}

.ugc_guide .highlight_box {
  background: rgba(10, 11, 17, 0.94);
  border: 1px solid #1e2030;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.ugc_guide .highlight_box p:last-child {
  margin-bottom: 0;
}

/* ── Contact Page ── */

.contact_layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.contact_form .form_group {
  margin-bottom: 20px;
}

.contact_form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #d0d4e4;
  margin-bottom: 6px;
}

.contact_form .form_input {
  width: 100%;
  height: 46px;
  border-radius: 8px;
  border: 1px solid #2a2d40;
  background: #0f111c;
  color: #fff;
  padding: 0 14px;
  font-size: 15px;
  transition: border-color 0.15s ease;
}

.contact_form textarea.form_input {
  height: auto;
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.contact_form select.form_input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239ca1b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
}

.contact_form .form_input:focus {
  outline: none;
  border-color: rgba(223, 153, 46, 0.75);
  box-shadow: 0 0 0 3px rgba(223, 153, 46, 0.12);
}

.contact_alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 24px;
}

.contact_alert--success {
  background: rgba(34, 120, 60, 0.15);
  border: 1px solid rgba(34, 120, 60, 0.35);
  color: #6fcf8a;
}

.contact_alert--error {
  background: rgba(180, 40, 40, 0.12);
  border: 1px solid rgba(180, 40, 40, 0.3);
  color: #e87070;
}

.contact_sidebar {
  background: rgba(10, 11, 17, 0.94);
  border: 1px solid #1e2030;
  border-radius: 16px;
  padding: 28px 24px;
}

.contact_sidebar_title {
  color: #FFF8DD;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
}

.contact_sidebar p {
  color: #9E9E9E;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.contact_sidebar a {
  color: #DF992E;
  text-decoration: none;
}

.contact_sidebar a:hover {
  color: #f0b44a;
}

.contact_submit_btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: #DF992E;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s ease;
}

.contact_submit_btn:hover {
  background: #c8861f;
}

/* ── Legal Pages ── */

.legal_page .container {
  max-width: 980px;
}

.legal_page_header {
  margin-bottom: 32px;
}

.legal_page_meta {
  margin-top: 16px;
}

.legal_page_meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(78, 86, 124, 0.35);
  background: rgba(17, 19, 31, 0.75);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1;
}

.legal_page_card {
  background: linear-gradient(160deg, #2e2d2d 0%, #111116 68%, #3b2710 120%);
  border: 1px solid rgba(78, 86, 124, 0.4);
  border-radius: 28px;
  padding: 40px 42px;
}

.legal_page_section + .legal_page_section {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(78, 86, 124, 0.25);
}

.legal_page_actions {
  margin-top: 20px;
}

.legal_page_button {
  min-width: 240px;
  min-height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(223, 153, 46, 0.5);
  background: linear-gradient(90deg, rgba(223, 153, 46, 0.18), rgba(223, 153, 46, 0.08));
  color: #FFF8DD;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.legal_page_button:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 153, 46, 0.75);
}

/* ── Responsive ── */

@media (max-width: 991px) {
  .content_page {
    padding: calc(max(var(--site-header-offset, 98px), 98px) + 32px) 0 60px;
  }

  .content_page_title {
    font-size: 48px;
  }

  .content_page h2 {
    font-size: 28px;
  }

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

  .blog_card_title {
    font-size: 28px;
  }

  .contact_layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal_page_card {
    padding: 28px 24px;
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .content_page {
    padding: calc(max(var(--site-header-offset, 82px), 82px) + 28px) 0 48px;
  }

  .content_page_title {
    font-size: 36px;
  }

  .blog_card_title {
    font-size: 24px;
  }

  .faq_question {
    font-size: 16px;
  }

  .content_nav {
    gap: 6px;
    margin-bottom: 36px;
  }

  .content_nav a {
    font-size: 13px;
    padding: 7px 14px;
  }

  .legal_page_button {
    width: 100%;
    min-width: 0;
  }
}
