/*
|--------------------------------------------------------------------------
| Parham Prism CMS
| Pages.css
| Story Page
|--------------------------------------------------------------------------
| Clean Version : 2.1
|--------------------------------------------------------------------------
*/


/*==========================================================
Container
==========================================================*/

.prism-container {

    width:100%;
    max-width:1800px;
    margin-inline:auto;
    padding-inline:40px;

}


/*==========================================================
Story Wrapper
==========================================================*/

.prism-story {

    position:relative;
    overflow:visible;

    background:var(--prism-background);

    padding:40px;

}


/*==========================================================
Hero
==========================================================*/

.prism-story-hero {

    position:relative;

    min-height:760px;

    display:flex;
    align-items:center;

    overflow:hidden;

    border-radius:36px;

}



/*==========================================================
Hero Image
==========================================================*/

.prism-story-image {

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    object-position:center;

}



/*==========================================================
Placeholder
==========================================================*/

.prism-story-placeholder {

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            #0f4c3a,
            #082d24
        );

}



/*==========================================================
Overlay
==========================================================*/

.prism-story-overlay {

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.88),
            rgba(0,0,0,.25)
        );

}



/*==========================================================
Hero Container
==========================================================*/

.prism-story-hero .prism-container {

    position:relative;

    z-index:5;

    display:flex;

    align-items:center;

    width:100%;

    min-height:760px;

}



/*==========================================================
Hero Content
==========================================================*/

.prism-story-content {

    position:relative;

    z-index:20;

    width:980px;

    max-width:100%;

    color:#fff;

}



/* Desktop Position */

@media(min-width:993px){

    .prism-story-content {

        margin-left:auto;

        transform:translateX(-150px);

    }

}



/* Mobile Reset */

@media(max-width:992px){

    .prism-story-content {

        width:100%;

        transform:none;

    }

}



/*==========================================================
Breadcrumb
==========================================================*/

.prism-story-breadcrumb-wrapper {

    position:absolute;

    top:28px;

    right:35px;

    z-index:40;

}



.prism-story-breadcrumb {

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    font-size:15px;

    color:#fff;

}



.prism-story-breadcrumb a {

    display:flex;

    align-items:center;

    gap:8px;

    color:#fff;

    text-decoration:none;

    transition:.25s;

}



.prism-story-breadcrumb a:hover {

    opacity:.8;

}



.prism-story-breadcrumb .separator {

    opacity:.45;

}



.prism-story-breadcrumb .current {

    opacity:.9;

}



/*==========================================================
Home Icon
==========================================================*/

.prism-home-icon {

    width:18px;
    height:18px;

    display:flex;

    align-items:center;

    justify-content:center;

}



.prism-home-icon svg {

    width:18px;
    height:18px;

    fill:none;

    stroke:#fff;

    stroke-width:2;

}



/*==========================================================
Title
==========================================================*/

.prism-story-title {

    font-family:"Rokh",sans-serif;

    font-size:clamp(42px,5vw,72px);

    line-height:1.25;

    font-weight:500;

    margin:0 0 28px;

}



/*==========================================================
Excerpt
==========================================================*/

.prism-story-excerpt {

    max-width:720px;

    font-size:20px;

    line-height:2;

    color:
        rgba(255,255,255,.88);

    margin-bottom:40px;

}



/*==========================================================
Story Meta
==========================================================*/

.prism-story-info {

    display:flex;

    align-items:center;

    gap:18px;

    width:max-content;

    max-width:100%;

    padding:18px 24px;

    border-radius:28px;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    box-shadow:
        0 15px 45px rgba(0,0,0,.18);

}



/*==========================================================
Meta Item
==========================================================*/

.prism-story-info-item {

    display:flex;

    align-items:center;

    gap:14px;

    padding-inline:10px;

    color:#fff;

}



.prism-story-info-item:not(:last-child){

    border-left:
        1px solid rgba(255,255,255,.22);

}



/*==========================================================
Meta Icon
==========================================================*/

.prism-story-icon {

    width:46px;

    height:46px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    background:
        rgba(255,255,255,.14);

    border:
        1px solid rgba(255,255,255,.25);

}



.prism-story-icon svg {

    width:22px;

    height:22px;

    fill:none;

    stroke:#fff;

    stroke-width:1.8;

    stroke-linecap:round;

    stroke-linejoin:round;

}



/*==========================================================
Meta Text
==========================================================*/

.prism-story-info-text {

    display:flex;

    flex-direction:column;

    gap:4px;

}



.prism-story-info-text .label {

    font-size:13px;

    color:
        rgba(255,255,255,.65);

}



.prism-story-info-text strong {

    font-size:15px;

    font-weight:600;

    color:#fff;

}

/*==========================================================
Story Layout
==========================================================*/

.prism-story-layout {

    position:relative;

    z-index:20;

    display:grid;

    grid-template-columns:
        220px minmax(0,1200px) 80px;

    justify-content:center;

    gap:35px;

    margin-top:-70px;

    align-items:start;

}



/*==========================================================
Main Column
==========================================================*/

.prism-story-main {

    grid-column:2;

    width:100%;

}



/*==========================================================
Article Card
==========================================================*/

.prism-story-card {

    width:100%;

    background:var(--prism-surface);

    border-radius:34px;

    padding:72px;

    border:1px solid var(--prism-border);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    box-shadow:

        0 30px 80px rgba(0,0,0,.12);

}



/*==========================================================
Article Body
==========================================================*/

.prism-story-body {

    font-family:"Kalameh",sans-serif;

    font-size:19px;

    line-height:2.3;

    color:var(--prism-text);

}



/*==========================================================
Paragraph
==========================================================*/

.prism-story-body p {

    margin-bottom:32px;

}



/*==========================================================
Headings
==========================================================*/

.prism-story-body h2 {

    font-family:"Rokh",sans-serif;

    font-size:36px;

    line-height:1.6;

    margin:

        60px 0 25px;

}



.prism-story-body h3 {

    font-size:28px;

    line-height:1.7;

    margin:

        45px 0 20px;

}



.prism-story-body h4 {

    font-size:22px;

    line-height:1.8;

    margin:

        35px 0 18px;

}



.prism-story-body h2,
.prism-story-body h3,
.prism-story-body h4 {

    color:var(--prism-text);

}



/*==========================================================
Lists
==========================================================*/

.prism-story-body ul,
.prism-story-body ol {

    margin:30px 0;

    padding-right:28px;

}



.prism-story-body li {

    margin-bottom:12px;

}



/*==========================================================
Links
==========================================================*/

.prism-story-body a {

    color:#0f4c3a;

    font-weight:600;

    text-decoration:none;

}



.prism-story-body a:hover {

    text-decoration:underline;

}



/*==========================================================
Images
==========================================================*/

.prism-story-body img {

    display:block;

    max-width:100%;

    height:auto;

    margin:

        45px auto;

    border-radius:26px;

}



/*==========================================================
Blockquote
==========================================================*/

.prism-story-body blockquote {

    margin:45px 0;

    padding:25px 35px;

    border-right:

        5px solid #0f4c3a;

    background:#f8faf8;

    border-radius:20px;

    font-size:20px;

    line-height:2;

}



/*==========================================================
Code Block
==========================================================*/

.prism-story-body pre {

    direction:ltr;

    overflow:auto;

    padding:28px;

    border-radius:18px;

    background:#111827;

    color:#fff;

}



.prism-story-body code {

    font-family:monospace;

}



/*==========================================================
Tables
==========================================================*/

.prism-story-body table {

    width:100%;

    border-collapse:collapse;

    margin:40px 0;

}



.prism-story-body th {

    background:#0f4c3a;

    color:#fff;

    padding:18px;

}



.prism-story-body td {

    padding:18px;

    border:

        1px solid rgba(0,0,0,.08);

}



/*==========================================================
Horizontal Rule
==========================================================*/

.prism-story-body hr {

    border:none;

    height:1px;

    margin:60px 0;

    background:

        rgba(0,0,0,.08);

}



/*==========================================================
Responsive Layout
==========================================================*/

@media(max-width:1200px){

    .prism-story-layout {

        grid-template-columns:
            210px minmax(0,1fr) 70px;

    }


}



@media(max-width:992px){

    .prism-story-layout {

        display:block;

        margin-top:-40px;

    }


    .prism-story-main {

        width:100%;

    }


    .prism-story-card {

        padding:35px;

    }

}



@media(max-width:768px){


    .prism-story-card {

        padding:28px;

        border-radius:24px;

    }


    .prism-story-body {

        font-size:17px;

    }


    .prism-story-body h2 {

        font-size:30px;

    }


    .prism-story-body h3 {

        font-size:24px;

    }


}

/*==========================================================
Left Sidebar
==========================================================*/

.prism-story-sidebar {

    grid-column:1;

    position:sticky;

    top:100px;

    align-self:start;

}



/*==========================================================
Sidebar Card
==========================================================*/

.prism-sidebar-card {

    position:relative;

    padding:24px;

    border-radius:30px;

    background:var(--prism-surface);

    border:1px solid var(--prism-border);

    backdrop-filter:blur(24px);

    -webkit-backdrop-filter:blur(24px);

    box-shadow:

        0 20px 60px rgba(0,0,0,.08);

}



/*==========================================================
Reading Progress
==========================================================*/

.prism-reading-progress {

    position:relative;

    display:flex;

    justify-content:center;

    margin-bottom:30px;

}



/*==========================================================
Progress Ring
==========================================================*/

.progress-ring {

    width:120px;

    height:120px;

    transform:rotate(-90deg);

}



.progress-ring-bg {

    fill:none;

    stroke:#edf2ef;

    stroke-width:8;

}



.progress-ring-value {

    fill:none;

    stroke:#0f4c3a;

    stroke-width:8;

    stroke-linecap:round;

    transition:.35s;

}



/*==========================================================
Progress Text
==========================================================*/

.progress-value {

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

}



.progress-value strong {

    font-size:28px;

    font-weight:700;

    line-height:1;

    color:var(--prism-primary);

}



.progress-value span {

    margin-top:6px;

    font-size:13px;

    color:var(--prism-text-soft);

}



/*==========================================================
Sidebar Navigation
==========================================================*/

.prism-sidebar-nav {

    margin-top:15px;

}



.prism-sidebar-heading {

    text-align:center;

    margin-bottom:22px;

    font-size:17px;

    font-weight:700;

    color:var(--prism-text);

}



/*==========================================================
Reading Ladder FINAL
==========================================================*/

#articleNavigation {

    position:relative;

    padding-right:28px;

}



#articleNavigation::before {

    content:"";

    position:absolute;

    right:7px;

    top:8px;

    bottom:8px;

    width:2px;

    background:

        var(--prism-border);

}



/* Generated UL */

#articleNavigation ul {

    list-style:none;

    padding:0;

    margin:0;

}



/* Items */

#articleNavigation li {

    position:relative;

    margin-bottom:12px;

}



/* Links */

#articleNavigation a {

    position:relative;

    display:block;

    padding:10px 14px;

    border-radius:14px;

    background:

        transparent;

    color:var(--prism-text);

    font-size:14px;

    line-height:1.9;

    text-decoration:none;

    transition:.25s;

}



/*
|--------------------------------------------------------------------------
| Circle Nodes
|--------------------------------------------------------------------------
*/


#articleNavigation a::before {

    content:"";

    position:absolute;

    right:-25px;

    top:50%;

    transform:

        translateY(-50%);

    width:10px;

    height:10px;

    border-radius:50%;

    background:#d5d9d7;

    border:

        3px solid var(--prism-surface);

    transition:.25s;

}



/* Hover */

#articleNavigation a:hover {

    background:

        rgba(15,76,58,.08);

    color:

        var(--prism-primary);

}



/* Active */

#articleNavigation a.active {

    background:

        rgba(15,76,58,.12);

    color:

        var(--prism-primary);

    font-weight:700;

}



#articleNavigation a.active::before {

    background:#0f4c3a;

    box-shadow:

        0 0 0 5px

        rgba(15,76,58,.15);

}


/*==========================================================
Sidebar Footer
==========================================================*/

.prism-sidebar-footer {

    margin-top:28px;

    padding-top:24px;

    border-top:

        1px solid var(--prism-border);

    display:flex;

    justify-content:center;

}



/*==========================================================
Home Button
==========================================================*/

.prism-sidebar-home {

    width:58px;

    height:58px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#0f4c3a;

    transition:.3s;

}



.prism-sidebar-home:hover {

    transform:translateY(-4px);

}



.prism-sidebar-home svg {

    width:24px;

    height:24px;

    fill:none;

    stroke:#fff;

    stroke-width:2;

}



/*==========================================================
Share Tools
==========================================================*/

.prism-story-tools {

    grid-column:3;

    position:sticky;

    top:100px;

}



.prism-tool-box {

    width:72px;

    padding:14px 10px;

    border-radius:28px;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:14px;

    background:var(--prism-surface);

    border:1px solid var(--prism-border);

    backdrop-filter:blur(24px);

    box-shadow:

        0 20px 60px rgba(0,0,0,.1);

}



.prism-tool-box button {

    width:48px;

    height:48px;

    border-radius:50%;

    border:1px solid var(--prism-border);

    background:var(--prism-surface);

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.25s;

}



.prism-tool-box button:hover {

    background:#0f4c3a;

    transform:translateY(-4px);

}



.prism-tool-box svg {

    width:22px;

    height:22px;

    fill:none;

    stroke:var(--prism-text);

}



.prism-tool-box button:hover svg {

    stroke:#fff;

}



/* Divider */

.prism-tool-divider {

    width:35px;

    height:1px;

    background:var(--prism-border);

}

/*==========================================================
Post Navigation
==========================================================*/

.prism-post-navigation {

    margin-top:35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    padding:35px 45px;

    border-radius:32px;

    background:var(--prism-surface);

    border:1px solid var(--prism-border);

    box-shadow:

        0 20px 60px rgba(0,0,0,.08);

}



.prism-post-nav-item {

    flex:1;

    display:flex;

    flex-direction:column;

    gap:12px;

    text-decoration:none;

    transition:.3s;

}



.prism-post-nav-item:hover {

    transform:translateY(-4px);

}



.prism-post-nav-item.next {

    text-align:right;

}



.prism-post-nav-item.previous {

    text-align:left;

}



.nav-label {

    font-size:13px;

    font-weight:700;

    color:var(--prism-primary);

}



.prism-post-nav-item strong {

    font-family:"Rokh",sans-serif;

    font-size:20px;

    line-height:1.8;

    color:var(--prism-text);

}



.prism-post-navigation::before {

    content:"";

    width:1px;

    height:60px;

    background:var(--prism-border);

}

/*==========================================================
Author Box
==========================================================*/

.prism-author-box {

    position:relative;

    overflow:hidden;

    display:flex;

    flex-direction:row-reverse;

    align-items:center;

    gap:25px;

    margin-top:40px;

    padding:35px;

    border-radius:32px;

    background:var(--prism-surface);

    border:1px solid var(--prism-border);

    box-shadow:
        0 25px 70px rgba(0,0,0,.1);

}



/* Decorative Shape */

.prism-author-box::before {

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    right:-200px;

    top:-250px;

    border-radius:50%;

    background:

        rgba(212,175,55,.12);

}



/*==========================================================
Author Avatar
==========================================================*/

.prism-author-avatar {

    width:110px;

    height:110px;

    padding:5px;

    flex-shrink:0;

    border-radius:50%;

    background:

        linear-gradient(
            135deg,
            #d4af37,
            #0f4c3a
        );

}



.prism-author-photo {

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:50%;

    border:3px solid #fff;

    display:block;

}



/*==========================================================
Author Content
==========================================================*/

.prism-author-content {

    position:relative;

    z-index:2;

    flex:1;

    direction:rtl;

    text-align:right;

}



/* Label */

.author-label {

    display:block;

    margin-bottom:8px;

    font-size:13px;

    color:#0f4c3a;

    font-weight:700;

}



/* Name */

.prism-author-content h3 {

    margin:0 0 10px;

    font-size:22px;

    color:var(--prism-text);

}



/* Bio */

.prism-author-content p {

    margin:0 0 18px;

    line-height:2;

    font-size:15px;

    color:var(--prism-text-soft);

}



/* Button */

.prism-author-contact {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    border-radius:20px;

    background:#0f4c3a;

    color:#fff;

    text-decoration:none;

    transition:.3s;

}



.prism-author-contact:hover {

    transform:translateY(-3px);

}

/*==========================================================
Related Posts
==========================================================*/


.prism-related-box {

    margin-top:45px;

    padding:35px;

    border-radius:32px;

    background:var(--prism-surface);

    border:1px solid var(--prism-border);

    box-shadow:
        0 25px 70px rgba(0,0,0,.08);

}


/* Header */

.prism-related-header h2 {

    margin:0 0 30px;

    font-family:"Rokh",sans-serif;

    font-size:30px;

    color:var(--prism-text);

}



/* Slider Wrapper */

.prism-related-slider-wrapper {

    position:relative;

}



/* Slider */

.prism-related-slider {

    display:flex;

    direction:rtl;

    gap:20px;

    overflow-x:auto;

    scroll-behavior:smooth;

    scrollbar-width:none;

}


.prism-related-slider::-webkit-scrollbar {

    display:none;

}



/* Card */

.prism-related-item {

    flex:0 0 calc(33.333% - 14px);

    height:360px;

    border-radius:26px;

    overflow:hidden;

    position:relative;

    background:var(--prism-surface);

    border:1px solid var(--prism-border);

    transition:.35s ease;

}



.prism-related-item:hover {

    transform:translateY(-6px);

}



/* Link */

.prism-related-item a {

    display:block;

    width:100%;

    height:100%;

    text-decoration:none;

}



/* Image */

.prism-related-image {

    position:relative;

    width:100%;

    height:100%;

    overflow:hidden;

}


.prism-related-image img {

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s ease;

}



.prism-related-item:hover img {

    transform:scale(1.06);

}



/* Overlay */

.prism-related-overlay {

    position:absolute;

    right:18px;

    left:18px;

    bottom:18px;

    padding:20px;

    border-radius:22px;

    background:

        rgba(10,20,18,.82);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.15);

}



/* Category */

.related-category {

    display:inline-block;

    margin-bottom:10px;

    padding:5px 14px;

    border-radius:20px;

    background:

        rgba(212,175,55,.18);

    color:#e8c76a;

    font-size:12px;

}



/* Title */

.prism-related-overlay h3 {

    margin:0 0 15px;

    color:#fff;

    font-family:"Rokh",sans-serif;

    font-size:20px;

    line-height:1.8;

}



/* Meta */

.related-meta {

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    color:rgba(255,255,255,.75);

    font-size:12px;

}



/* Buttons */

.related-slider-btn {

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:48px;

    height:48px;

    border-radius:50%;

    border:1px solid var(--prism-border);

    background:var(--prism-surface);

    color:var(--prism-text);

    cursor:pointer;

    font-size:28px;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:20;

    transition:.25s;

}



.related-slider-btn:hover {

    background:var(--prism-primary);

    color:#fff;

}



.related-slider-btn.prev {

    right:-20px;

}



.related-slider-btn.next {

    left:-20px;

}



/* Tablet */

@media(max-width:992px){

    .prism-related-item {

        flex:0 0 calc(50% - 10px);

    }

}



/* Mobile */

@media(max-width:600px){

    .prism-related-item {

        flex:0 0 88%;

    }

}

/*==========================================================
Slider Buttons
==========================================================*/

.related-slider-btn {

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:50px;

    height:50px;

    border-radius:50%;

    border:1px solid var(--prism-border);

    background:var(--prism-surface);

    cursor:pointer;

    font-size:28px;

    z-index:20;

}



.related-slider-btn.prev {

    right:-20px;

}



.related-slider-btn.next {

    left:-20px;

}



/*==========================================================
Mobile
==========================================================*/


@media(max-width:992px){


    .prism-story-sidebar {

        display:none;

    }



    .prism-story-tools {

        margin-top:25px;

    }



    .prism-tool-box {

        width:100%;

        flex-direction:row;

        justify-content:center;

    }


    .prism-tool-divider {

        width:1px;

        height:35px;

    }



    .prism-related-item {

        flex:

            0 0 calc(50% - 10px);

    }


}



@media(max-width:768px){


    .prism-story {

        padding:20px;

    }



    .prism-container {

        padding-inline:20px;

    }



    .prism-story-info {

        width:100%;

        flex-wrap:wrap;

    }



    .prism-post-navigation {

        flex-direction:column;

        padding:25px;

    }



    .prism-post-navigation::before {

        width:100%;

        height:1px;

    }



    .prism-post-nav-item,
    .prism-post-nav-item.next,
    .prism-post-nav-item.previous {

        text-align:right;

    }



    .prism-author-box {

        flex-direction:column;

        text-align:center;

    }



    .prism-related-item {

        flex:

            0 0 88%;

    }


}

/* =====================================================
   HOME POPULAR SECTION
===================================================== */


.prism-home-popular{
    margin:70px 0;
}



.prism-popular-grid{

    display:grid;
    grid-template-columns:2.2fr 1fr;
    gap:30px;
    align-items:start;

}


/* =====================================================
   MAIN BOX
===================================================== */


.prism-popular-main,
.prism-popular-sidebar-box{

    background:var(--prism-card);
    border-radius:32px;
    padding:28px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.06);

}



/* Header */


.prism-popular-main .prism-section-header{

    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;

}



.prism-section-title{

    display:flex;
    align-items:center;
    gap:10px;

}



.prism-section-title h2,
.prism-section-title h3{

    margin:0;
    font-size:22px;
    font-weight:800;

}



.prism-section-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:var(--prism-primary);

}



.prism-section-line{

    flex:1;

    border-top:1px dashed rgba(0,0,0,.18);

}



/* =====================================================
   CATEGORY TABS
===================================================== */


.prism-popular-tabs{

    width:100%;

    display:flex;

    justify-content:flex-end;

    gap:18px;

    align-items:center;

}



.prism-popular-tab{

    border:0;
    background:none;

    cursor:pointer;

    font-size:14px;
    color:#666;

    transition:.3s;

}



.prism-popular-tab:hover,
.prism-popular-tab.active{

    color:var(--prism-primary);
    font-weight:700;

}



.prism-popular-all{

    font-size:14px;
    color:var(--prism-primary);
    font-weight:700;

}





/* =====================================================
   CATEGORY SLIDER
===================================================== */


.prism-category-slider-wrapper{

    margin-top:25px;

}



.prism-category-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

}



.prism-category-image{

    height:170px;

    overflow:hidden;

}



.prism-category-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.4s;

}



.prism-category-card:hover img{

    transform:scale(1.05);

}



.prism-category-content{

    padding:18px;

}



.prism-category-content h3{

    font-size:16px;

    line-height:1.8;

    margin:0 0 12px;

}



.prism-category-meta{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:13px;

}



.prism-category-meta span{

    color:#888;

}



.prism-category-meta a{

    color:var(--prism-primary);

}



/* =====================================================
   SIDEBAR MINI POSTS
===================================================== */


.prism-sidebar-header{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:25px;

}



.prism-popular-mini-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}



.prism-popular-mini-card{

    background:var(--prism-surface);

    border:1px solid var(--prism-border);

    border-radius:18px;

    overflow:hidden;

    transition:.35s ease;

}



.prism-popular-mini-card:hover{

    transform:translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.08);

}



/* Image */

.prism-mini-image{

    width:100%;

    height:130px;

    overflow:hidden;

}



.prism-mini-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s ease;

}



.prism-popular-mini-card:hover 
.prism-mini-image img{

    transform:scale(1.08);

}



/* Content */

.prism-mini-content{

    padding:14px;

}



.prism-mini-content h4{

    color:var(--prism-text);

    font-size:14px;

    line-height:1.8;

    margin:0 0 12px;

    min-height:50px;

}



/* Meta Row */

.prism-mini-meta{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    font-size:12px;

    color:var(--prism-text-soft);

}



.prism-mini-link{

    color:var(--prism-primary);

    font-weight:700;

    white-space:nowrap;

}



/* Mobile */

@media(max-width:576px){

    .prism-popular-mini-grid{

        grid-template-columns:1fr;

    }

}

/* =====================================================
   RESPONSIVE
===================================================== */


@media(max-width:992px){


    .prism-popular-grid{

        grid-template-columns:1fr;

    }


}



@media(max-width:576px){


    .prism-popular-mini-grid{

        grid-template-columns:1fr;

    }


    .prism-popular-tabs{

        justify-content:flex-start;

        overflow-x:auto;

    }


}

/* =====================================================
   HOME BANNER SECTION
===================================================== */

.prism-home-banner{

    display:block;

    position:relative;

    margin:15px 0;

}


.prism-home-banner-box{

    position:relative;

    width:100%;

    height:250px;

    overflow:hidden;

    border-radius:26px;

}


.prism-home-banner-box img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}


.prism-home-banner-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.35);

}


.prism-home-banner-content{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    color:#fff;

    z-index:2;

}


.prism-home-banner-content h2{

    font-size:28px;

    margin:0 0 10px;

}


.prism-home-banner-content p{

    font-size:16px;

}

/* =====================================================
   CONTACT PAGE BANNER
===================================================== */


.prism-page-banner {

    margin: 30px 0 50px;

}



.prism-banner-image {

    position: relative;

    overflow: hidden;

    border-radius: 36px;

    height: 600px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.12);

}



.prism-banner-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}






/* =====================================================
   CONTACT CONTENT
===================================================== */


.prism-contact-page {

    margin-bottom: 80px;

}



.prism-contact-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    align-items: stretch;

}



.prism-contact-info,
.prism-contact-form {

    background: var(--prism-card-bg);

    color: var(--prism-text);

    border: 1px solid var(--prism-border);

    border-radius: 30px;

    padding: 40px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);

}



.prism-contact-info h2,
.prism-contact-form h2 {

    font-size: 28px;
    margin-bottom: 25px;
    color: var(--prism-heading);

}


.prism-contact-info p {

    line-height: 2;

    color: #666;

    margin-bottom: 30px;

}



.prism-contact-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 0;

    border-bottom: 1px solid rgba(0,0,0,.08);

}



.prism-contact-item:last-child {

    border-bottom: none;

}



.prism-contact-item span {

    color: var(--prism-muted);

}



.prism-contact-item strong {

    color: var(--prism-text);

}



/* Form */


.prism-contact-form form {

    display: flex;

    flex-direction: column;

    gap: 18px;

}



.prism-contact-form input,
.prism-contact-form textarea {


    width: 100%;

    border: 1px solid #e5e5e5;

    border-radius: 16px;

    padding: 16px 20px;

    font-family: inherit;

    font-size: 15px;

    background: #fafafa;

}



.prism-contact-form input:focus,
.prism-contact-form textarea:focus {

    outline: none;

    border-color: #0F4C3A;

    background: #fff;

}



.prism-contact-form button {


    border: none;

    border-radius: 16px;

    padding: 16px 30px;

    background: #0F4C3A;

    color: #fff;

    font-family: inherit;

    font-size: 16px;

    cursor: pointer;

}



.prism-contact-form button:hover {

    background: #082D24;

}





/* Responsive */

@media(max-width:900px){


    .prism-banner-image {

        height: 380px;

    }



    .prism-contact-grid {

        grid-template-columns: 1fr;

    }



}


/* =====================================================
   ABOUT PAGE
===================================================== */


/* Layout
----------------------------------------------------- */

.prism-about-page {

    margin-bottom: 90px;

}



.prism-about-layout {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 320px;

    gap: 40px;

    align-items: start;

}





/* Main Content
----------------------------------------------------- */


.prism-about-content {


    background: var(--prism-card-bg);

    border: 1px solid var(--prism-border);

    border-radius: 32px;

    padding: 50px;


    box-shadow:
        0 20px 60px rgba(0,0,0,.08);


}



.prism-about-content h1 {


    font-size: 38px;

    font-weight: 800;

    margin-bottom: 35px;

    color: var(--prism-heading);

}



.prism-about-content h2 {


    margin-top: 45px;

    margin-bottom: 18px;


    font-size: 26px;

    font-weight: 800;


    color: var(--prism-heading);

}



.prism-about-content p {


    font-size: 17px;

    line-height: 2.3;


    color: var(--prism-text);

    margin-bottom: 20px;


}





/* Sidebar Cards
----------------------------------------------------- */


.prism-about-sidebar {

    display: flex;

    flex-direction: column;

    gap: 20px;


    position: sticky;

    top: 120px;


}



.prism-about-card {


    background: var(--prism-card-bg);


    border: 1px solid var(--prism-border);


    border-radius: 28px;


    padding: 30px;


    text-align: center;


    box-shadow:

        0 15px 40px rgba(0,0,0,.07);


    transition: .25s;


}



.prism-about-card:hover {


    transform: translateY(-5px);


}



.prism-about-card strong {


    display: block;


    font-size: 25px;


    margin-bottom: 12px;


    color: var(--prism-heading);


}



.prism-about-card span {


    color: var(--prism-muted);

    font-size: 15px;


}





/* Dark Mode Enhancement
----------------------------------------------------- */


[data-theme="dark"] .prism-about-content,
[data-theme="dark"] .prism-about-card {


    box-shadow:

        0 20px 60px rgba(0,0,0,.35);


}







/* Responsive
----------------------------------------------------- */


@media(max-width:1100px){


    .prism-about-layout {

        grid-template-columns: 1fr;

    }



    .prism-about-sidebar {

        position: static;


        display: grid;


        grid-template-columns: repeat(3,1fr);


    }


}




@media(max-width:700px){


    .prism-about-content {

        padding: 30px;

    }



    .prism-about-content h1 {

        font-size: 30px;

    }



    .prism-about-content h2 {

        font-size: 22px;

    }



    .prism-about-sidebar {

        grid-template-columns: 1fr;

    }



}

/* ==========================================
   Categories Page
========================================== */


.prism-categories-section{

    padding:70px 0;

}



.prism-section-header{

    text-align:center;

    margin-bottom:50px;

}


.prism-section-header h1{

    font-size:38px;

    color:var(--prism-text);

    margin-bottom:15px;

}


.prism-section-header p{

    color:var(--prism-text-soft);

}



.prism-category-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:28px;

}



/* Card */


.prism-category-card{

    background:
    var(--prism-surface);

    border:
    1px solid var(--prism-border);

    border-radius:28px;

    min-height:240px;

    padding:35px 25px;

    text-align:center;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    transition:.35s;

}



.prism-category-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 25px 60px rgba(0,0,0,.08);

}



/* Icon */


.prism-category-icon{

    width:70px;

    height:70px;

    margin-bottom:20px;

    color:
    var(--prism-primary);

}



.prism-category-icon svg{

    width:100%;

    height:100%;

    fill:none;

    stroke:currentColor;

    stroke-width:1.3;

}



/* Title */


.prism-category-title{

    font-size:20px;

    margin-bottom:10px;

}



/* Count */


.prism-category-count{

    font-size:13px;

    color:
    var(--prism-text-muted);

    margin-bottom:15px;

}



/* Link */


.prism-category-link{

    color:
    var(--prism-primary);

    font-size:14px;

}



/* Responsive */


@media(max-width:1200px){

.prism-category-grid{

grid-template-columns:repeat(3,1fr);

}

}



@media(max-width:900px){

.prism-category-grid{

grid-template-columns:repeat(2,1fr);

}

}



@media(max-width:600px){

.prism-category-grid{

grid-template-columns:1fr;

}

}

.prism-category-banner{

    position:relative;

    height:220px;

    overflow:hidden;

    border-radius:32px;

}


.prism-category-banner img{

    width:100%;

    height:100%;

    object-fit:cover;

}



.prism-category-banner-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:40px;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.55),
        rgba(0,0,0,.15)
    );

    color:#fff;

}



.prism-category-banner-overlay h1{

    font-size:38px;

    margin:0 0 10px;

}



.prism-category-banner-overlay p{

    max-width:600px;

    line-height:2;

    opacity:.9;

}

/* ==================================================
   CATEGORY PAGE LAYOUT
   Layout is controlled by category.css
   ================================================== */

@media(max-width:768px){


    .prism-category-post-grid{

        grid-template-columns:1fr;

    }


    .prism-sidebar-box{

        border-radius:18px;

    }


}


/* ==========================================================================
   PARHAM PAGE BUILDER
   Align all builder rows and sections to the same content width
   ========================================================================== */

.prism-page-content,
.prism-page-builder-layout {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.prism-page-content .prism-container,
.prism-page-builder-layout .prism-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* Every Page Builder row must use the same horizontal boundaries */
.prism-page-content .prism-builder-row,
.prism-page-builder-layout .prism-builder-row {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Prevent sections from becoming wider than the builder row */
.prism-page-content .prism-builder-row > *,
.prism-page-builder-layout .prism-builder-row > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Builder sections themselves must not introduce extra horizontal space */
.prism-page-content .prism-builder-section,
.prism-page-builder-layout .prism-builder-section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Hero */
.prism-page-content .prism-builder-hero,
.prism-page-builder-layout .prism-builder-hero {
    width: 100%;
    box-sizing: border-box;
}

/* Ads / banners */
.prism-page-content .prism-builder-ad-banner,
.prism-page-content .prism-builder-ad-code,
.prism-page-builder-layout .prism-builder-ad-banner,
.prism-page-builder-layout .prism-builder-ad-code {
    width: 100%;
    box-sizing: border-box;
}

/* Make the inner content follow exactly the same width */
.prism-page-content .prism-builder-hero > .prism-container,
.prism-page-content .prism-builder-ad-banner > .prism-container,
.prism-page-content .prism-builder-ad-code > .prism-container,
.prism-page-builder-layout .prism-builder-hero > .prism-container,
.prism-page-builder-layout .prism-builder-ad-banner > .prism-container,
.prism-page-builder-layout .prism-builder-ad-code > .prism-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* Boxes must never exceed their row */
.prism-page-content .prism-hero-box,
.prism-page-content .prism-ad-box,
.prism-page-content .prism-ad-code-box,
.prism-page-builder-layout .prism-hero-box,
.prism-page-builder-layout .prism-ad-box,
.prism-page-builder-layout .prism-ad-code-box {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

