/* style/blog-k9cc-giftcode-redemption-tutorial.css */

/* --- Base Styles & Variables --- */
:root {
    --primary-color: #113B7A; /* Main Blue */
    --secondary-color: #1D5FD1; /* Accent Blue */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* Body background from shared.css */
}

.page-blog-k9cc-giftcode-redemption-tutorial {
    font-family: 'Arial', sans-serif; /* Example font, actual font from shared */
    color: var(--text-main); /* Light text for dark body background */
    line-height: 1.6;
    background-color: var(--deep-navy); /* Ensure consistency if body background is not fully covering */
}

/* --- Section Styling --- */
.page-blog-k9cc-giftcode-redemption-tutorial__section {
    padding: 60px 0;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-blog-k9cc-giftcode-redemption-tutorial__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-k9cc-giftcode-redemption-tutorial__container--center {
    text-align: center;
}

/* --- Hero Section --- */
.page-blog-k9cc-giftcode-redemption-tutorial__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px; /* Small top padding for visual spacing */
    overflow: hidden;
    min-height: 500px; /* Minimum height for hero */
    text-align: center;
}

.page-blog-k9cc-giftcode-redemption-tutorial__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place image behind content */
}

.page-blog-k9cc-giftcode-redemption-tutorial__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog-k9cc-giftcode-redemption-tutorial__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

/* --- Typography --- */
.page-blog-k9cc-giftcode-redemption-tutorial__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-blog-k9cc-giftcode-redemption-tutorial__intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-blog-k9cc-giftcode-redemption-tutorial__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-main);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-blog-k9cc-giftcode-redemption-tutorial__subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold-color); /* Use gold for subheadings */
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-k9cc-giftcode-redemption-tutorial__paragraph {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-blog-k9cc-giftcode-redemption-tutorial__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-blog-k9cc-giftcode-redemption-tutorial__list-item {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-blog-k9cc-giftcode-redemption-tutorial__list-item strong {
    color: var(--text-main);
}

.page-blog-k9cc-giftcode-redemption-tutorial__numbered-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* --- Links & Buttons --- */
.page-blog-k9cc-giftcode-redemption-tutorial a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-k9cc-giftcode-redemption-tutorial a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-blog-k9cc-giftcode-redemption-tutorial__btn-primary,
.page-blog-k9cc-giftcode-redemption-tutorial__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box; /* Ensure padding/border is included in width */
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-k9cc-giftcode-redemption-tutorial__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.page-blog-k9cc-giftcode-redemption-tutorial__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-k9cc-giftcode-redemption-tutorial__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-blog-k9cc-giftcode-redemption-tutorial__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-k9cc-giftcode-redemption-tutorial__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Image Styling --- */
.page-blog-k9cc-giftcode-redemption-tutorial__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ensure no filter property on images (except hero background for readability) */
.page-blog-k9cc-giftcode-redemption-tutorial img:not(.page-blog-k9cc-giftcode-redemption-tutorial__hero-image) {
    filter: none; /* Reset any potential filter, ensure original colors */
}

/* --- FAQ Section --- */
.page-blog-k9cc-giftcode-redemption-tutorial__faq-list {
    margin-top: 30px;
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-question:hover {
    background-color: rgba(var(--primary-color), 0.2); /* Slightly lighter hover for visibility */
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold-color);
    margin-left: 15px;
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-item[open] .page-blog-k9cc-giftcode-redemption-tutorial__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    border-top: 1px solid var(--divider-color);
    margin-top: -1px; /* Overlap border */
}

.page-blog-k9cc-giftcode-redemption-tutorial__faq-answer p {
    margin-bottom: 0;
}

/* --- Specific Section Backgrounds --- */
.page-blog-k9cc-giftcode-redemption-tutorial__dark-section {
    background-color: var(--primary-color); /* Using primary color for dark section */
    color: var(--text-main);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-blog-k9cc-giftcode-redemption-tutorial__hero-content {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-blog-k9cc-giftcode-redemption-tutorial__section {
        padding: 40px 0;
    }

    .page-blog-k9cc-giftcode-redemption-tutorial__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-blog-k9cc-giftcode-redemption-tutorial__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-blog-k9cc-giftcode-redemption-tutorial__subsection-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .page-blog-k9cc-giftcode-redemption-tutorial__intro-text,
    .page-blog-k9cc-giftcode-redemption-tutorial__paragraph,
    .page-blog-k9cc-giftcode-redemption-tutorial__list-item,
    .page-blog-k9cc-giftcode-redemption-tutorial__faq-answer p {
        font-size: 1rem; /* Base font size for mobile */
    }

    /* Mobile image responsiveness */
    .page-blog-k9cc-giftcode-redemption-tutorial img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* Mobile container responsiveness */
    .page-blog-k9cc-giftcode-redemption-tutorial__section,
    .page-blog-k9cc-giftcode-redemption-tutorial__container,
    .page-blog-k9cc-giftcode-redemption-tutorial__hero-content,
    .page-blog-k9cc-giftcode-redemption-tutorial__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Mobile button responsiveness */
    .page-blog-k9cc-giftcode-redemption-tutorial__btn-primary,
    .page-blog-k9cc-giftcode-redemption-tutorial__btn-secondary,
    .page-blog-k9cc-giftcode-redemption-tutorial a[class*="button"],
    .page-blog-k9cc-giftcode-redemption-tutorial a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-k9cc-giftcode-redemption-tutorial__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    /* Hero section top padding for mobile */
    .page-blog-k9cc-giftcode-redemption-tutorial__hero-section {
        padding-top: 10px !important; /* Small top padding, not --header-offset */
    }
}