/* style/blog-ph333-secure-withdrawal-guide.css */

/* Root variables for colors */
:root {
    --ph333-primary-color: #F2C14E; /* Main */
    --ph333-secondary-color: #FFD36B; /* Auxiliary / Glow */
    --ph333-card-bg: #111111; /* Card Background */
    --ph333-background: #0A0A0A; /* General Background */
    --ph333-text-main: #FFF6D6; /* Main Text */
    --ph333-border-color: #3A2A12; /* Border */
    --ph333-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
}

/* Base styles for the page content */
.page-blog-ph333-secure-withdrawal-guide {
    background-color: var(--ph333-background); /* Use the specified background color */
    color: var(--ph333-text-main); /* Ensure light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* Fixed Header Spacing */
/* body padding-top is handled by shared.css var(--header-offset). */
/* First section only needs a small top margin/padding to prevent content from touching the header. */
.page-blog-ph333-secure-withdrawal-guide__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background: var(--ph333-background); /* Dark background for the hero section */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-blog-ph333-secure-withdrawal-guide__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-blog-ph333-secure-withdrawal-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
    display: block;
}

.page-blog-ph333-secure-withdrawal-guide__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto; /* Margin top to separate from image */
    text-align: center;
    padding: 0 20px;
    position: relative; /* Ensure text is in normal flow */
    z-index: 1; /* Ensure text is above any background effects, but not overlapping image */
}

.page-blog-ph333-secure-withdrawal-guide__main-title {
    font-size: clamp(2.5rem, 4vw, 3.2rem); /* Responsive H1 font-size */
    color: var(--ph333-primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog-ph333-secure-withdrawal-guide__subtitle {
    font-size: 1.2rem;
    color: var(--ph333-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-blog-ph333-secure-withdrawal-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
}

.page-blog-ph333-secure-withdrawal-guide__btn-primary,
.page-blog-ph333-secure-withdrawal-guide__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-blog-ph333-secure-withdrawal-guide__btn-primary {
    background: var(--ph333-button-gradient);
    color: var(--ph333-text-main); /* White text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-ph333-secure-withdrawal-guide__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-blog-ph333-secure-withdrawal-guide__btn-secondary {
    background: transparent;
    color: var(--ph333-primary-color);
    border: 2px solid var(--ph333-primary-color);
}

.page-blog-ph333-secure-withdrawal-guide__btn-secondary:hover {
    background: var(--ph333-primary-color);
    color: var(--ph333-background);
}

/* Article Content Area */
.page-blog-ph333-secure-withdrawal-guide__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--ph333-background); /* Ensure consistent background */
    color: var(--ph333-text-main);
}

.page-blog-ph333-secure-withdrawal-guide__article-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-ph333-secure-withdrawal-guide__article p {
    margin-bottom: 1.5em;
    color: var(--ph333-text-main); /* Ensure contrast */
}

.page-blog-ph333-secure-withdrawal-guide__article a {
    color: var(--ph333-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-ph333-secure-withdrawal-guide__article a:hover {
    color: var(--ph333-primary-color);
    text-decoration: underline;
}

.page-blog-ph333-secure-withdrawal-guide__section-title {
    font-size: 2.2rem;
    color: var(--ph333-primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.page-blog-ph333-secure-withdrawal-guide__subsection-title {
    font-size: 1.6rem;
    color: var(--ph333-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.page-blog-ph333-secure-withdrawal-guide__method-list,
.page-blog-ph333-secure-withdrawal-guide__step-list,
.page-blog-ph333-secure-withdrawal-guide__document-list,
.page-blog-ph333-secure-withdrawal-guide__issue-list,
.page-blog-ph333-secure-withdrawal-guide__tips-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-blog-ph333-secure-withdrawal-guide__method-item,
.page-blog-ph333-secure-withdrawal-guide__step-item,
.page-blog-ph333-secure-withdrawal-guide__document-item,
.page-blog-ph333-secure-withdrawal-guide__issue-item,
.page-blog-ph333-secure-withdrawal-guide__tips-item {
    background-color: var(--ph333-card-bg); /* Card background color */
    border: 1px solid var(--ph333-border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-ph333-secure-withdrawal-guide__method-title,
.page-blog-ph333-secure-withdrawal-guide__step-title,
.page-blog-ph333-secure-withdrawal-guide__document-item strong,
.page-blog-ph333-secure-withdrawal-guide__issue-item strong,
.page-blog-ph333-secure-withdrawal-guide__tips-title {
    color: var(--ph333-primary-color);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-blog-ph333-secure-withdrawal-guide__article-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);
}

/* CTA Section */
.page-blog-ph333-secure-withdrawal-guide__cta-section {
    background-color: var(--ph333-card-bg);
    border: 1px solid var(--ph333-border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-ph333-secure-withdrawal-guide__cta-title {
    font-size: 2rem;
    color: var(--ph333-primary-color);
    margin-bottom: 15px;
}

.page-blog-ph333-secure-withdrawal-guide__cta-section p {
    font-size: 1.1rem;
    color: var(--ph333-text-main);
    margin-bottom: 30px;
}

/* FAQ Section */
.page-blog-ph333-secure-withdrawal-guide__faq-container {
    margin-top: 40px;
}

.page-blog-ph333-secure-withdrawal-guide__faq-item {
    background-color: var(--ph333-card-bg);
    border: 1px solid var(--ph333-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-blog-ph333-secure-withdrawal-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--ph333-card-bg);
    color: var(--ph333-primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-blog-ph333-secure-withdrawal-guide__faq-question h3 {
    margin: 0;
    color: var(--ph333-primary-color);
    font-size: 1.2rem; /* Ensure consistent size */
}

.page-blog-ph333-secure-withdrawal-guide__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.1);
}

.page-blog-ph333-secure-withdrawal-guide__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--ph333-secondary-color);
}

.page-blog-ph333-secure-withdrawal-guide__faq-item.active .page-blog-ph333-secure-withdrawal-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-ph333-secure-withdrawal-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--ph333-text-main);
}

.page-blog-ph333-secure-withdrawal-guide__faq-item.active .page-blog-ph333-secure-withdrawal-guide__faq-answer {
    max-height: 1000px !important; /* Critical for expand */
    padding: 15px 25px 25px 25px;
}

.page-blog-ph333-secure-withdrawal-guide__faq-answer p {
    margin: 0;
    padding-top: 10px; /* Adjust padding after max-height transition */
}


/* Download App Section */
.page-blog-ph333-secure-withdrawal-guide__download-app-section {
    background: linear-gradient(135deg, var(--ph333-primary-color), var(--ph333-secondary-color));
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-top: 60px;
}

.page-blog-ph333-secure-withdrawal-guide__download-content {
    max-width: 700px;
}

.page-blog-ph333-secure-withdrawal-guide__download-title {
    font-size: 2.5rem;
    color: #0A0A0A; /* Dark text on light background */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-blog-ph333-secure-withdrawal-guide__download-description {
    font-size: 1.2rem;
    color: #333333; /* Dark text on light background */
    margin-bottom: 30px;
}

.page-blog-ph333-secure-withdrawal-guide__download-app-section .page-blog-ph333-secure-withdrawal-guide__btn-primary {
    background: var(--ph333-background);
    color: var(--ph333-primary-color);
    border: 2px solid var(--ph333-background);
    box-shadow: none;
}

.page-blog-ph333-secure-withdrawal-guide__download-app-section .page-blog-ph333-secure-withdrawal-guide__btn-primary:hover {
    background: #333333;
    color: var(--ph333-secondary-color);
    transform: translateY(-3px);
}

.page-blog-ph333-secure-withdrawal-guide__download-image-wrapper {
    max-width: 600px;
    width: 100%;
}

.page-blog-ph333-secure-withdrawal-guide__download-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-ph333-secure-withdrawal-guide__hero-image-wrapper {
        height: 500px;
    }
    .page-blog-ph333-secure-withdrawal-guide__main-title {
        font-size: clamp(2.2rem, 5vw, 2.8rem);
    }
    .page-blog-ph333-secure-withdrawal-guide__section-title {
        font-size: 2rem;
    }
    .page-blog-ph333-secure-withdrawal-guide__download-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Fixed Header Spacing adjustment (shared.css handles body padding-top, this ensures hero section starts correctly) */
    .page-blog-ph333-secure-withdrawal-guide__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile: default 100px if var not set */
    }

    .page-blog-ph333-secure-withdrawal-guide__hero-image-wrapper {
        height: 300px;
    }

    .page-blog-ph333-secure-withdrawal-guide__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-blog-ph333-secure-withdrawal-guide__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-blog-ph333-secure-withdrawal-guide__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-blog-ph333-secure-withdrawal-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-blog-ph333-secure-withdrawal-guide__btn-primary,
    .page-blog-ph333-secure-withdrawal-guide__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-blog-ph333-secure-withdrawal-guide__content-area {
        padding: 40px 15px;
    }

    .page-blog-ph333-secure-withdrawal-guide__section-title {
        font-size: 1.8rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-blog-ph333-secure-withdrawal-guide__subsection-title {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog-ph333-secure-withdrawal-guide__method-item,
    .page-blog-ph333-secure-withdrawal-guide__step-item,
    .page-blog-ph333-secure-withdrawal-guide__document-item,
    .page-blog-ph333-secure-withdrawal-guide__issue-item,
    .page-blog-ph333-secure-withdrawal-guide__tips-item {
        padding: 20px;
    }
}