/* ==========================
   "Let's Start" floating button (opens WhatsApp / Get Quote)
   ========================== */
.start-fab {
    position: fixed;
    right: 51px;
    bottom: 78px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.start-fab-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    /* padding instead of margin keeps the hover area continuous down to the button */
    padding-bottom: 14px;
    pointer-events: none;
}

.start-fab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px) scale(.6);
    transition: opacity .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.start-fab-item:nth-last-child(2) { transition-delay: .06s; }

.start-fab.open .start-fab-menu,
.start-fab:hover .start-fab-menu { pointer-events: auto; }

.start-fab.open .start-fab-item,
.start-fab:hover .start-fab-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.start-fab-label {
    padding: 6px 12px;
    border-radius: 6px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .25);
}

.start-fab-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: transform .25s ease;
}

.start-fab-item:hover .start-fab-circle { transform: scale(1.12); }

.start-fab-whatsapp {
    background: #25D366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
}

.start-fab-whatsapp img { width: 30px; height: 30px; object-fit: contain; }

.start-fab-quote {
    background: linear-gradient(135deg, var(--primary-blue, #0b5e7e) 0%, var(--dark-blue, #0a2e4a) 100%);
    box-shadow: 0 6px 18px rgba(10, 46, 74, .4);
}

.start-float {
    position: relative;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 22px 0 8px;
    border-radius: 50px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-orange, #03A9F4) 0%, var(--primary-blue, #0b5e7e) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .3px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(3, 169, 244, .4);
    transition: transform .3s ease, box-shadow .3s ease;
    animation: startEnter .7s cubic-bezier(.34, 1.56, .64, 1) both, startPulse 2s 1s infinite;
}

.start-float::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: startShine 3.5s 1.5s infinite;
}

.start-float:hover,
.start-fab.open .start-float {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(3, 169, 244, .55);
}

.start-float:focus-visible {
    outline: 3px solid #0f172a;
    outline-offset: 3px;
}

.start-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-size: 16px;
    animation: startFly 2.4s ease-in-out infinite;
}

.start-float:hover .start-float-icon,
.start-fab.open .start-float-icon {
    animation-duration: .8s;
}

@keyframes startEnter {
    from { opacity: 0; transform: translateX(120%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes startPulse {
    0% { box-shadow: 0 0 0 0 rgba(3, 169, 244, .6); }
    70% { box-shadow: 0 0 0 15px rgba(3, 169, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(3, 169, 244, 0); }
}

@keyframes startShine {
    0% { left: -75%; }
    30%, 100% { left: 130%; }
}

@keyframes startFly {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(2px, -3px) rotate(-12deg); }
    50% { transform: translate(0, 0) rotate(0); }
    75% { transform: translate(-1px, 2px) rotate(8deg); }
}

@media (max-width: 768px) {
    .start-fab { right: 15px; bottom: 15px; }
    .start-float { height: 50px; font-size: 14px; padding-right: 18px; }
    .start-float-icon { width: 36px; height: 36px; font-size: 14px; }
    .start-fab-circle { width: 48px; height: 48px; font-size: 18px; }
}

/* Touch screens have no hover: the menu opens only via the click toggle */
@media (hover: none) {
    .start-fab:hover:not(.open) .start-fab-menu { pointer-events: none; }
    .start-fab:hover:not(.open) .start-fab-item { opacity: 0; transform: translateY(20px) scale(.6); }
}

@media (prefers-reduced-motion: reduce) {
    .start-float, .start-float::after, .start-float-icon { animation: none; }
    .start-fab-item { transition: opacity .2s ease; transform: none !important; }
}

/* ==========================
   Cookie consent banner
   ========================== */
.cookie-consent {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 10001;
    display: flex;
    gap: 14px;
    width: min(440px, calc(100% - 30px));
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, .35);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e1f5fe;
    color: var(--primary-blue, #0b5e7e);
    font-size: 20px;
}

.cookie-consent-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 2px 0 6px;
}

.cookie-consent-text {
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 14px;
}

.cookie-consent-text a { color: var(--primary-blue, #0b5e7e); font-weight: 600; }

.cookie-consent-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    border: 0;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.cookie-btn:hover { transform: translateY(-1px); }

.cookie-btn-reject { background: #f1f5f9; color: #334155; }
.cookie-btn-reject:hover { background: #e2e8f0; }

.cookie-btn-accept { background: linear-gradient(135deg, var(--accent-orange, #03A9F4) 0%, var(--primary-blue, #0b5e7e) 100%); color: #fff; }

@media (max-width: 576px) {
    .cookie-consent { left: 15px; bottom: 15px; padding: 16px; }
    .cookie-consent-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent { transition: opacity .2s ease; transform: none; }
}

/* ==========================
   Project details page
   ========================== */
.pd-hero {
    position: relative;
    padding: 70px 0 120px;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.pd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10, 46, 74, .96) 0%, rgba(10, 46, 74, .85) 45%, rgba(11, 94, 126, .55) 100%);
}

.pd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    font-size: 13px;
}

.pd-breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
    opacity: .5;
}

.pd-breadcrumb a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.pd-breadcrumb a:hover { color: var(--accent-orange, #03A9F4); }

.pd-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(3, 169, 244, .18);
    border: 1px solid rgba(3, 169, 244, .5);
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pd-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 820px;
    margin-bottom: 16px;
    color: #fff;
}

.pd-lead {
    max-width: 680px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 28px;
}

.pd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 0;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.pd-btn:hover { transform: translateY(-2px); }

.pd-btn-primary {
    background: linear-gradient(135deg, var(--accent-orange, #03A9F4) 0%, var(--primary-blue, #0b5e7e) 100%);
    color: #fff;
    box-shadow: 0 10px 25px -8px rgba(3, 169, 244, .7);
}

.pd-btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -8px rgba(3, 169, 244, .8); }

.pd-btn-ghost {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    backdrop-filter: blur(4px);
}

.pd-btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.pd-btn-light { background: #fff; color: var(--dark-blue, #0a2e4a); }
.pd-btn-light:hover { color: var(--primary-blue, #0b5e7e); box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .4); }

.pd-btn-whatsapp { background: #25D366; color: #fff; }
.pd-btn-whatsapp:hover { background: #1fb959; color: #fff; }

.pd-facts-wrap { background: #f8fafc; }

.pd-facts {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    margin-top: -60px;
    background: #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -20px rgba(10, 46, 74, .35);
}

.pd-fact {
    flex: 1 1 calc(33.333% - 1px);
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 20px;
    background: #fff;
    transition: background .2s ease;
}

.pd-fact:hover { background: #f0f9ff; }

.pd-fact-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e1f5fe;
    color: var(--primary-blue, #0b5e7e);
    font-size: 18px;
}

.pd-fact .min-w-0 { min-width: 0; }

.pd-fact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #94a3b8;
}

.pd-fact-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-blue, #0a2e4a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-body {
    padding: 50px 0 70px;
    background: #f8fafc;
}

.pd-cover {
    margin: 0 0 28px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(10, 46, 74, .35);
    cursor: zoom-in;
}

.pd-cover img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    transition: transform .6s ease;
}

.pd-cover:hover img { transform: scale(1.03); }

.pd-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px -18px rgba(10, 46, 74, .25);
}

.pd-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark-blue, #0a2e4a);
    margin-bottom: 20px;
}

.pd-heading span {
    width: 6px;
    height: 26px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent-orange, #03A9F4), var(--primary-blue, #0b5e7e));
}

.pd-content { color: #475569; line-height: 1.8; }
.pd-content img { max-width: 100%; height: auto; border-radius: 12px; }

.pd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pd-gallery-item {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    background: #e2e8f0;
}

.pd-gallery-item:only-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.pd-gallery:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }

.pd-gallery-item:first-child:nth-last-child(n+3) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.pd-gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 46, 74, .55);
    color: #fff;
    font-size: 26px;
    opacity: 0;
    transition: opacity .3s ease;
}

.pd-gallery-item:hover img { transform: scale(1.08); }
.pd-gallery-item:hover .pd-gallery-zoom { opacity: 1; }

.pd-sidebar {
    position: sticky;
    top: 100px;
}

.pd-cta {
    position: relative;
    overflow: hidden;
    padding: 30px 26px;
    margin-bottom: 24px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, var(--dark-blue, #0a2e4a) 0%, var(--primary-blue, #0b5e7e) 100%);
    box-shadow: 0 25px 45px -20px rgba(10, 46, 74, .6);
}

.pd-cta::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 169, 244, .45) 0%, transparent 70%);
}

.pd-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    font-size: 22px;
    margin-bottom: 16px;
}

.pd-cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.pd-cta p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .78); margin-bottom: 20px; }

.pd-share { padding: 22px 24px; }

.pd-side-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-blue, #0a2e4a);
    margin-bottom: 14px;
}

.pd-share-links {
    display: flex;
    gap: 10px;
}

.pd-share-links a,
.pd-share-links button {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--primary-blue, #0b5e7e);
    text-decoration: none;
    transition: all .2s ease;
}

.pd-share-links a:hover,
.pd-share-links button:hover,
.pd-share-links button.copied {
    background: var(--accent-orange, #03A9F4);
    border-color: var(--accent-orange, #03A9F4);
    color: #fff;
    transform: translateY(-2px);
}

.pd-back {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    color: var(--primary-blue, #0b5e7e);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease;
}

.pd-back:hover { border-color: var(--accent-orange, #03A9F4); color: var(--accent-orange, #03A9F4); }

.pd-related {
    padding: 70px 0;
    background: #fff;
}

.pd-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-orange, #03A9F4);
    margin-bottom: 4px;
}

.pd-related-title { font-size: 1.8rem; font-weight: 800; color: var(--dark-blue, #0a2e4a); margin: 0; }

.pd-link { color: var(--primary-blue, #0b5e7e); font-weight: 700; text-decoration: none; }
.pd-link:hover { color: var(--accent-orange, #03A9F4); }

.pd-modal { z-index: 10050; }
body.modal-open .modal-backdrop { z-index: 10040; background: #061421; }
body.modal-open .modal-backdrop.show { opacity: .88; }

.pd-modal .modal-content {
    background: var(--dark-blue, #0a2e4a);
    color: #fff;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.pd-modal.fade .modal-dialog { transform: scale(.92); transition: transform .3s ease; }
.pd-modal.show .modal-dialog { transform: none; }

.pd-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 14px 20px;
    gap: 12px;
}

.pd-modal .modal-title { font-weight: 700; font-size: 17px; color: #fff; }
.pd-modal-counter { color: rgba(255, 255, 255, .6); letter-spacing: 1px; }

.pd-modal .carousel-item { background: #061421; text-align: center; }

.pd-modal .carousel-item img {
    width: auto;
    max-width: 100%;
    height: 72vh;
    object-fit: contain;
}

.pd-modal .carousel-control-prev,
.pd-modal .carousel-control-next { width: 70px; opacity: 1; }

.pd-modal-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 17px;
    transition: background .2s ease, transform .2s ease;
}

.pd-modal .carousel-control-prev:hover .pd-modal-arrow,
.pd-modal .carousel-control-next:hover .pd-modal-arrow {
    background: linear-gradient(135deg, var(--accent-orange, #03A9F4), var(--primary-blue, #0b5e7e));
    transform: scale(1.08);
}

.pd-modal-thumbs {
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.pd-modal-thumbs button {
    flex: 0 0 auto;
    width: 76px;
    height: 54px;
    padding: 0;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    opacity: .55;
    transition: opacity .2s ease, border-color .2s ease;
}

.pd-modal-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-modal-thumbs button:hover { opacity: .85; }
.pd-modal-thumbs button.active { opacity: 1; border-color: var(--accent-orange, #03A9F4); }

@media (max-width: 991px) {
    .pd-sidebar { position: static; }
}

@media (max-width: 576px) {
    .pd-hero { padding: 40px 0 90px; }
    .pd-card { padding: 22px 18px; }
    .pd-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pd-gallery-item:first-child:nth-last-child(n+3) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
    .pd-modal .carousel-item img { height: 55vh; }
    .pd-modal .carousel-control-prev,
    .pd-modal .carousel-control-next { width: 52px; }
    .pd-modal-arrow { width: 38px; height: 38px; font-size: 14px; }
}

/* ==========================
   Flash messages / honeypot
   ========================== */
.cms-flash {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: min(560px, calc(100% - 30px));
}

.cms-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ==========================
   Blog
   ========================== */
.bg-soft-light { background-color: #fafcff; }

.blog-section .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.blog-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 3px;
}

.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; }

.blog-filter-pill {
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.blog-filter-pill:hover,
.blog-filter-pill.active {
    background: var(--accent-orange, #03A9F4);
    border-color: var(--accent-orange, #03A9F4);
    color: #fff;
}

.blog-card {
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.08) !important;
    border-color: rgba(245, 158, 11, 0.3);
}

.blog-img-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    background-color: #f1f5f9;
}

.blog-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img-container img { transform: scale(1.06); }

.blog-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 25, 47, 0.85);
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 3;
}

.blog-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-meta i { color: var(--accent-orange, #f59e0b); }

.blog-meta a { color: inherit; text-decoration: none; }

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #0a192f;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-title { color: var(--accent-orange, #f59e0b); }

.blog-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-link {
    font-size: 12px;
    font-weight: 700;
    color: #0a192f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-link { color: var(--accent-orange, #f59e0b); gap: 10px; }

.recent-posts-sidebar {
    border-radius: 16px;
    border-color: rgba(0, 0, 0, 0.05) !important;
    position: sticky;
    top: 100px;
}

.sidebar-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a192f;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--accent-orange, #f59e0b);
    border-radius: 2px;
}

.blog-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    color: #334155;
    font-size: 14px;
    text-decoration: none;
}

.blog-category-list li a:hover,
.blog-category-list li a.active { color: var(--accent-orange, #03A9F4); font-weight: 600; }

.blog-category-list .badge { background: #f1f5f9; color: #475569; }

.recent-post-thumb {
    width: 70px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-info { flex-grow: 1; }

.recent-post-date { font-size: 11px; color: #64748b; font-weight: 500; }

.recent-post-heading {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.recent-post-item:hover .recent-post-heading { color: var(--accent-orange, #f59e0b); }

.recent-post-item:hover .recent-post-thumb img { transform: scale(1.08); }

/* Article page */
.blog-article {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.75rem;
}

.blog-article-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary-dark, #0a192f);
    margin-bottom: 12px;
}

.blog-article-meta { margin-bottom: 1.25rem; }

.blog-article .blog-img-container { border-radius: 8px; margin-bottom: 1.5rem; }

.blog-article-body { font-size: 15.5px; line-height: 1.8; color: #334155; }

.blog-article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: #0a192f; }

.blog-article-body h3 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .75rem; color: #0a192f; }

.blog-article-body img { max-width: 100%; height: auto; border-radius: 8px; }

/* Below-the-fold images stay slightly smaller until the file has loaded. */
html.js-lazy img[loading="lazy"] {
    transform: scale(0.9);
    transition: transform 0.45s ease;
}
html.js-lazy img[loading="lazy"].is-loaded {
    transform: none;
}

.blog-article-body a { color: var(--accent-orange, #03A9F4); }

.blog-content-image { margin: 35px 0; text-align: center; }

@media (max-width: 768px) {
    .blog-article { padding: 1.1rem; }
    .blog-article-title { font-size: 1.5rem; }
}
