/* Custom styles */

/* Store page flickering text effect */
@keyframes textFlicker {
    0%, 100% { 
        opacity: 1; 
        text-shadow: 0 0 5px #60a5fa;
    }
    10% { 
        opacity: 0.8; 
        text-shadow: 0 0 10px #60a5fa, 0 0 20px #60a5fa;
    }
    20% { 
        opacity: 1; 
        text-shadow: 0 0 5px #60a5fa;
    }
    30% { 
        opacity: 0.9; 
        text-shadow: 0 0 8px #60a5fa, 0 0 15px #60a5fa;
    }
    40% { 
        opacity: 1; 
        text-shadow: 0 0 5px #60a5fa;
    }
    50% { 
        opacity: 0.7; 
        text-shadow: 0 0 12px #60a5fa, 0 0 25px #60a5fa;
    }
    60% { 
        opacity: 1; 
        text-shadow: 0 0 5px #60a5fa;
    }
    70% { 
        opacity: 0.8; 
        text-shadow: 0 0 9px #60a5fa, 0 0 18px #60a5fa;
    }
    80% { 
        opacity: 1; 
        text-shadow: 0 0 5px #60a5fa;
    }
    90% { 
        opacity: 0.9; 
        text-shadow: 0 0 6px #60a5fa, 0 0 12px #60a5fa;
    }
}

.flicker-text {
    animation: textFlicker 1.2s infinite;
    animation-timing-function: steps(1);
}
@font-face {
    font-family: 'Artick';
    src: url('/fonts/Artick Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Service container hover effect */
.service-container:hover h3 {
    color: #60a5fa !important;
    transition: color 0.3s ease;
}

@font-face {
    font-family: 'Flamingo';
    src: url('/fonts/Flamingo.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.header {
    background-color: #000000;
    box-shadow: 0 2px 4px rgba(255,255,255,0.1);
}

/* Responsive header offset
   Mobile/tablet (lg:hidden header): 120px fixed height
   Desktop (lg:block header): 100px banner + 1px separator = 101px */
.main-content {
    padding-top: calc(120px + 1.5rem);
}

@media (min-width: 1024px) {
    .main-content {
        padding-top: calc(101px + 1.5rem);
    }
}

/* Desktop header: flex row keeps logo, nav, and phone in their own lanes */
.desktop-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 10;
    padding: 0 1.5rem;
    pointer-events: none;
    gap: 0.5rem;
}

.desktop-header-logo {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    pointer-events: all;
    min-width: 0;
}

/* Let logo image shrink on narrower desktop widths */
.desktop-header-logo img {
    height: clamp(2.5rem, 4vw, 4rem);
    width: auto;
}

.desktop-header-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    pointer-events: all;
}

.desktop-header-phone {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    pointer-events: all;
    min-width: 0;
    white-space: nowrap;
}

/* Nav buttons: scale down smoothly as header gets tighter */
@media (min-width: 1024px) and (max-width: 1280px) {
    .nav-tab, .tab-button {
        font-size: 1rem;
        padding: 0.75rem 0.4rem;
    }
    .desktop-header-phone a.phone-number {
        font-size: 1.5rem !important;
    }
    .desktop-header-row {
        padding: 0 1rem;
        gap: 0.25rem;
    }
}

@media (min-width: 1280px) and (max-width: 1440px) {
    .nav-tab, .tab-button {
        font-size: 1.1rem;
        padding: 0.75rem 0.5rem;
    }
    .desktop-header-phone a.phone-number {
        font-size: 1.875rem !important;
    }
}

/* Homepage desktop three-column grid
   Left: rotating image | Center: heading + testimonial | Right: contact form
   Uses minmax so columns compress before content overlaps */
/* Home page desktop wrapper — breaks out of the container max-width
   so the grid uses the full viewport width */
.home-desktop-wrapper {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    padding: 0 2rem;
    box-sizing: border-box;
}

.home-desktop-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    position: relative;
    z-index: 20;
    padding-top: 1rem;
    width: 100%;
}

.home-col-left {
    min-width: 0;
}

.home-col-center {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-top: 32vh;
    height: 80vh;
}

.home-col-right {
    min-width: 0;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: none;
}

.logo-container {
    width: 100%;
    padding: 0;
}

.nav-tabs {
    /* border-bottom: 2px solid #333; */
}

.nav-tab, .tab-button {
    padding: 1rem 0.75rem;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    background: none;
    border: none;
}

.nav-tab:hover, .tab-button:hover {
    color: #60a5fa;
    animation: text-glow 1.5s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.9), 0 0 25px rgba(59, 130, 246, 0.8), 0 0 35px rgba(59, 130, 246, 0.6);
}

.nav-tab.active, .tab-button.active {
    color: #ffffff;
}

.nav-tab.active:hover, .tab-button.active:hover {
    animation: text-glow 1.5s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.9), 0 0 25px rgba(59, 130, 246, 0.8), 0 0 35px rgba(59, 130, 246, 0.6);
}

/* Ripple effect */
.nav-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.6);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.nav-tab:active::before {
    width: 300px;
    height: 300px;
}

/* Particle effect on hover */
.nav-tab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(59, 130, 246, 0.1) 0%, 
                transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-tab:hover::after {
    opacity: 1;
}

/* Particle animation keyframes */
@keyframes transporter-beam {
    0% {
        transform: translateY(0) scaleY(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scaleY(1);
        opacity: 0;
    }
}

/* Transporter beam elements */
.nav-tab .transporter-line,
.tab-button .transporter-line,
.phone-number .transporter-line,
.contact-technician-btn .transporter-line,
.hamburger-button .transporter-line,
.service-container .transporter-line {
    position: absolute;
    width: 1px;
    height: 25px;
    background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0.3));
    pointer-events: none;
    animation: transporter-beam 1.2s ease-out infinite;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Swirling particles */
.nav-tab .swirl-particle,
.tab-button .swirl-particle,
.phone-number .swirl-particle,
.contact-technician-btn .swirl-particle,
.hamburger-button .swirl-particle,
.service-container .swirl-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    animation: swirl-particle 1.5s ease-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

@keyframes swirl-particle {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
        scale: 0;
    }
    20% {
        opacity: 1;
        scale: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--swirl-x, 30px), var(--swirl-y, -30px)) rotate(360deg);
        opacity: 0;
        scale: 0.5;
    }
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 0 0 25px rgba(59, 130, 246, 1), 0 0 40px rgba(59, 130, 246, 1), 0 0 55px rgba(59, 130, 246, 0.9), 0 0 70px rgba(59, 130, 246, 0.8), 0 0 85px rgba(59, 130, 246, 0.6);
    }
    50% {
        text-shadow: 0 0 35px rgba(59, 130, 246, 1), 0 0 55px rgba(59, 130, 246, 1), 0 0 75px rgba(59, 130, 246, 1), 0 0 95px rgba(59, 130, 246, 0.9), 0 0 115px rgba(59, 130, 246, 0.7), 0 0 135px rgba(59, 130, 246, 0.5);
    }
}

.phone-number {
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.phone-number:hover {
    color: #60a5fa;
    animation: text-glow 1.5s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.9), 0 0 25px rgba(59, 130, 246, 0.8), 0 0 35px rgba(59, 130, 246, 0.6);
}



.jura-font {
    font-family: 'Jura', sans-serif !important;
}

.blinking-cursor {
    animation: blink 1s infinite;
    color: #60a5fa;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSlow {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-text {
    animation: fadeIn 1.5s ease-out forwards;
}

/* Improved image fade-in animation */
@keyframes imageFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.fade-in-image {
    opacity: 1 !important;
    animation: imageFadeIn 1.2s ease-out forwards;
    animation-delay: 0s;
    will-change: opacity, transform;
}

/* Loading state for images */
.image-loading {
    opacity: 0;
    background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    min-height: 200px;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Smooth image transition */
.smooth-image {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    will-change: opacity, transform;
}

.smooth-image:hover {
    transform: scale(1.02);
}

/* Scanline effect */
.scanlines {
    position: relative;
    overflow: hidden;
}

.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 255, 0.1) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 2s linear infinite;
    pointer-events: none;
    z-index: 10;
}

/* White scanlines for Security page */
.security-scanlines::before {
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 255, 0.1) 50%
    ) !important;
}

/* Alternative security scanlines class */
.security-scanlines-effect {
    position: relative;
    overflow: hidden;
}

.security-scanlines-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 255, 0.1) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 2s linear infinite;
    pointer-events: none;
    z-index: 10;
}

/* About page scanlines — sits above logo cards but stays readable */
.about-scanlines {
    position: relative;
    overflow: hidden;
}

.about-scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 255, 0.04) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 2s linear infinite;
    pointer-events: none;
    z-index: 100;
}


.scanlines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(59, 130, 246, 0.2) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 2s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

/* Glitch effect for containers */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.glitch-container {
    animation: glitch 0.3s ease-in-out infinite;
    animation-delay: 0s;
    animation-iteration-count: 1;
}

.glitch-container:hover {
    animation-delay: 2s;
    animation-iteration-count: 3;
}

/* Random glitch trigger */
.glitch-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    z-index: 15;
    animation: randomGlitch 8s ease-in-out infinite;
}

@keyframes randomGlitch {
    0%, 85% {
        opacity: 0;
    }
    86%, 88% {
        opacity: 1;
    }
    89%, 91% {
        opacity: 0;
    }
    92%, 94% {
        opacity: 1;
    }
    95%, 100% {
        opacity: 0;
    }
}

/* Fix dropdown menu gap issue — top-full + padding bridge prevents mouse-leave flicker */
.nav-tabs .relative {
    position: relative;
}

.nav-tabs .relative .absolute {
    top: 100%;
    margin-top: 0;
    padding-top: 4px;
}

/* Pure CSS nav dropdowns — no JS hover state, no timing gaps, not clipped */
.nav-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-panel {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 14rem;
    background: #000000;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* Show on hover of the wrapper — covers both button and panel so no gap */
.nav-dropdown-wrapper:hover .nav-dropdown-panel {
    display: block;
}

/* Typewriter effect for text */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #00aaff;
    white-space: nowrap;
    animation: typing 1s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #60a5fa; }
}

@keyframes pulse-white {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

@keyframes fade-in-out {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes pulse-blue {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.8), 0 0 25px rgba(59, 130, 246, 0.6);
    }
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
        box-shadow: 0 0 12px rgba(74, 222, 128, 0.8), 0 0 20px rgba(74, 222, 128, 0.6);
    }
}

/* Contact technician button styling */
.contact-technician-btn {
    position: relative;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 15px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.contact-technician-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 25px rgba(59, 130, 246, 0.8),
        0 0 50px rgba(59, 130, 246, 0.6),
        0 0 75px rgba(59, 130, 246, 0.4),
        0 0 100px rgba(59, 130, 246, 0.2);
}

.contact-technician-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(59, 130, 246, 0.3);
}

/* Hamburger button glow effect */
.hamburger-button:hover {
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
    transition: filter 0.3s ease;
}

.hamburger-button .transporter-line,
.hamburger-button .swirl-particle {
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.8);
}

/* Green scanlines for Terms page */
.terms-scanlines {
    position: relative;
    overflow: hidden;
}

.terms-scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 128, 128, 0.4) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 2s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Blue scanlines for About Us page */
.about-scanlines {
    position: relative;
    overflow: hidden;
}

.about-scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(59, 130, 246, 0.4) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 2s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Strobe effect for tech support text */
.strobe-effect {
    animation: strobe 0.5s ease-in-out infinite;
}

@keyframes strobe {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(96, 165, 250, 0.8), 0 0 20px rgba(96, 165, 250, 0.6);
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 20px rgba(96, 165, 250, 1), 0 0 40px rgba(96, 165, 250, 0.8), 0 0 60px rgba(96, 165, 250, 0.6);
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .flicker-text, .strobe-effect, .glitch-container,
    .transporter-line, .swirl-particle, .nav-tab:hover, .tab-button:hover { 
        animation: none !important; 
    }
}

/* Privacy page: flip columns at md+ without moving HTML */
#privacy .two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    width: 100%;
    max-width: none;
}

@media (min-width: 768px) {
    #privacy .two-col {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

#privacy .image-col {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#privacy .text-col {
    width: 100%;
    padding-right: 1rem;
}

#privacy .image-col img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px){
    #privacy .image-col { order: 2; }
    #privacy .text-col  { order: 1; }
}

/* Web Design page: flip columns at md+ without moving HTML */
#webdesign .two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    width: 100%;
    max-width: none;
}

@media (min-width: 768px) {
    #webdesign .two-col {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

#webdesign .image-col {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#webdesign .text-col {
    width: 100%;
    padding-right: 1rem;
}

#webdesign .image-col img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px){
    #webdesign .image-col { order: 2; }
    #webdesign .text-col  { order: 1; }
}

.blog-content-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

/* Blog System Styles */
.blog-post-container {
    transition: all 0.3s ease;
}

.blog-post-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.blog-post-image {
    transition: transform 0.3s ease;
}

.blog-post-image:hover {
    transform: scale(1.02);
}

.blog-category-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.blog-read-time {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-post-content h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-family: 'Flamingo, sans-serif';
}

.blog-post-content h3 {
    color: #60a5fa;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-family: 'Jura, sans-serif';
}

.blog-post-content p {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-family: 'Jura, sans-serif';
}

.blog-post-content ul {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    font-family: 'Jura, sans-serif';
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content strong {
    color: #60a5fa;
    font-weight: 600;
}

.blog-back-button {
    transition: all 0.3s ease;
}

.blog-back-button:hover {
    transform: translateX(-4px);
    color: #60a5fa;
}

/* Blog post content container styling */
.blog-post-content-container {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
}

/* Blog post image styling - consistent frame, full image visible */
.blog-post-image {
  max-width: 600px;     /* limit width */
  width: 100%;          /* shrink on small screens */
  height: auto;         /* let height adjust naturally */
  display: block;
  margin: 0 auto;       /* center the image in the container */
  object-fit: contain;  /* makes sure the full image shows */
}

/* Lock blog post fonts so .prose doesn't override them */
.blog-post-content.prose,
.blog-post-content.prose :where(p, li, span, a, blockquote, code, figcaption) {
  font-family: 'Jura', sans-serif !important;
}

.blog-post-content.prose :where(h1, h2, h3, h4, h5, h6) {
  font-family: 'Flamingo', sans-serif !important;
}

/* Optional: keep body color consistent */
.blog-post-content.prose { color: #ffffff; }

/* Force neon blue edit button */
.neon-blue-button {
    background-color: #3b82f6 !important;
    border-color: #60a5fa !important;
    color: white !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5) !important;
}

.neon-blue-button:hover {
    background-color: #2563eb !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.7) !important;
}

/* Small thumbnails for News & Blog list */
.blog-post-thumbnail {
    width: 80px !important;
    height: 64px !important;
    object-fit: cover;
}

/* Large images for full article view */
.blog-post-full-image {
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
    object-fit: cover;
}
/* ── Blog post content styles ─────────────────────────────────────────────── */
.prose-blog h2 { font-size: 1.6rem; font-weight: 600; color: #ffffff; margin: 2rem 0 0.75rem; }
.prose-blog h3 { font-size: 1.25rem; font-weight: 600; color: #e5e7eb; margin: 1.5rem 0 0.5rem; }
.prose-blog p  { margin-bottom: 1rem; }
.prose-blog ul,
.prose-blog ol { margin: 0.75rem 0 1rem 1.5rem; }
.prose-blog ul { list-style: disc; }
.prose-blog ol { list-style: decimal; }
.prose-blog li { margin-bottom: 0.4rem; }
.prose-blog a  { color: #60a5fa; text-decoration: underline; }
.prose-blog a:hover { color: #93c5fd; }
.prose-blog strong { color: #ffffff; }
.prose-blog em { color: #d1d5db; }
.prose-blog hr { border-color: #374151; margin: 2rem 0; }
.prose-blog blockquote { border-left: 3px solid #374151; padding-left: 1rem; color: #9ca3af; margin: 1rem 0; }
.prose-blog iframe { max-width: 100%; border-radius: 0.5rem; margin: 1rem 0; }
.prose-blog section { margin-bottom: 1.5rem; }
.prose-blog footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #374151; }