:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);

    --header-offset: 120px;
}

.page-blog-niceph-latest-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-color);
}

.page-blog-niceph-latest-news__hero-section {
    padding-top: var(--header-offset);
    position: relative;
    overflow: hidden;
}

.page-blog-niceph-latest-news__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px 40px;
    box-sizing: border-box;
}

.page-blog-niceph-latest-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 30px;
    max-width: 100%;
}

.page-blog-niceph-latest-news__hero-content {
    text-align: center;
    color: var(--text-main);
    max-width: 800px;
}

.page-blog-niceph-latest-news__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog-niceph-latest-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-blog-niceph-latest-news__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-blog-niceph-latest-news__btn-primary,
.page-blog-niceph-latest-news__btn-secondary,
.page-blog-niceph-latest-news a[class*="button"],
.page-blog-niceph-latest-news a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-niceph-latest-news__btn-primary {
    background: var(--button-gradient);
    color: var(--background-color);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-blog-niceph-latest-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-blog-niceph-latest-news__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-blog-niceph-latest-news__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-blog-niceph-latest-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-blog-niceph-latest-news__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog-niceph-latest-news__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-main);
}

.page-blog-niceph-latest-news__news-section,
.page-blog-niceph-latest-news__insights-section,
.page-blog-niceph-latest-news__why-niceph-section,
.page-blog-niceph-latest-news__community-section,
.page-blog-niceph-latest-news__faq-section,
.page-blog-niceph-latest-news__cta-section {
    padding: 60px 0;
}

.page-blog-niceph-latest-news__news-grid,
.page-blog-niceph-latest-news__insight-grid,
.page-blog-niceph-latest-news__features-grid,
.page-blog-niceph-latest-news__community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog-niceph-latest-news__news-card,
.page-blog-niceph-latest-news__insight-card,
.page-blog-niceph-latest-news__feature-card,
.page-blog-niceph-latest-news__community-item {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog-niceph-latest-news__news-card:hover,
.page-blog-niceph-latest-news__insight-card:hover,
.page-blog-niceph-latest-news__feature-card:hover,
.page-blog-niceph-latest-news__community-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-niceph-latest-news__card-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
    min-height: 200px;
    min-width: 200px;
}

.page-blog-niceph-latest-news__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

.page-blog-niceph-latest-news__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.page-blog-niceph-latest-news__card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-niceph-latest-news__card-title a:hover {
    color: var(--primary-color);
}

.page-blog-niceph-latest-news__card-meta {
    font-size: 0.9em;
    color: rgba(255, 246, 214, 0.7);
    margin-bottom: 15px;
}

.page-blog-niceph-latest-news__card-excerpt {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog-niceph-latest-news__read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.page-blog-niceph-latest-news__read-more:hover {
    text-decoration: underline;
}

.page-blog-niceph-latest-news__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

.page-blog-niceph-latest-news__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-blog-niceph-latest-news__insights-section .page-blog-niceph-latest-news__insight-card,
.page-blog-niceph-latest-news__why-niceph-section .page-blog-niceph-latest-news__feature-card,
.page-blog-niceph-latest-news__community-section .page-blog-niceph-latest-news__community-item {
    background: var(--card-bg);
    color: var(--text-main);
}

.page-blog-niceph-latest-news__insight-card.page-blog-niceph-latest-news__light-bg {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-blog-niceph-latest-news__insight-card.page-blog-niceph-latest-news__light-bg .page-blog-niceph-latest-news__card-title a,
.page-blog-niceph-latest-news__insight-card.page-blog-niceph-latest-news__light-bg .page-blog-niceph-latest-news__read-more {
    color: var(--primary-color);
}
.page-blog-niceph-latest-news__insight-card.page-blog-niceph-latest-news__light-bg .page-blog-niceph-latest-news__card-meta {
    color: #666666;
}
.page-blog-niceph-latest-news__insight-card.page-blog-niceph-latest-news__light-bg .page-blog-niceph-latest-news__card-excerpt {
    color: #333333;
}

.page-blog-niceph-latest-news__faq-section {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-blog-niceph-latest-news__faq-list {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.page-blog-niceph-latest-news__faq-item {
    border-bottom: 1px solid var(--border-color);
}

.page-blog-niceph-latest-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.page-blog-niceph-latest-news__faq-question:hover {
    color: var(--primary-color);
}

.page-blog-niceph-latest-news__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: normal;
    color: inherit;
}

.page-blog-niceph-latest-news__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-blog-niceph-latest-news__faq-item.active .page-blog-niceph-latest-news__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-niceph-latest-news__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main);
}

.page-blog-niceph-latest-news__faq-item.active .page-blog-niceph-latest-news__faq-answer {
    max-height: 1000px !important;
    padding: 15px;
}

.page-blog-niceph-latest-news__faq-answer p {
    margin: 0 0 1em 0;
    color: var(--text-main);
}

.page-blog-niceph-latest-news__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-blog-niceph-latest-news__cta-section .page-blog-niceph-latest-news__section-title {
    margin-bottom: 25px;
}

.page-blog-niceph-latest-news__cta-section .page-blog-niceph-latest-news__section-description {
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .page-blog-niceph-latest-news__hero-title {
        font-size: 3em;
    }
    .page-blog-niceph-latest-news__section-title {
        font-size: 2em;
    }
    .page-blog-niceph-latest-news__news-grid,
    .page-blog-niceph-latest-news__insight-grid,
    .page-blog-niceph-latest-news__features-grid,
    .page-blog-niceph-latest-news__community-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 100px;
    }
    .page-blog-niceph-latest-news {
        font-size: 16px;
        line-height: 1.6;
    }
}