/* style/resources-ph-win-app-latest-features-analysis.css */

/* Base styles for the page content */
.page-resources-ph-win-app-latest-features-analysis {
    color: #333333; /* Dark text for default white body background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for PC */
    background-color: #f5f5f5; /* Light grey background for the page */
}

/* Hero Section */
.page-resources-ph-win-app-latest-features-analysis__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background-color: #007bff; /* Primary color background */
    color: #ffffff; /* White text for dark background */
    overflow: hidden; /* Ensure image doesn't overflow */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.page-resources-ph-win-app-latest-features-analysis__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-resources-ph-win-app-latest-features-analysis__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffc107; /* Auxiliary color for emphasis */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-ph-win-app-latest-features-analysis__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-ph-win-app-latest-features-analysis__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-resources-ph-win-app-latest-features-analysis__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-ph-win-app-latest-features-analysis__button--primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #007bff; /* Primary color text */
}

.page-resources-ph-win-app-latest-features-analysis__button--primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-resources-ph-win-app-latest-features-analysis__button--secondary {
    background-color: #0056b3; /* Darker primary color */
    color: #ffffff;
    border: 1px solid #ffc107; /* Auxiliary color border */
}

.page-resources-ph-win-app-latest-features-analysis__button--secondary:hover {
    background-color: #003f80;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-resources-ph-win-app-latest-features-analysis__hero-image {
    margin-top: 40px;
}

.page-resources-ph-win-app-latest-features-analysis__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

/* Content Wrapper (for sidebar and article) */
.page-resources-ph-win-app-latest-features-analysis__content-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

/* Sidebar */
.page-resources-ph-win-app-latest-features-analysis__sidebar {
    flex: 0 0 280px; /* Fixed width for sidebar */
    background-color: #ffffff; /* Light background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-self: flex-start; /* Stick to top */
    position: sticky; /* Sticky sidebar */
    top: calc(var(--header-offset, 120px) + 20px); /* Adjust sticky position */
}

.page-resources-ph-win-app-latest-features-analysis__sidebar-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 25px;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
}

.page-resources-ph-win-app-latest-features-analysis__toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-ph-win-app-latest-features-analysis__toc li {
    margin-bottom: 10px;
}

.page-resources-ph-win-app-latest-features-analysis__toc-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease, font-weight 0.3s ease;
    display: block;
    padding: 5px 0;
}

.page-resources-ph-win-app-latest-features-analysis__toc-link:hover,
.page-resources-ph-win-app-latest-features-analysis__toc-link--active {
    color: #007bff;
    font-weight: bold;
}

.page-resources-ph-win-app-latest-features-analysis__sidebar-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.page-resources-ph-win-app-latest-features-analysis__sidebar-cta-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 20px;
}

.page-resources-ph-win-app-latest-features-analysis__button--sidebar {
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 1em;
}

.page-resources-ph-win-app-latest-features-analysis__button--sidebar:hover {
    background-color: #0056b3;
}

/* Article Content */
.page-resources-ph-win-app-latest-features-analysis__article-content {
    flex: 1; /* Take remaining space */
    max-width: 800px; /* Content width control */
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-ph-win-app-latest-features-analysis__back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-ph-win-app-latest-features-analysis__back-link:hover {
    color: #0056b3;
}

.page-resources-ph-win-app-latest-features-analysis__section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e9ecef;
}

.page-resources-ph-win-app-latest-features-analysis__section:last-of-type {
    border-bottom: none;
}

.page-resources-ph-win-app-latest-features-analysis__section-title {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 20px;
    padding-top: 20px; /* For scroll-to-anchor offset */
}

.page-resources-ph-win-app-latest-features-analysis__subsection-title {
    font-size: 1.5em;
    color: #0056b3;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-ph-win-app-latest-features-analysis__article-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-ph-win-app-latest-features-analysis__article-content strong {
    color: #007bff;
}

.page-resources-ph-win-app-latest-features-analysis__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources-ph-win-app-latest-features-analysis__list li {
    margin-bottom: 8px;
}

.page-resources-ph-win-app-latest-features-analysis__ordered-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources-ph-win-app-latest-features-analysis__ordered-list li {
    margin-bottom: 8px;
}

.page-resources-ph-win-app-latest-features-analysis__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.2);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-resources-ph-win-app-latest-features-analysis__emphasis-text {
    font-style: italic;
    color: #555555;
    margin-top: 20px;
    display: block;
}

.page-resources-ph-win-app-latest-features-analysis__inline-link {
    color: #007bff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-ph-win-app-latest-features-analysis__inline-link:hover {
    color: #0056b3;
}

.page-resources-ph-win-app-latest-features-analysis__cta-block {
    background-color: #e9f5ff; /* Light primary color background */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid #007bff;
}

.page-resources-ph-win-app-latest-features-analysis__cta-block-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 20px;
}

.page-resources-ph-win-app-latest-features-analysis__final-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #ffc107;
}

.page-resources-ph-win-app-latest-features-analysis__button--final {
    background-color: #ffc107;
    color: #007bff;
    padding: 18px 35px;
    font-size: 1.2em;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

.page-resources-ph-win-app-latest-features-analysis__button--final:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 123, 255, 0.4);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-ph-win-app-latest-features-analysis__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-resources-ph-win-app-latest-features-analysis__sidebar {
        position: static; /* Remove sticky behavior on smaller screens */
        flex: auto;
        width: auto;
    }

    .page-resources-ph-win-app-latest-features-analysis__article-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources-ph-win-app-latest-features-analysis__hero-section {
        padding: 60px 15px;
    }

    .page-resources-ph-win-app-latest-features-analysis__hero-title {
        font-size: 2em;
    }

    .page-resources-ph-win-app-latest-features-analysis__hero-description {
        font-size: 1em;
    }

    .page-resources-ph-win-app-latest-features-analysis__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-ph-win-app-latest-features-analysis__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-resources-ph-win-app-latest-features-analysis__content-wrapper {
        padding: 0 15px;
        margin: 30px auto;
    }

    .page-resources-ph-win-app-latest-features-analysis__sidebar {
        padding: 20px;
    }

    .page-resources-ph-win-app-latest-features-analysis__sidebar-title {
        font-size: 1.4em;
    }

    .page-resources-ph-win-app-latest-features-analysis__article-content {
        padding: 20px;
    }

    .page-resources-ph-win-app-latest-features-analysis__section-title {
        font-size: 1.8em;
    }

    .page-resources-ph-win-app-latest-features-analysis__subsection-title {
        font-size: 1.3em;
    }

    .page-resources-ph-win-app-latest-features-analysis__article-content p,
    .page-resources-ph-win-app-latest-features-analysis__list,
    .page-resources-ph-win-app-latest-features-analysis__ordered-list {
        font-size: 1em;
    }

    /* Mobile content area image resizing */
    .page-resources-ph-win-app-latest-features-analysis__article-content img,
    .page-resources-ph-win-app-latest-features-analysis__hero-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-ph-win-app-latest-features-analysis__hero-title {
        font-size: 1.8em;
    }
    .page-resources-ph-win-app-latest-features-analysis__section-title {
        font-size: 1.6em;
    }
    .page-resources-ph-win-app-latest-features-analysis__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-ph-win-app-latest-features-analysis__button--final {
        padding: 15px 25px;
        font-size: 1.1em;
    }
}