/* ============================================
   ARTICLE TEMPLATE STYLES
   My Solivagant Path
   ============================================ */

/* :root {
    --primary: #f2693f;
    --primaryLight: #ffba43;
    --secondary: #ffba43;
    --headerColor: #1a1a1a;
    --bodyTextColor: #4e4b66;
    --bodyTextColorWhite: #fafbfc;
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    line-height: 1.8;
    color: var(--bodyTextColor);
} */



/* ============================================
   ARTICLE HERO BANNER (FULL WIDTH)
   ============================================ */

#article-hero {
    background-image: url(../images/2.svg);
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(8rem, 15vw, 12rem) 1rem 4rem;
}

#article-hero .cs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

#article-hero .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    position: relative;
    z-index: 2;
}

#article-hero .cs-content {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumb */
#article-hero .cs-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

#article-hero .cs-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

#article-hero .cs-breadcrumb a:hover {
    color: var(--secondary);
}

#article-hero .cs-breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

#article-hero .cs-breadcrumb span {
    color: var(--secondary);
}

/* Tags */
#article-hero .cs-tags {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

#article-hero .cs-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    background: rgba(255, 186, 67, 0.9);
    color: #1a1a1a;
    border-radius: 2rem;
}

/* Title */
#article-hero .cs-title {
    font-family: "Cinzel", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2em;
    margin: 0 0 2rem 0;
    color: var(--bodyTextColorWhite);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Meta Info */
#article-hero .cs-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

#article-hero .cs-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#article-hero .cs-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--secondary);
}

#article-hero .cs-author-name {
    font-weight: 600;
}

#article-hero .cs-separator {
    color: rgba(255, 255, 255, 0.4);
}

#article-hero .cs-date,
#article-hero .cs-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#article-hero .cs-date i,
#article-hero .cs-read-time i {
    color: var(--secondary);
}

/* Background Image */
#article-hero .cs-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#article-hero .cs-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   ARTICLE CONTENT
   ============================================ */

#article-content {
    padding: var(--sectionPadding);
    background: #fff;
}

#article-content .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Article Body */
.cs-article-body {
    max-width: 50rem;
    margin: 0 auto;
}

/* Lead/Introduction */
.cs-intro {
    margin-bottom: 2.5rem;
}

.cs-lead {
    font-size: 1.25rem;
    line-height: 1.7em;
    color: #333;
    font-weight: 400;
}

/* Typography */
.cs-article-body h2 {
    font-family: "Cinzel", serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3em;
    margin: 3rem 0 1.5rem 0;
    color: var(--headerColor);
}

.cs-article-body h3 {
    font-family: "Cinzel", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3em;
    margin: 2.5rem 0 1rem 0;
    color: var(--headerColor);
}

.cs-article-body p {
    font-size: 1.0625rem;
    line-height: 1.8em;
    margin-bottom: 1.5rem;
    color: var(--bodyTextColor);
}

/* Lists */
.cs-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.cs-list li {
    font-size: 1.0625rem;
    line-height: 1.8em;
    margin-bottom: 0.75rem;
    color: var(--bodyTextColor);
}

.cs-list li::marker {
    color: var(--primary);
}

/* Pull Quote */
.cs-pullquote {
    font-family: "Cinzel", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.4em;
    text-align: center;
    margin: 3rem auto;
    padding: 2rem;
    max-width: 45rem;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    border-right: 4px solid var(--secondary);
    background: #fef9f3;
    position: relative;
}

.cs-pullquote::before {
    content: '"';
    font-size: 4rem;
    line-height: 1;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

/* Full Width Images */
.cs-full-width-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.cs-full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-full-width-image figcaption {
    text-align: center;
    font-size: 0.95rem;
    font-style: italic;
    color: #666;
    padding: 1rem;
    background: #f8f8f8;
}

/* Callout Box */
.cs-callout {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fff7f2 0%, #fef9f3 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0.5rem;
}

.cs-callout-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cs-callout-content h4 {
    font-family: "Cinzel", serif;
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    color: var(--primary);
}

.cs-callout-content p {
    margin: 0;
    font-size: 1rem;
}

/* Conclusion */
.cs-conclusion {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.cs-conclusion h2 {
    margin-top: 0;
}

/* ============================================
   SIDEBAR
   ============================================ */

.cs-sidebar {
    display: none; /* Hidden on mobile */
}

/* Widgets */
.cs-widget {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.cs-widget-title {
    font-family: "Cinzel", serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--headerColor);
}

/* Author Widget */
.cs-author-widget {
    text-align: center;
}

.cs-author-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary);
}

.cs-author-bio {
    font-size: 0.95rem;
    line-height: 1.6em;
    margin-bottom: 1.5rem;
}

.cs-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cs-social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cs-social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* TOC Widget */
.cs-toc-list {
    list-style: none;
    padding: 0;
}

.cs-toc-list li {
    margin-bottom: 0.75rem;
}

.cs-toc-list a {
    color: var(--bodyTextColor);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.cs-toc-list a:hover,
.cs-toc-list a.active {
    color: var(--primary);
    border-left-color: var(--primary);
}

/* Related Posts Widget */
.cs-related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cs-related-post {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--headerColor);
    transition: transform 0.3s;
}

.cs-related-post:hover {
    transform: translateX(5px);
}

.cs-related-post img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.35rem;
}

.cs-related-post span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4em;
}

/* ============================================
   ARTICLE FOOTER (SHARE & NAVIGATION)
   ============================================ */

#article-footer {
    padding: var(--sectionPadding);
    background: #f8f8f8;
}

#article-footer .cs-container {
    width: 100%;
    max-width: 50rem;
    margin: auto;
}

/* Share Section */
.cs-share-section {
    text-align: center;
    margin-bottom: 3rem;
}

.cs-share-title {
    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--headerColor);
}

.cs-share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cs-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.cs-share-btn i {
    font-size: 1.1rem;
}

.cs-facebook {
    background: #1877f2;
    color: #fff;
}

.cs-twitter {
    background: #1da1f2;
    color: #fff;
}

.cs-pinterest {
    background: #e60023;
    color: #fff;
}

.cs-linkedin {
    background: #0a66c2;
    color: #fff;
}

.cs-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Article Navigation */
.cs-article-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.cs-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cs-nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cs-nav-link i {
    font-size: 1.5rem;
    color: var(--primary);
}

.cs-nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-nav-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    font-weight: 600;
}

.cs-nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--headerColor);
}

.cs-next {
    text-align: right;
}

.cs-next .cs-nav-content {
    align-items: flex-end;
}

/* ============================================
   NEWSLETTER CTA
   ============================================ */

#newsletter-cta {
    padding: var(--sectionPadding);
    background: #111926;
}

#newsletter-cta .cs-container {
    width: 100%;
    max-width: 50rem;
    margin: auto;
}

#newsletter-cta .cs-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#newsletter-cta .cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

#newsletter-cta .cs-title {
    font-family: "Cinzel", serif;
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    margin: 0 0 1rem 0;
    color: var(--bodyTextColorWhite);
}

#newsletter-cta .cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.6em;
    max-width: 40.625rem;
    margin: 0 0 2rem;
    color: var(--bodyTextColorWhite);
    opacity: 0.9;
}

#newsletter-cta .cs-form {
    width: 100%;
    max-width: 34rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#newsletter-cta .cs-input {
    font-size: 1rem;
    font-family: "Raleway", sans-serif;
    width: 100%;
    height: 3.5rem;
    padding: 0 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 0.25rem;
    transition: all 0.3s;
}

#newsletter-cta .cs-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#newsletter-cta .cs-input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

#newsletter-cta .cs-button-solid {
    font-size: 1rem;
    line-height: 3.5rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    width: 100%;
    padding: 0 2rem;
    background-color: var(--secondary);
    border: none;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

#newsletter-cta .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #5d574e;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
}

#newsletter-cta .cs-button-solid:hover {
    color: #fff;
}

#newsletter-cta .cs-button-solid:hover:before {
    width: 100%;
}

/* ============================================
   RESPONSIVE - TABLET & DESKTOP
   ============================================ */

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    .cs-article-nav {
        grid-template-columns: 1fr 1fr;
    }
    
    #newsletter-cta .cs-form {
        flex-direction: row;
    }
    
    #newsletter-cta .cs-input {
        flex: 1;
    }
    
    #newsletter-cta .cs-button-solid {
        width: auto;
        min-width: 10rem;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #article-content .cs-container {
        grid-template-columns: 1fr 20rem;
        gap: 4rem;
    }
    
    .cs-sidebar {
        display: block;
        position: sticky;
        top: 6rem;
        align-self: start;
    }
    
    .cs-article-body {
        margin: 0;
    }
}