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

}

:root {
    --primary-red:rgb(255, 0, 0);
    --primary-dark-red:rgb(85, 0, 0);
    --primary-grey: rgb(228, 228, 228);
}

body {
    font-family: "Rokkitt", "Arvo";
    font-size: 16px;
    line-height: 1.5;  
    background-color: #ffff;
    
}

a {
    text-decoration: none;
    color: var(--primary-dark-red);
}

ul {
    list-style: none;

}

img {
    max-width: 70%;
    height: auto;
    display: block;
}


/* Navbar */
.navbar{
    background: white;
    padding: 10px;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mainlogo img {
    max-width: 300px;
    height: auto;
}

.menu-toggle {
    position: sticky;
    top: 10px;
    right: 16px;
    z-index: 1001;
}

.main-menu {
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
} 

.main-menu.open {
    opacity: 1;
    transform: translateY(0);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateX(17.5px) rotate(45deg) ;
}



.menu-toggle.open span:nth-child(2) {
    transform: translateX(-17.5px) rotate(-45deg);
}


.navbar .main-menu > ul {
    display: flex;
    gap: clamp(10px, 2vw, 40px);
}
.menu-toggle {
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 1001;
    display: none;
    background: transparent;
    border: 10px;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    display: block;
    width: 35px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 4px 0;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.7));
}

.navbar ul li a {
    padding: 10px 10px;
    display: block;
    font-weight: 800;
    transition: 0.5s;
    white-space: nowrap;

}

.navbar ul li a:hover {
    color: var(--primary-red);
}

/* ---- Nav Dropdown ---- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.85em;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 8px 0;
    z-index: 500;
    flex-direction: column;
    gap: 0;
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu li a {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
    background: #f4f4f4;
    color: var(--primary-red);
}

/* Desktop: show on click only */
@media (min-width: 769px) {
    .nav-dropdown.open .nav-dropdown-menu {
        display: flex;
    }
}

/* Mobile: show on click (via .open class) */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        border-radius: 4px;
        padding: 4px 0 4px 16px;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: flex;
    }
}

.navbar ul li a i {
    margin-right: 10px;
}

.navbar > .container > .main-menu > ul > li:last-child a {
    margin-left: 10px;
}

/* Global section spacing */

section {
    padding: 60px 0;
}

.hero {
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hero img{
    max-width: 60%;
}

.hero .hero-content {
    width: 60%;
    padding-right: 30px;

}

.hero .hero-text {
    width: 70%;
    margin-bottom: 20px;
}

/* Blog hero image (thumbnail from stories.js shown in hero section) */
.blog-hero-image {
    flex-shrink: 0;
    max-width: 40%;
}

.blog-hero-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.blog-hero-image .blog-image-subtext {
    text-align: center;
    display: block;
}

/* Video */

.video {
    padding: 10px 0 40px;
}

.video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.video-pre {
    margin: 0 auto;
}

.video-pre {
    margin-bottom: 20px;
    max-width: 90%;
}

/* Testimonial */

.testimonial {
    padding: 40px 0;
    text-align: center;
}

.testimonial .testimonial-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial .card p:nth-child(2) {
    font-weight: bold;
    font-style: italic;
    margin-top: 10px;
}

/* Mission Section */

.mission {
    padding: 40px 0;
}

/* Values & Team Grid */

.values {
    padding: 40px 0;
}

/* Blog listing and story cards share grid rules with the value cards. */
.values-grid,
.blog-list .values-grid,
.blog-list .card,
.blog-list .card h3,
.blog-list .card p {
    margin: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

@media (max-width: 960px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Card spacing on blog overview and individual story pages. */
.blog-list .card,
.blog-story .card {
    padding: 30px;
    overflow: hidden; /* contain floated inline images */
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    color: #4d4d4d;
    font-size: 0.95rem;
}

.blog-meta span {
    font-weight: 700;
}
.blog-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.blog-author img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid white;
}

.blog-author .author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-author .author-info .name {
    font-weight: 700;
}

/* Story page bottom spacing to keep footer separated from text.
   Adjust this value if the gap is too large or too small for your layout. */
.blog-story {
    margin-bottom: 80px;
}

/* Content width control for long blog text blocks. */
.blog-story .content {
    max-width: 900px;
    margin: 10px auto;
    padding: 20px 0;
}

/* All blogs section */
.all-blogs {
    padding: 60px 0;
}

article.card{
    margin-bottom: 20px;
}


.team {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.team-member-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.team .card h4,
.values .card h3 {
    margin-bottom: 10px;
}

/*media quaries*/

@media (max-width: 960px) {
    .hero .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero .hero-content {
        width: 100%;
        padding: 0;
    }

    .hero .hero-text {
        width: 100%;
    }

    .hero img {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .blog-hero-image {
        max-width: 80%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        flex-shrink: 0;
        align-self: center;
        text-align: center;
    }
}

/* Mobile hamburger menu */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-height: none;
        opacity: 0;
        transform: translateX(-100%);
        transition: opacity 0.4s ease, transform 0.4s ease;
        overflow-y: auto;
        background: white;
        z-index: 1000;
    }

    .main-menu.open {
        opacity: 1;
        transform: translateX(0);
    }

    .main-menu > ul {
        flex-direction: column;
        gap: 10px;
        padding: 60px 20px 20px;
    }

    .navbar ul li a {
        padding: 12px 10px;
    }

    body {
        font-size: 18px;
    }

    h1, h2, h3, h4 {
        font-size: 1.2em;
    }

    p {
        font-size: 1.1em;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        justify-content: initial;
        align-items: initial;
        text-align: center;
    }

    .footer {
        padding: 20px 0;
        margin-bottom: 0;
    }

    .footer h4 {
        font-size: 1.2rem;
    }

    .footer .card {
        margin: 15px 0;
    }

    .footer-social-link {
        margin-top: 15px;
        justify-content: center;
    }

    .footer-social-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .faq ul.faq-menu {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 10px 14px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0,0,0,0.2) transparent;
    }

    .faq ul.faq-menu::-webkit-scrollbar {
        height: 4px;
    }

    .faq ul.faq-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .faq ul.faq-menu::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 4px;
    }

    .faq ul.faq-menu li {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}

/*pricing*/

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}



.pricing .pricing-description {
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.pricing .pricing-footer {
    margin-top: 40px;
    
}
.pricing {
    padding: 40px 0;
    text-align: center;
}

/* FAQ */

.faq {
    padding: 40px 0;
}

.faq .faq-group {
    border-bottom: 1px solid var(--primary-grey);
    padding-bottom: 20px;
    padding-top: 20px;
}

.faq .faq-group .faq-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(226, 226, 226);
    padding: 2px;
    border-radius: 5px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq .faq-group .faq-group-header:hover {
    background: rgba(238, 238, 238, 0.8);
}

.faq .faq-group .faq-group-header h4 {
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.faq .faq-group .faq-group-header .faq-toggle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-left: 10px;
}

.faq .faq-group .faq-group-body {
    display: none;
    padding-bottom: 15px;
}

.faq .faq-group .faq-group-body.open {
    display: block;
}

.faq ul.faq-menu {
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto 40px;
    background: rgb(255, 109, 109);
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
}

.faq .faq-content {
    margin-top: 20px;
}

.faq ul.faq-menu li {
    padding: 12px 28px;
    border-radius: 5px;
    text-align: center;
}

.faq ul.faq-menu li.active {
    background: var(--primary-dark-red);
    color: white;
}

/* Footer */

.footer {
    padding: 40px 0;
    margin-bottom: 0;
}

.footer h4{
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer ul li {
    
    line-height: 2.5;
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgb(226, 226, 226);
    transition: 0.3s;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
}

.footer-social-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer .card {
    margin: 20px 0 30px 0;
}

.footer input[type="email"] {
    padding: 10px;
    border: 1px solid var(--primary-grey);
    border-radius: 5px;
    width: 100%;
    margin-bottom: 10px;
}

/* Utility Class */

.container{
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small{
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/*button class*/

.btn{
    display:inline-block;
    padding: 13px 20px;
    background: var(--primary-grey);
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;

}

.btn:hover {
    opacity: 0.8;
    color: var(--primary-red);
}

.btn-primary {
    background: rgb(206, 206, 206);
    color: rgb(34, 0, 0);
}

.btn-dark {
    background: var(--primary-dark-red);
    color: white;
}

.btn-grey {
    background: rgb(233, 233, 233);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Text classes ult */

.text-xxl-main {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 5px 0 20px
}

.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 40px 0 20px
}


.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 30px 0 20px;
}

.text-med {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

.text-center {
    text-align: center;
}

/* background */

.bg-primary {
    background: var(--primary-red);
    color: white;
}


.bg-dark {
    background: var(--primary-dark-red);
    color: white;
}
.bg-red {
    background: rgb(151, 0, 0);
    color: white;
}

.bg-light {
    background: white;
    color: black;
}

/*card*/

.card {
    background: var(--primary-grey);
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* Card thumbnail (blog listing) */
.card-thumbnail {
    margin-bottom: 15px;
}

.card-thumbnail img {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.card-thumbnail-subtext {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-top: 6px;
    font-style: italic;
}

/* Blog story inline image */
.blog-image {
    margin: 25px 0;
}

.blog-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
}

.blog-image-subtext {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-top: 6px;
    font-style: italic;
}

/* Inline image floated right with text wrapping around it.
   Add a size class: blog-image-sm, blog-image-md (default), or blog-image-lg */
.blog-image-inline-right {
    float: right;
    max-width: 280px;
    margin: 0 0 15px 20px;
}

.blog-image-inline-right.blog-image-sm {
    max-width: 240px;
}

.blog-image-inline-right.blog-image-md {
    max-width: 400px;
}

.blog-image-inline-right.blog-image-lg {
    max-width: 600px;
}

.blog-image-inline-right img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
}

.blog-image-inline-right figcaption {
    font-size: 0.85rem;
    color: #555;
    margin-top: 6px;
    font-style: italic;
}

/* Auth / Login page */

/* Hide the auth nav link until Firebase resolves the auth state (prevents flash) */
.nav-auth-link {
    visibility: hidden;
}
.nav-auth-link.auth-ready {
    visibility: visible;
}

.auth-page {
    padding: 80px 0 60px;
}

.auth-box {
    max-width: 450px;
    margin: 0 auto;
    padding: 35px;
}

.auth-box label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 16px;
}

.auth-box input[type="email"],
.auth-box input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.auth-box button[type="submit"] {
    margin-top: 24px;
}

.auth-legal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.auth-legal-check input[type="checkbox"] {
    width: auto;
    margin: 4px 0 0;
}

.auth-legal-check a {
    text-decoration: underline;
}

.auth-switch {
    margin-top: 18px;
    font-size: 0.95rem;
}

.auth-switch a {
    font-weight: 700;
    text-decoration: underline;
}

.auth-message {
    text-align: center;
    font-weight: 700;
    min-height: 1.4em;
    margin-bottom: 10px;
}

.auth-error {
    color: var(--primary-red);
}

.auth-success {
    color: green;
}

/* Account page */
.account-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 35px;
}

.account-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.account-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ccc;
    flex-shrink: 0;
    background: #e4e4e4;
}

.account-avatar-controls {
    flex: 1;
}

.account-avatar-controls label,
.account-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.account-avatar-controls input,
.account-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 10px;
}

.account-avatar-controls .btn,
.account-field .btn {
    margin-top: 4px;
}

.account-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

.account-email-display {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.account-legal-note {
    margin: 16px 0 0;
    line-height: 1.6;
    color: #555;
}

.account-legal-note a {
    color: var(--primary-red);
}

/* Account Danger Zone */
.account-danger-zone {
    background: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 10px;
    padding: 20px;
}

.account-danger-zone h3 {
    color: #cc0000;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.account-danger-zone p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #666;
}

.btn-danger {
    display: inline-block;
    background: #cc0000;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.btn-danger:hover {
    background: #990000;
}

.delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.delete-modal-content {
    max-width: 400px;
    width: 90%;
    padding: 30px;
    text-align: center;
}

.delete-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}

.delete-modal-content h3 {
    color: #cc0000;
    margin-bottom: 10px;
}

.delete-modal-content p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: #555;
}

.delete-modal-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Image crop modal */
.crop-modal {
    margin-top: 15px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.crop-container {
    max-height: 350px;
    overflow: hidden;
}

/* Legal Pages */
.legal-content {
    padding: 40px 0 60px;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 12px;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 24px;
}

.legal-content a {
    color: var(--primary-red);
}

.legal-updated {
    margin-bottom: 20px;
    color: #666;
}

.legal-note {
    margin-top: 24px;
    padding: 14px 16px;
    border-left: 4px solid var(--primary-red);
    background: rgba(0, 0, 0, 0.04);
}

/* Footer Copyright */
.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Blog Tag Filter */
.blog-tag-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px auto 30px;
    padding: 12px 24px;
    background: rgb(255, 109, 109);
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    flex-wrap: wrap;
}

.blog-tag-filter li {
    padding: 10px 22px;
    border-radius: 5px;
    text-align: center;
    transition: background 0.2s;
}

.blog-tag-filter li:hover {
    background: rgba(255,255,255,0.2);
}

.blog-tag-filter li.active {
    background: var(--primary-dark-red);
    color: white;
}

/* Card Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.card-tag {
    display: inline-block;
    background: rgb(255, 109, 109);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: capitalize;
}

/* Contact Page */
.contact-content {
    padding: 40px 0 60px;
}

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

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--primary-red);
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.contact-socials a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.contact-socials a:hover {
    color: var(--primary-red);
}

.contact-social-icon {
    width: 28px;
    height: 28px;
}

.contact-story-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.contact-story-section h3 {
    margin-bottom: 10px;
}

.contact-story-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.contact-story-section .btn {
    margin-top: 10px;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    z-index: 9999;
    padding: 16px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-consent-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-inner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-inner a {
    color: var(--primary-red);
    text-decoration: underline;
}

.cookie-consent-inner .btn {
    flex-shrink: 0;
}

.crop-container img {
    display: block;
    max-width: 100%;
}

.crop-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
}

/* Username availability indicator */
.username-status {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 4px;
    min-height: 1.2em;
}

.username-status.available {
    color: green;
}

.username-status.taken {
    color: var(--primary-red);
}

/* ---- Comment Section ---- */
.comments-section {
    margin-top: 40px;
}

.comments-heading {
    margin-bottom: 20px;
}

/* Comment form */
.comment-form {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.comment-form-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-form-user .comment-avatar {
    width: 36px;
    height: 36px;
}

.comment-form-user .comment-username {
    font-weight: 700;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 10px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.comment-login-prompt {
    padding: 16px;
    background: #f4f4f4;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
}

.comment-login-prompt a {
    color: var(--primary-red);
    font-weight: 700;
}

.comment-error {
    color: #c00;
    font-size: 0.9rem;
    margin-top: 6px;
}

/* Individual comment */
.comment {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.comment .comment {
    border-bottom: none;
    padding-left: 24px;
    border-left: 2px solid #e0e0e0;
    margin-left: 12px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-username {
    font-weight: 700;
    font-size: 0.95rem;
}

.comment-time {
    color: #888;
    font-size: 0.85rem;
}

.comment-body {
    margin: 4px 0 8px;
    line-height: 1.5;
    word-break: break-word;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
}

.comment-reply-btn:hover {
    text-decoration: underline;
}

.comment-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.comment-delete-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
}

.comment-delete-btn:hover {
    color: #c00;
    text-decoration: underline;
}

/* Admin warn button */
.comment-warn-btn {
    background: none;
    border: none;
    color: #d68000;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
}

.comment-warn-btn:hover {
    color: #b36800;
    text-decoration: underline;
}

/* Admin badge on comments */
.comment-admin-badge {
    background: var(--primary-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Warned badge on comments */
.comment-warned-badge {
    background: #fff3cd;
    color: #856404;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Warning banner for users */
.warning-banner {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 18px;
}

.warning-banner-content strong {
    display: block;
    margin-bottom: 4px;
    color: #856404;
}

.warning-banner-content p {
    margin: 4px 0 10px;
    color: #555;
}

.warning-dismiss-btn {
    background: #856404;
    color: #fff;
    border: none;
    padding: 5px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.warning-dismiss-btn:hover {
    background: #6d5203;
}

.comment-replies {
    margin-top: 8px;
}

/* Reply form (inline) */
.reply-form {
    margin-top: 10px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
}

.reply-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 8px;
}

.reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.reply-form-actions {
    display: flex;
    gap: 8px;
}

.no-comments {
    color: #888;
    font-style: italic;
    padding: 16px 0;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-light {
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-light:hover {
    background: #d0d0d0;
}

