.wisevisit-panel {
    overflow: hidden;
}

.wisevisit-panel.active {
    height: 520px;
    min-height: 0;
}
.wisevisit-carousel {
    height: 450px;
    min-height: 0;
    overflow: hidden;
}

.wisevisit-slides,
.wisevisit-slide {
    height: 410px;
    min-height: 0;
    overflow: hidden;
}

.wisevisit-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-visual img,
.case-visual img,
.gallery-item img {
    /* width: 100%;
    height: auto !important;
    max-width: 100%; */
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.wisevisit-overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.wisevisit-overview-image img {
    height: 320px;
}

.wisevisit-gallery-heading {
    display: block;
}

.wisevisit-gallery-heading .section-intro {
    margin-top: 18px;
}

.wisevisit-panel,
.wisevisit-panels {
    min-height: 360px;
}

.wisevisit-panel {
    padding: 18px;
}

@media (max-width:767px) {
    .wisevisit-overview {
        padding-top: 135px;
    }

    .wisevisit-facts {
        gap: 12px;
    }

    .wisevisit-facts strong {
        font-size: 11px;
    }

    .wisevisit-overview-image img {
        height: 240px;
    }

    .wisevisit-tabs {
        margin-top: 30px;
    }

    .wisevisit-tab {
        flex: 1;
        padding: 11px 8px;
    }

    .wisevisit-panel,
    .wisevisit-panels {
        min-height: 250px;
    }
}

@media (max-width:767px) {
    .wisevisit-panel.active {
        height: 300px;
    }

    .wisevisit-carousel {
        height: 250px;
    }

    .wisevisit-slides,
    .wisevisit-slide {
        height: 220px;
    }
}

.wisevisit-panel.active {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.wisevisit-carousel {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.wisevisit-slides,
.wisevisit-slide {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.wisevisit-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}

.wisevisit-panel.active {
    height: 520px;
    min-height: 0;
    overflow: hidden;
}

.wisevisit-carousel {
    width: 100%;
    height: 450px;
    min-height: 0;
    overflow: hidden;
}

.wisevisit-slides,
.wisevisit-slide {
    width: 100%;
    height: 410px;
    min-height: 0;
    overflow: hidden;
}

.wisevisit-slide img {
    width: 100%;
    height: 410px;
    max-width: 100%;
    max-height: 410px;
    object-fit: contain;
    object-position: center;
}

.case-visual img,
.gallery-item img,
.project-visual img,
.wisevisit-slide img {
    border-radius: 0 !important;
}

@media (max-width:767px) {
    .wisevisit-panel.active {
        height: 300px;
    }

    .wisevisit-carousel {
        height: 250px;
    }

    .wisevisit-slides,
    .wisevisit-slide {
        height: 220px;
    }

    .wisevisit-slide img {
        height: 220px;
        max-height: 220px;
    }
}

.delivery-grid,
.about-summary,
.dashboard-column:nth-child(2) {
    display: none;
}

.about-profile {
    display: none;
}

.about-layout {
    display: block;
}

.home-about-photo img {
    filter: none;
}

.display-title,
.section-title,
.project-info h3,
.detail-copy h2,
.dashboard-block h3 {
    letter-spacing: .01em;
    overflow: visible;
    padding-bottom: .12em;
}

.display-title em,
.section-title em {
    letter-spacing: .01em;
}

@media (max-width:991px) {
    .about-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 30px;
    }
}

@media (min-width:768px) {
    .about-dashboard-section {
        padding-top: 110px;
        padding-bottom: 120px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .about-dashboard-section .dashboard-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
        align-items: end;
        margin-bottom: 58px;
    }

    .about-dashboard-section .dashboard-heading .section-title {
        max-width: 100%;
        margin: 0;
        padding-bottom: .08em;
        font-size: clamp(3rem, 5.2vw, 5rem);
        line-height: 1.08;
        letter-spacing: -.075em;
        overflow-wrap: anywhere;
    }

    .about-dashboard-section .dashboard-heading .section-title em {
        font-family: var(--serif);
        font-weight: 400;
    }
}

@media (max-width:767px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .about-profile {
        max-width: 220px;
        margin: 0 auto;
    }

    .dashboard-column:first-child {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

.about-dashboard-section {
    background: #11182f;
}

.about-dashboard-section .dashboard-heading .section-kicker {
    color: #ff8b78;
}

.about-dashboard-section .dashboard-heading .section-title {
    color: #fff;
}

.about-dashboard-section .dashboard-heading .section-title em {
    color: #d7ff54;
}

.about-dashboard-section .dashboard-note {
    color: #aab4ca;
}

.about-dashboard-section .dashboard-note strong {
    color: #fff;
}

.about-dashboard {
    padding: 54px;
    border: 0;
    border-radius: 4px;
    background: #f7f3eb;
    color: #11182f;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
}

.dashboard-columns {
    display: block;
    margin-top: 0;
}

.dashboard-column:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px;
}

.dashboard-column:first-child>.dashboard-block {
    min-width: 0;
}

.dashboard-block+.dashboard-block {
    margin-top: 0;
}

.dashboard-block h3 {
    color: #11182f;
    border-bottom: 1px solid #d8d5ce;
    padding-bottom: 16px;
}

.timeline {
    width: 100%;
    padding-left: 32px;
}

.timeline::before {
    left: 6px;
    background: #bbc3d0;
}

.timeline-item::before {
    left: -32px;
    border-color: #11182f;
    background: #f7f3eb;
}

.timeline-item strong,
.timeline-item span {
    color: #11182f;
}

.timeline-item small {
    color: #6f7788;
}

.timeline-item {
    min-height: 76px;
    padding-bottom: 28px;
    line-height: 1.55;
}

.timeline-item strong {
    margin-bottom: 6px;
}

.timeline-item span,
.timeline-item small {
    line-height: 1.55;
}

@media (max-width:991px) {
    .site-nav {
        padding: 15px 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, .97);
        margin-top: 14px;
        padding: 15px;
        border: 1px solid var(--line);
        border-radius: 14px;
    }

    .nav-link {
        margin: 0;
        padding: 10px 0 !important;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-art {
        min-height: 440px;
        margin-top: 30px;
    }

    .ui-window {
        right: 16%;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 75px 0;
    }

    .process {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-box {
        padding: 38px 28px;
    }
}

@media (max-width:767px) {
    .flyers-page .page-hero {
        padding: 100px 0 30px;
    }

    .flyers-page .page-hero .display-title {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    body {
        font-size: 14px;
    }

    .section {
        padding: 80px 0;
    }

    .home-about-top {
        min-height: auto;
        padding-top: 135px;
    }

    .hero {
        min-height: auto;
        padding: 135px 0 65px;
    }

    .display-title {
        font-size: clamp(2.7rem, 13vw, 4.4rem);
    }

    .hero-art {
        min-height: 380px;
    }

    .art-orbit {
        width: 320px;
        height: 320px;
        right: 0;
    }

    .ui-window {
        width: 245px;
        height: 315px;
        right: 7%;
        top: 42px;
        border-width: 6px;
    }

    .ui-body {
        padding: 18px 14px;
    }

    .ui-panel {
        height: 95px;
    }

    .float-note {
        font-size: 10px;
        padding: 11px;
    }

    .note-one {
        left: 0;
        top: 40px;
    }

    .note-two {
        bottom: 30px;
    }

    .hero-actions {
        gap: 20px;
        flex-wrap: wrap;
    }

    .skill-grid {
        grid-template-columns: 1fr;
    }

    .home-about-stamp {
        right: 0;
        bottom: 22px;
    }

    .profile-arrow {
        left: auto;
        right: 4px;
        top: 12px;
        transform: rotate(-4deg);
    }

    .profile-arrow::after {
        display: none;
    }

    .profile-arrow i {
        transform: rotate(180deg);
    }

    .approach-section .stat-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .approach-section .stat-row>[class*="col-"] {
        padding: 16px 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
    }

    .gallery-item img {
        height: 190px;
    }

    .gallery-item:first-child {
        grid-column: span 2;
    }

    .process {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }

    .contact-detail {
        align-items: flex-start;
    }

    .contact-detail strong,
    .contact-detail a {
        max-width: 65%;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }

    .page-hero {
        padding: 145px 0 75px;
    }
}

@media (max-width:480px) {
    .section-title {
        font-size: 2.4rem;
    }

    .contact-box {
        padding: 30px 20px;
    }

    .gallery-item img {
        height: 160px;
    }

    .project-visual {
        min-height: 245px;
        padding: 16px;
    }

    .project-visual img {
        height: 210px;
    }

    .about-ring {
        inset: -12px -8px 18px;
    }

    .flyers-page .gallery-item {
        min-height: 300px;
        padding: 12px;
    }

    .flyers-page .gallery-item img {
        height: 280px !important;
        min-height: 270px;
        max-height: 280px;
    }
}

@media (max-width:991px) {
    .dashboard-columns {
        gap: 42px;
    }

    .about-dashboard {
        padding: 34px 28px;
    }

    .delivery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .delivery-card-primary {
        grid-row: auto;
    }

    .delivery-card-blue {
        grid-column: auto;
    }

    .flyers-page .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:767px) {
    .dashboard-heading {
        display: block;
    }

    .dashboard-note {
        margin-top: 20px;
        text-align: left;
    }

    .about-dashboard {
        padding: 28px 20px;
    }

    .about-summary {
        padding-left: 16px;
        font-size: 15px;
    }

    .dashboard-columns {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 40px;
    }

    .dashboard-block+.dashboard-block {
        margin-top: 42px;
    }

    .dashboard-block h3 {
        font-size: 24px;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .delivery-card-primary {
        min-height: 300px;
    }

    .delivery-card-blue {
        grid-column: auto;
    }

    .delivery-number {
        margin-top: 34px;
    }

    .delivery-number strong {
        font-size: 72px;
    }

    .delivery-card p,
    .delivery-card-peach p,
    .delivery-card-blue p {
        margin-top: 42px;
    }
}

.wisevisit-page .wisevisit-panel.active {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.wisevisit-page .wisevisit-carousel {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.wisevisit-page .wisevisit-slides {
    height: auto;
    min-height: 0;
}

.wisevisit-page .wisevisit-slide {
    height: auto;
    min-height: 0;
    align-items: start;
}

.wisevisit-page .wisevisit-slide img {
    display: block;
    
    max-height: none !important;
    object-fit: contain;
    image-rendering: auto;
}

.wisevisit-page .wisevisit-panel[data-panel="web"] .wisevisit-carousel {
    aspect-ratio: 16 / 8;
    position: relative;
}

.wisevisit-page .wisevisit-panel[data-panel="web"] .wisevisit-slides,
.wisevisit-page .wisevisit-panel[data-panel="web"] .wisevisit-slide {
    width: 100%;
    height: 100%;
}

.wisevisit-page .wisevisit-panel[data-panel="web"] .wisevisit-slide {
    align-items: center;
    justify-items: center;
    padding: clamp(8px, 1vw, 16px);
}

.wisevisit-page .wisevisit-panel[data-panel="web"] .wisevisit-slide img {
    width: 78% !important;
    height: 78% !important;
    max-width: 78%;
    max-height: 78% !important;
    object-fit: contain;
}

.wisevisit-page .wisevisit-carousel-dots {
    display: none;
}

.wisevisit-page .wisevisit-panels {
    width: 88%;
    max-width: 1040px;
    margin-inline: auto;
}

.wisevisit-page .wisevisit-panel.active {
    width: 100%;
}

@media (max-width:767px) {
    .wisevisit-page .wisevisit-panels {
        width: 100%;
    }
}

.wisevisit-page .wisevisit-panel[data-panel="tablet"] .wisevisit-carousel {
    aspect-ratio: 16 / 8;
    position: relative;
}

.wisevisit-page .wisevisit-panel[data-panel="tablet"] .wisevisit-slides,
.wisevisit-page .wisevisit-panel[data-panel="tablet"] .wisevisit-slide {
    width: 100%;
    height: 100%;
}

.wisevisit-page .wisevisit-panel[data-panel="tablet"] .wisevisit-slides {
    overflow: hidden;
}

.wisevisit-page .wisevisit-panel[data-panel="tablet"] .wisevisit-slide {
    align-items: center;
    justify-items: center;
    padding: clamp(8px, 1vw, 16px);
    overflow: hidden;
}

.wisevisit-page .wisevisit-panel[data-panel="tablet"] .wisevisit-slide img {
  
   
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    filter: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.wisevisit-page .wisevisit-panel.active {
    border: 1px solid #cbd8ee;
    background: radial-gradient(circle at 12% 18%, rgba(177, 207, 255, .34), transparent 32%), radial-gradient(circle at 86% 76%, rgba(255, 190, 173, .3), transparent 34%), radial-gradient(circle at 76% 12%, rgba(219, 198, 255, .22), transparent 26%), linear-gradient(135deg, #f4f8ff 0%, #ffffff 52%, #fff8f5 100%);
    box-shadow: 0 20px 50px rgba(67, 91, 148, .12);
}

.wisevisit-page .wisevisit-panel.active {
    padding: clamp(18px, 3vw, 34px);
    border-radius: 24px;
}

.wisevisit-page .wisevisit-carousel-control {
    width: 48px;
    height: 48px;
    border-color: rgba(203, 216, 238, .95);
    font-size: 22px;
}

.wisevisit-page .wisevisit-carousel-control.previous {
    left: clamp(8px, 2vw, 22px);
}

.wisevisit-page .wisevisit-carousel-control.next {
    right: clamp(8px, 2vw, 22px);
}

@media (max-width:767px) {
    .wisevisit-page .wisevisit-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .wisevisit-page .wisevisit-carousel-status {
        right: 8px;
        bottom: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wisevisit-slide.active {
        animation: none;
    }
}