/* style/promotions.css */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --background-color: #F4F7FB;
    --card-bg-color: #FFFFFF;
    --text-main-color: #1F2D3D;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for light background */
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, main offset handled by body in shared.css */
    background-color: var(--background-color);
    overflow: hidden;
}

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

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-promotions__intro-text {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promotions__section-description {
    font-size: 1.1rem;
    color: var(--text-main-color);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Button Group */
.page-promotions__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.2);
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
}

.page-promotions__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
}

/* Promotion Types Grid */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__card {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 350px;
    color: var(--text-main-color);
}

.page-promotions__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card p {
    font-size: 0.95rem;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.page-promotions__card-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.page-promotions__card-link:hover::after {
    width: 0;
}

/* Claim Guide Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__step-item {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    color: var(--text-main-color);
}

.page-promotions__step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    position: absolute;
    top: 15px;
    right: 20px;
    opacity: 0.1;
    line-height: 1;
}

.page-promotions__step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__step-item p {
    font-size: 0.95rem;
    color: var(--text-main-color);
}

.page-promotions__step-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__image-placeholder {
    margin-top: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions__image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
    text-align: left;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-promotions__faq-item summary.page-promotions__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-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f0f5ff; /* Lighter hover for primary color theme */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 20px;
  background: #f9fbfd; /* Slightly different background for answer */
  border-radius: 0 0 12px 12px;
  color: var(--text-main-color);
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
    font-size: 0.95rem;
}

/* News & Updates Section */
.page-promotions__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__news-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
    overflow: hidden;
}

.page-promotions__news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 20px 10px 20px;
    line-height: 1.4;
}

.page-promotions__news-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__news-title a:hover {
    color: var(--secondary-color);
}

.page-promotions__news-meta {
    font-size: 0.85rem;
    color: #888888;
    margin: 0 20px 15px 20px;
}

.page-promotions__news-excerpt {
    font-size: 0.95rem;
    color: var(--text-main-color);
    margin: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-promotions__news-readmore {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    margin: 0 20px 20px 20px;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.page-promotions__news-readmore::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.page-promotions__news-readmore:hover::after {
    width: 0;
}

.page-promotions__view-all {
    margin-top: 50px;
}

/* Global Image/Container Responsive Rules */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        padding: 40px 15px;
    }
    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-promotions__card {
        padding: 25px;
    }
    .page-promotions__step-item {
        padding: 25px;
    }
    .page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-qtext {
        font-size: 1rem;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__section {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-promotions__intro-text {
        font-size: 0.95rem;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__grid,
    .page-promotions__steps-grid,
    .page-promotions__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card,
    .page-promotions__step-item,
    .page-promotions__news-card {
        padding: 20px;
    }
    .page-promotions__card img {
        
    }
    .page-promotions__news-card img {
        
    }
    .page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px;
    }
    .page-promotions__faq-qtext {
        font-size: 0.95rem;
    }
    .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }
    /* Mobile image overflow fix */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__image-placeholder,
    .page-promotions__news-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__section-description {
        margin-left: 0;
        margin-right: 0;
    }
    .page-promotions__news-title,
    .page-promotions__news-meta,
    .page-promotions__news-excerpt,
    .page-promotions__news-readmore {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-promotions__cta-button {
        font-size: 0.9rem;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 0.9rem;
    }
    .page-promotions__card-title {
        font-size: 1.2rem;
    }
    .page-promotions__step-title {
        font-size: 1.1rem;
    }
    .page-promotions__news-title {
        font-size: 1.1rem;
    }
}