/* =========================================================
   ArchTech + Soro Animated Slider
   Drop-in stylesheet for index.html.

   This file intentionally hides the raw Soro feed and builds a
   custom animated slider from the feed data using soro-carousel.js.
   Load this file AFTER css/style.css.
   ========================================================= */

.archtech-blog-carousel-area {
    padding: 85px 0 90px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88)),
        linear-gradient(135deg, #141810 0%, #282410 45%, #c9a100 100%);
    overflow: hidden;
}

.archtech-blog-carousel,
.archtech-blog-carousel *,
.archtech-blog-carousel *:before,
.archtech-blog-carousel *:after {
    box-sizing: border-box;
}

.archtech-blog-carousel {
    --archtech-black: #060606;
    --archtech-charcoal: #121212;
    --archtech-panel: #171717;
    --archtech-yellow: #ffc400;
    --archtech-yellow-dark: #d6a300;
    --archtech-white: #ffffff;
    --archtech-soft-white: rgba(255, 255, 255, 0.82);
    --archtech-muted: rgba(255, 255, 255, 0.62);
    --archtech-border: rgba(255, 255, 255, 0.17);
    width: 100%;
    color: var(--archtech-white);
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.archtech-blog-carousel__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--archtech-border);
}

.archtech-blog-carousel__title_block {
    width: auto !important;
    max-width: 760px;
    text-align: left !important;
    padding: 0 0 0 18px !important;
    margin: 0 !important;
    position: relative;
}

.archtech-blog-carousel__title_block:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 42px;
    background: var(--archtech-yellow);
}

.archtech-blog-carousel__title_block h2,
.archtech-blog-carousel .tittle h2 {
    color: var(--archtech-white) !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.archtech-blog-carousel__title_block h2:before,
.archtech-blog-carousel__title_block h2:after,
.archtech-blog-carousel .tittle h2:before,
.archtech-blog-carousel .tittle h2:after {
    display: none !important;
}

.archtech-blog-carousel__title_block p {
    color: var(--archtech-soft-white) !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    text-transform: uppercase;
}

.archtech-blog-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 104px;
}

.archtech-blog-carousel__controls:before,
.archtech-blog-carousel__controls:after {
    content: none !important;
    display: none !important;
}

.archtech-blog-carousel .archtech-blog-carousel__button,
.archtech-blog-carousel button.archtech-blog-carousel__button {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid var(--archtech-yellow) !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--archtech-yellow) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        opacity 180ms ease,
        transform 180ms ease;
}

.archtech-blog-carousel .archtech-blog-carousel__button span {
    display: block;
    height: 42px;
    line-height: 38px;
    pointer-events: none;
}

.archtech-blog-carousel .archtech-blog-carousel__button:hover,
.archtech-blog-carousel button.archtech-blog-carousel__button:hover {
    background: var(--archtech-yellow) !important;
    color: var(--archtech-black) !important;
    transform: translateY(-2px);
}

.archtech-blog-carousel .archtech-blog-carousel__button[disabled],
.archtech-blog-carousel button.archtech-blog-carousel__button[disabled] {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.archtech-blog-carousel__viewport {
    position: relative;
    width: 100%;
    min-height: 420px;
}

/*
   Raw Soro output is intentionally hidden. The JS reads its images,
   links and text, then renders clean custom slides.
*/
.archtech-blog-carousel__source,
.archtech-blog-carousel #soro-blog {
    position: absolute !important;
    left: -99999px !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.archtech-blog-carousel__loading {
    position: absolute;
    inset: 0;
    min-height: 340px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
}

.archtech-blog-carousel__loading.is-hidden {
    display: none !important;
}

/* Animated slider */
.archtech-soro-slider {
    position: relative;
    width: 100%;
}

.archtech-soro-slider[hidden] {
    display: none !important;
}

.archtech-soro-slider__progress {
    width: 100%;
    height: 3px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.archtech-soro-slider__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--archtech-yellow);
    transform-origin: left center;
}

.archtech-soro-slider.is-playing .archtech-soro-slider__progress span {
    animation: archtechSliderProgress 6s linear infinite;
}

.archtech-soro-slider__window {
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 196, 0, 0.28);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 196, 0, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
}

.archtech-soro-slider__track {
    display: flex;
    flex-wrap: nowrap !important;
    width: 100%;
    will-change: transform;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.archtech-soro-slider__slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0;
    margin: 0 !important;
    opacity: 0.38;
    transform: scale(0.985);
    transition:
        opacity 520ms ease,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.archtech-soro-slider__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.archtech-soro-card {
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(310px, 42%);
    background: var(--archtech-panel);
    color: var(--archtech-white);
    overflow: hidden;
}

.archtech-soro-card__media {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background: #000000;
}

.archtech-soro-card__media:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 58%, rgba(0, 0, 0, 0.20)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 45%);
    pointer-events: none;
}

.archtech-soro-card__media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 390px;
    display: block;
    object-fit: cover;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: scale(1.02);
    transition: transform 7s ease;
}

.archtech-soro-slider__slide.is-active .archtech-soro-card__media img {
    transform: scale(1.10);
}

.archtech-soro-card__content {
    position: relative;
    min-height: 390px;
    padding: 46px 42px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 196, 0, 0.08), transparent 45%),
        var(--archtech-panel);
}

.archtech-soro-card__content:before {
    content: "";
    position: absolute;
    left: 0;
    top: 42px;
    bottom: 42px;
    width: 5px;
    background: var(--archtech-yellow);
}

.archtech-soro-card__label {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 196, 0, 0.56);
    color: var(--archtech-yellow);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.archtech-soro-card__title {
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: var(--archtech-white) !important;
    font-size: clamp(25px, 3vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.archtech-soro-card__title:before,
.archtech-soro-card__title:after {
    display: none !important;
}

.archtech-soro-card__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.archtech-soro-card__excerpt {
    max-width: 460px;
    margin: 0 0 26px !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

.archtech-soro-card__date {
    display: block;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.60);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.archtech-soro-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    padding: 0 20px;
    border: 2px solid var(--archtech-yellow);
    background: var(--archtech-yellow);
    color: var(--archtech-black) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.10em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.archtech-soro-card__link:hover {
    background: transparent;
    color: var(--archtech-yellow) !important;
    transform: translateY(-2px);
}

.archtech-soro-slider__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.archtech-soro-slider__dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.archtech-soro-slider__dot {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 196, 0, 0.75) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    transition:
        width 180ms ease,
        background-color 180ms ease;
}

.archtech-soro-slider__dot.is-active {
    width: 34px !important;
    background: var(--archtech-yellow) !important;
}

.archtech-soro-slider__counter {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

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

@media (max-width: 991px) {
    .archtech-soro-card {
        grid-template-columns: 1fr;
    }

    .archtech-soro-card,
    .archtech-soro-card__media,
    .archtech-soro-card__media img,
    .archtech-soro-card__content {
        min-height: 0;
    }

    .archtech-soro-card__media img {
        height: 330px !important;
    }

    .archtech-soro-card__content {
        padding: 34px 30px 36px;
    }

    .archtech-soro-card__content:before {
        top: 30px;
        bottom: 30px;
    }
}

@media (max-width: 767px) {
    .archtech-blog-carousel-area {
        padding: 58px 0 64px;
    }

    .archtech-blog-carousel__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 24px;
    }

    .archtech-blog-carousel__controls {
        align-self: stretch;
        justify-content: flex-end;
    }

    .archtech-blog-carousel__title_block h2,
    .archtech-blog-carousel .tittle h2 {
        font-size: 24px !important;
    }

    .archtech-blog-carousel__viewport {
        min-height: 430px;
    }

    .archtech-soro-card__media img {
        height: 245px !important;
    }

    .archtech-soro-card__content {
        padding: 30px 24px 32px;
    }

    .archtech-soro-card__title {
        font-size: 23px !important;
    }

    .archtech-soro-slider__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .archtech-soro-slider__track,
    .archtech-soro-slider__slide,
    .archtech-soro-card__media img,
    .archtech-blog-carousel .archtech-blog-carousel__button,
    .archtech-soro-card__link,
    .archtech-soro-slider__dot {
        transition: none !important;
        animation: none !important;
    }
}


/* Link-fix support: the media/title/CTA can be <button> when Soro does not expose a clean href. */
.archtech-soro-card button.archtech-soro-card__media,
.archtech-soro-card button.archtech-soro-card__link,
.archtech-soro-card__title button {
    appearance: none !important;
    -webkit-appearance: none !important;
    font-family: inherit !important;
    cursor: pointer;
}

.archtech-soro-card button.archtech-soro-card__media {
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
}

.archtech-soro-card__title button {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    text-align: left !important;
    text-transform: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

.archtech-soro-card button.archtech-soro-card__link {
    box-shadow: none !important;
}


/* =========================================================
   Expand-fix reader panel
   The raw Soro embed is hidden for slider extraction, but it becomes
   visible when a user opens a post.
   ========================================================= */

.archtech-soro-reader[hidden] {
    display: none !important;
}

.archtech-soro-reader {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid rgba(255, 196, 0, 0.32);
    background: #101010;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.archtech-soro-reader__topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.archtech-soro-reader__back,
.archtech-soro-reader button.archtech-soro-reader__back {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border: 2px solid var(--archtech-yellow) !important;
    border-radius: 0 !important;
    background: var(--archtech-yellow) !important;
    color: #060606 !important;
    box-shadow: none !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.09em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.archtech-soro-reader__back:hover {
    background: transparent !important;
    color: var(--archtech-yellow) !important;
}

.archtech-blog-carousel--reading .archtech-soro-slider {
    display: none !important;
}

.archtech-blog-carousel--reading .archtech-blog-carousel__controls {
    display: none !important;
}

/*
   Default hidden source state. It still exists in the DOM so the JS can read it,
   but it does not create the vertical stacked layout in the page.
*/
.archtech-blog-carousel__source:not(.is-reading),
.archtech-blog-carousel #soro-blog:not(.is-reading) {
    position: absolute !important;
    left: -99999px !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/*
   Visible Soro article state. This allows Soro to calculate height and expand
   the selected article correctly inside the page.
*/
.archtech-blog-carousel__source.is-reading,
.archtech-blog-carousel #soro-blog.is-reading {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 320px !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

/* Let Soro article content expand naturally inside the reader panel. */
.archtech-soro-reader #soro-blog,
.archtech-soro-reader #soro-blog *,
.archtech-soro-reader iframe {
    max-width: 100% !important;
}

@media (max-width: 767px) {
    .archtech-soro-reader {
        padding: 16px;
        margin-top: 24px;
    }
}

/* =========================================================
   ArchTech sticky white navigation bar
   Locks only the main white menu bar with logo/menu.
   The top contact/social bar scrolls normally.
   ========================================================= */

.archtech-sticky-nav-placeholder {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#main_navbar.archtech-sticky-nav--fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
    transform: translateZ(0);
    animation: archtechStickyNavIn 180ms ease-out;
}

#main_navbar.archtech-sticky-nav--fixed .container {
    position: relative;
}

#main_navbar.archtech-sticky-nav--fixed .navbar-collapse {
    max-height: calc(100vh - 75px);
    overflow-y: auto !important;
}

#main_navbar.archtech-sticky-nav--fixed .navbar-toggle {
    margin-top: 18px;
    margin-bottom: 18px;
}

#main_navbar.archtech-sticky-nav--fixed .navbar-brand {
    display: flex;
    align-items: center;
}

#main_navbar.archtech-sticky-nav--fixed .navbar-brand img {
    max-height: 64px;
    width: auto;
}

@keyframes archtechStickyNavIn {
    from {
        transform: translate3d(0, -8px, 0);
        opacity: 0.98;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@media (max-width: 991px) {
    #main_navbar.archtech-sticky-nav--fixed .container {
        width: 100%;
    }

    #main_navbar.archtech-sticky-nav--fixed .navbar-collapse {
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 767px) {
    #main_navbar.archtech-sticky-nav--fixed {
        min-height: 72px;
    }

    #main_navbar.archtech-sticky-nav--fixed .navbar-header {
        min-height: 72px;
    }

    #main_navbar.archtech-sticky-nav--fixed .navbar-brand {
        min-height: 72px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #main_navbar.archtech-sticky-nav--fixed .navbar-brand img {
        max-height: 56px;
    }

    #main_navbar.archtech-sticky-nav--fixed .navbar-toggle {
        margin-top: 19px;
        margin-bottom: 19px;
        margin-right: 15px;
    }

    #main_navbar.archtech-sticky-nav--fixed .navbar-collapse {
        width: 100%;
        max-height: calc(100vh - 72px);
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    #main_navbar.archtech-sticky-nav--fixed .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
    }
}
