/* style/resources-vf555-review.css */

/* Biến CSS */
:root {
    --page-resources-vf555-review-primary-color: #007bff;
    --page-resources-vf555-review-secondary-color: #ffc107;
    --page-resources-vf555-review-dark-text: #333;
    --page-resources-vf555-review-light-text: #fff;
    --page-resources-vf555-review-bg-light: #f8f9fa;
    --page-resources-vf555-review-bg-dark: #0056b3;
    --page-resources-vf555-review-border-color: #dee2e6;
}

.page-resources-vf555-review {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--page-resources-vf555-review-dark-text);
    background-color: var(--page-resources-vf555-review-bg-light);
}

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

/* Hero Section */
.page-resources-vf555-review__hero-section {
    background: linear-gradient(135deg, var(--page-resources-vf555-review-primary-color) 0%, #0056b3 100%); /* Darker blue for depth */
    color: var(--page-resources-vf555-review-light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-vf555-review__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources-vf555-review__hero-section .page-resources-vf555-review__container {
    position: relative;
    z-index: 1;
}

.page-resources-vf555-review__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--page-resources-vf555-review-light-text);
}

.page-resources-vf555-review__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-resources-vf555-review__button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-resources-vf555-review__button--primary {
    background-color: var(--page-resources-vf555-review-secondary-color);
    color: var(--page-resources-vf555-review-dark-text);
}

.page-resources-vf555-review__button--primary:hover {
    background-color: #e0a800; /* Darker gold */
    transform: translateY(-2px);
}

.page-resources-vf555-review__button--secondary {
    background-color: var(--page-resources-vf555-review-primary-color);
    color: var(--page-resources-vf555-review-light-text);
    border: 2px solid var(--page-resources-vf555-review-secondary-color);
}

.page-resources-vf555-review__button--secondary:hover {
    background-color: #0056b3; /* Darker blue */
    border-color: #e0a800;
    transform: translateY(-2px);
}

.page-resources-vf555-review__button--cta {
    background-color: var(--page-resources-vf555-review-primary-color);
    color: var(--page-resources-vf555-review-light-text);
    padding: 10px 25px;
    margin-top: 20px;
    font-size: 1em;
    border: none;
}

.page-resources-vf555-review__button--cta:hover {
    background-color: #0056b3;
}

.page-resources-vf555-review__button--large {
    padding: 15px 35px;
    font-size: 1.2em;
    margin-top: 40px;
}

/* Content Section */
.page-resources-vf555-review__content-section {
    padding: 60px 0;
    background-color: var(--page-resources-vf555-review-bg-light);
}

.page-resources-vf555-review__article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .page-resources-vf555-review__article-layout {
        grid-template-columns: 280px 1fr; /* Sidebar fixed width, content flexible */
    }
}

.page-resources-vf555-review__sidebar {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
    position: sticky;
    top: 100px; /* Adjust based on header height */
}

.page-resources-vf555-review__sidebar-title {
    font-size: 1.6em;
    color: var(--page-resources-vf555-review-primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--page-resources-vf555-review-secondary-color);
    padding-bottom: 10px;
}

.page-resources-vf555-review__toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-vf555-review__toc li {
    margin-bottom: 10px;
}

.page-resources-vf555-review__toc a {
    text-decoration: none;
    color: var(--page-resources-vf555-review-dark-text);
    font-size: 1.05em;
    transition: color 0.2s ease;
    display: block;
    padding: 5px 0;
}

.page-resources-vf555-review__toc a:hover,
.page-resources-vf555-review__toc a.active {
    color: var(--page-resources-vf555-review-primary-color);
    font-weight: bold;
}

.page-resources-vf555-review__promo-card {
    background-color: var(--page-resources-vf555-review-primary-color);
    color: var(--page-resources-vf555-review-light-text);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-vf555-review__promo-card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--page-resources-vf555-review-secondary-color);
}

.page-resources-vf555-review__promo-card p {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.5;
}

.page-resources-vf555-review__article-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 800px; /* Optimal reading width */
    margin: 0 auto; /* Center content */
}

.page-resources-vf555-review__intro-paragraph {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

.page-resources-vf555-review__heading {
    font-size: 2.2em;
    color: var(--page-resources-vf555-review-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--page-resources-vf555-review-border-color);
    padding-bottom: 10px;
    font-weight: bold;
}

.page-resources-vf555-review__sub-heading {
    font-size: 1.6em;
    color: var(--page-resources-vf555-review-dark-text);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-vf555-review__sub-heading--pros {
    color: #28a745; /* Green for positive */
}

.page-resources-vf555-review__sub-heading--cons {
    color: #dc3545; /* Red for negative */
}

.page-resources-vf555-review__article-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-resources-vf555-review__article-content ul,
.page-resources-vf555-review__article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-resources-vf555-review__article-content li {
    margin-bottom: 8px;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-resources-vf555-review__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-vf555-review__quote {
    background-color: #f0f8ff; /* Light blue */
    border-left: 5px solid var(--page-resources-vf555-review-primary-color);
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    border-radius: 4px;
}

.page-resources-vf555-review__quote p {
    margin: 0;
    font-size: 1.1em;
}

.page-resources-vf555-review__pros-cons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.page-resources-vf555-review__pros,
.page-resources-vf555-review__cons {
    flex: 1;
    min-width: 300px;
    background-color: #fcfcfc;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-vf555-review__pros ul li::before {
    content: '✅';
    margin-right: 10px;
}

.page-resources-vf555-review__cons ul li::before {
    content: '❌';
    margin-right: 10px;
}

/* Related Resources */
.page-resources-vf555-review__related-resources {
    background-color: #f0f2f5;
    padding: 60px 0;
    text-align: center;
}

.page-resources-vf555-review__section-title {
    font-size: 2.5em;
    color: var(--page-resources-vf555-review-primary-color);
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-vf555-review__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-vf555-review__related-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-resources-vf555-review__related-item:hover {
    transform: translateY(-5px);
}

.page-resources-vf555-review__related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources-vf555-review__related-title {
    font-size: 1.3em;
    margin: 15px 15px 10px;
    line-height: 1.4;
}

.page-resources-vf555-review__related-title a {
    text-decoration: none;
    color: var(--page-resources-vf555-review-dark-text);
    transition: color 0.2s ease;
}

.page-resources-vf555-review__related-title a:hover {
    color: var(--page-resources-vf555-review-primary-color);
}

.page-resources-vf555-review__related-item p {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px;
}

.page-resources-vf555-review__back-link-wrapper {
    margin-top: 50px;
}

.page-resources-vf555-review__back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--page-resources-vf555-review-primary-color);
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s ease;
}

.page-resources-vf555-review__back-link::before {
    content: '←';
    margin-right: 8px;
    font-size: 1.2em;
}

.page-resources-vf555-review__back-link:hover {
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-vf555-review__hero-title {
        font-size: 2.5em;
    }

    .page-resources-vf555-review__hero-subtitle {
        font-size: 1.2em;
    }

    .page-resources-vf555-review__article-layout {
        grid-template-columns: 1fr;
    }

    .page-resources-vf555-review__sidebar {
        position: static;
        top: auto;
        margin-bottom: 30px;
    }

    .page-resources-vf555-review__heading {
        font-size: 1.8em;
    }

    .page-resources-vf555-review__sub-heading {
        font-size: 1.4em;
    }

    .page-resources-vf555-review__article-content {
        padding: 20px;
    }

    .page-resources-vf555-review__pros-cons {
        flex-direction: column;
    }

    .page-resources-vf555-review__section-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-resources-vf555-review__hero-title {
        font-size: 2em;
    }

    .page-resources-vf555-review__hero-subtitle {
        font-size: 1em;
    }

    .page-resources-vf555-review__button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-resources-vf555-review__heading {
        font-size: 1.6em;
    }

    .page-resources-vf555-review__sub-heading {
        font-size: 1.2em;
    }

    .page-resources-vf555-review__article-content p,
    .page-resources-vf555-review__article-content li {
        font-size: 0.95em;
    }

    .page-resources-vf555-review__related-grid {
        grid-template-columns: 1fr;
    }
}