@import url("https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap");

:root {
    --navyblue: #090E27;
    --purple-light: #1D223A;
    --blue: #6C23E0;
    --purple: #8D0EBB;
    --pink: #FF0090;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: "Poppins", Sans-serif;
    background-color: var(--navyblue);
    color: var(--white);
    font-size: 18px;
    line-height: 1.5;
}

.elementor {
    padding-top: 0px !important;
}

.main_banner {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 350px 0 60px 0;
    position: relative;
}

.main_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, #090E27 0%, #090E2700 100%);
    z-index: 1;
}

.main_banner .container {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1120px;
}

.blog-top-title h1 {
    font-family: "Lobster", Sans-serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--white);
}

.blog-top-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.blog-top-text .left {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.blog-top-text .box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-top-text .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-top-text .icon svg {
    max-width: 100%;
    max-height: 100%;
}

.share_blog {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
}

.share_blog ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.share_blog ul li a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--pink);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.share_blog ul li a:hover {
    opacity: 0.8;
    color: var(--white);
}

.taxonomies {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.category-badge {
    background-color: rgba(248, 0, 140, 0.15);
    color: #f8008c;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-detail-content {
    padding: 60px 0 0;
}

.content-editor {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.content-editor p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-weight: 100;
}

.content-editor ul li {
    opacity: 0.9;
}

.content-editor a {
    color: var(--pink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-editor a:hover {
    color: var(--white);
}

.content-editor img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.aligncenter {
    display: block;
    margin: 30px auto !important;
}

@media screen and (max-width: 767px) {
    .content-editor {
        font-size: 16px;
    }
}

/* Taxonomy & Grid Pages Styles */
.category-main-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: center;
    color: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background-color: var(--purple-light);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(248, 0, 140, 0.2);
    border-color: var(--pink);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px 0;
}

.category-card .post-count {
    font-size: 0.9rem;
    color: var(--pink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.post-card {
    background-color: var(--purple-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(248, 0, 140, 0.3);
}

.post-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.post-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--white);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-title:hover {
    color: var(--pink);
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Splash/Portal Page Styles */
.portal-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.portal-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(45deg, var(--white), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.portal-box {
    background-color: var(--purple-light);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portal-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(248, 0, 140, 0.25);
    border-color: var(--pink);
}

.portal-box .icon {
    font-size: 3rem;
    color: var(--pink);
    margin-bottom: 20px;
}

.portal-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.portal-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Load More Button Styles */
.load-more-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.btn-load-more {
    background-color: var(--pink);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 40px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(248, 0, 140, 0.4);
}

.btn-load-more:hover {
    background-color: #d60077;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 0, 140, 0.6);
    color: var(--white);
}

.btn-load-more:active {
    transform: translateY(1px);
}

/* WordPress Embed & Iframe Styling */
.wp-block-embed {
    margin: 20px 0;
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.wp-block-embed__wrapper iframe,
.wp-block-embed__wrapper object,
.wp-block-embed__wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content-editor iframe {
    max-width: 100%;
}

img {
    max-width: 100%;
}

@media screen and (max-width: 1199px) {
    .main_banner {
        padding: 250px 0 59px 0;
    }
    .main_banner::before {
        background: linear-gradient(0deg, #090E27 0%, #090E2790 100%);
    }
    .blog-top-title h1 {
        font-size: 44px;
    }
    .blog-top-title h1.category-main-title {
        font-size: 50px;
    }
}
@media screen and (max-width: 991px) {
    .blog-top-title h1 {
        font-size: 36px;
    }
    .blog-top-title h1.category-main-title {
        font-size: 42px;
    }
}
@media screen and (max-width: 767px) {
    .main_banner {
        padding: 200px 0 0px 0;
    }
    .blog-top-title h1 {
        font-size: 30px;
    }
    .blog-top-title h1.category-main-title {
        font-size: 36px;
    }
}
/* --- Comments Section Styles (Added for new layout) --- */
.comments-section {
    background-color: #0b0c1b;
    padding: 40px 40px 0;
    border-radius: 4px;
}

.comments-section h3 {
    color: #ffffff;
}

.comments-section .comment {
    display: grid !important;
    grid-template-columns: 340px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 20px;
    padding: 30px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: transparent !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    align-items: start;
}

.comments-section .comment:last-child {
    border-bottom: none !important;
}

.comments-section .comment-author {
    grid-column: 1;
    grid-row: 1;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700 !important;
    word-break: break-all;
    margin-bottom: 4px;
}

.comments-section .comment-date {
    grid-column: 1;
    grid-row: 2;
    color: #a0a5b5 !important;
    font-size: 0.95rem;
}

.comments-section .comment-content {
    grid-column: 2;
    grid-row: 1 / span 2;
    background-color: #ffffff;
    color: #000000;
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .comments-section .comment {
        grid-template-columns: 200px 1fr 80px;
    }
}

@media (max-width: 768px) {
    .comments-section {
        padding: 20px;
    }
    .comments-section .comment {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
        position: relative;
    }
    
    .comments-section .comment-author {
        grid-column: 1;
        grid-row: 1;
    }
    
    .comments-section .comment-date {
        grid-column: 1;
        grid-row: 2;
    }
    
    .comments-section .comment-content {
        grid-column: 1;
        grid-row: 3;
    }
    
    .comments-section .comment::after {
        position: absolute;
        top: 30px;
        right: 0;
        grid-column: unset;
        grid-row: unset;
    }
}

