/**
 * TS Carousel - Tour CardLoop Styles
 *
 * @package TS_Carousel
 * @version 1.0.0
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --tsc-primary: #0ea5e9;
    --tsc-primary-hover: #0284c7;
    --tsc-text-dark: #1e293b;
    --tsc-text-medium: #64748b;
    --tsc-text-light: #94a3b8;
    --tsc-bg-white: #ffffff;
    --tsc-bg-gray: #f1f5f9;
    --tsc-border: #e2e8f0;
    --tsc-radius: 12px;
    --tsc-shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --tsc-shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --tsc-shadow-strong: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --tsc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Badge Colors */
    --tsc-badge-hot: #ef4444;
    --tsc-badge-new: #22c55e;
    --tsc-badge-recommended: #3b82f6;
    --tsc-badge-bestseller: #f59e0b;
    --tsc-badge-lastminute: #ec4899;
    --tsc-badge-exclusive: #8b5cf6;
}

/* ========================================
   Container & Wrapper
   ======================================== */
.tsc-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px; /* เพิ่ม padding สำหรับ navigator buttons */
}

.tsc-carousel-wrapper {
    position: relative;
    overflow: visible; /* เปลี่ยนจาก hidden เพื่อให้ navigator แสดงเต็ม */
    padding: 10px 0 20px;
}

.tsc-carousel-inner {
    overflow: hidden; /* ย้าย overflow มาที่นี่แทน */
    border-radius: var(--tsc-radius);
}

.tsc-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform var(--tsc-transition);
    will-change: transform;
}

.tsc-carousel-track.tsc-dragging {
    transition: none;
    cursor: grabbing;
}

/* ========================================
   Card Styles
   ======================================== */
.tsc-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    background: var(--tsc-bg-white);
    border-radius: var(--tsc-radius);
    overflow: hidden;
    box-shadow: var(--tsc-shadow-medium);
    transition: transform var(--tsc-transition), box-shadow var(--tsc-transition);
    display: flex;
    flex-direction: column;
}

.tsc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tsc-shadow-strong);
}

/* Card Image */
.tsc-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tsc-bg-gray);
}

.tsc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tsc-transition);
}

.tsc-card:hover .tsc-card-image img {
    transform: scale(1.05);
}

/* No Image Placeholder */
.tsc-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    padding: 20px;
}

.tsc-no-image-logo {
    width: 60%;
    max-width: 120px;
    height: auto;
    opacity: 0.3;
    filter: grayscale(100%);
    margin-bottom: 10px;
}

.tsc-no-image-logo svg {
    width: 100%;
    height: auto;
    fill: #64748b;
}

.tsc-no-image-text {
    font-size: 12px;
    color: var(--tsc-text-light);
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* Badge */
.tsc-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.tsc-badge-hot {
    background: var(--tsc-badge-hot);
}

.tsc-badge-new {
    background: var(--tsc-badge-new);
}

.tsc-badge-recommended {
    background: var(--tsc-badge-recommended);
}

.tsc-badge-bestseller {
    background: var(--tsc-badge-bestseller);
}

.tsc-badge-lastminute {
    background: var(--tsc-badge-lastminute);
}

.tsc-badge-exclusive {
    background: var(--tsc-badge-exclusive);
}

/* Promo Tag */
.tsc-promo-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    background: rgba(239, 68, 68, 0.9);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

/* Card Content */
.tsc-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta Row (Location + Duration) */
.tsc-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--tsc-text-medium);
}

.tsc-meta-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tsc-meta-location svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.tsc-meta-duration {
    white-space: nowrap;
}

/* Card Title */
.tsc-card-title {
    margin: 0 0 auto;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--tsc-text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.tsc-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--tsc-transition);
}

.tsc-card-title a:hover {
    color: var(--tsc-primary);
}

/* Price Section */
.tsc-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--tsc-border);
}

.tsc-price-prefix {
    font-size: 12px;
    color: var(--tsc-text-light);
}

.tsc-price-current {
    font-size: 22px;
    font-weight: 700;
    color: var(--tsc-primary);
    line-height: 1;
}

.tsc-price-original {
    font-size: 14px;
    color: var(--tsc-text-light);
    text-decoration: line-through;
}

/* CTA Button */
.tsc-card-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--tsc-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--tsc-transition), transform var(--tsc-transition);
}

.tsc-card-btn:hover {
    background: var(--tsc-primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* ========================================
   Navigation Arrows
   ======================================== */
.tsc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--tsc-bg-white);
    border: 1px solid var(--tsc-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--tsc-shadow-medium);
    transition: all var(--tsc-transition);
}

.tsc-nav:hover {
    background: var(--tsc-primary);
    border-color: var(--tsc-primary);
}

.tsc-nav:hover svg {
    stroke: #fff;
}

.tsc-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tsc-nav:disabled:hover {
    background: var(--tsc-bg-white);
    border-color: var(--tsc-border);
}

.tsc-nav:disabled:hover svg {
    stroke: var(--tsc-text-medium);
}

.tsc-nav svg {
    width: 20px;
    height: 20px;
    stroke: var(--tsc-text-medium);
    stroke-width: 2;
    fill: none;
    transition: stroke var(--tsc-transition);
}

.tsc-nav-prev {
    left: -50px; /* อยู่ใน padding ของ container */
}

.tsc-nav-next {
    right: -50px; /* อยู่ใน padding ของ container */
}

/* ========================================
   Dots / Indicators
   ======================================== */
.tsc-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.tsc-dot {
    width: 8px;
    height: 8px;
    background: var(--tsc-border);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all var(--tsc-transition);
}

.tsc-dot:hover {
    background: var(--tsc-text-light);
}

.tsc-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--tsc-primary);
}

/* ========================================
   Skeleton Loading
   ======================================== */
.tsc-skeleton {
    pointer-events: none;
}

.tsc-skeleton .tsc-card-image,
.tsc-skeleton .tsc-card-badge,
.tsc-skeleton .tsc-meta-location,
.tsc-skeleton .tsc-meta-duration,
.tsc-skeleton .tsc-card-title,
.tsc-skeleton .tsc-price-current,
.tsc-skeleton .tsc-card-btn {
    background: linear-gradient(
        90deg,
        #f1f5f9 0%,
        #e2e8f0 20%,
        #f1f5f9 40%,
        #f1f5f9 100%
    );
    background-size: 200% 100%;
    animation: tsc-skeleton-shimmer 1.5s ease-in-out infinite;
    color: transparent !important;
    border-radius: 4px;
}

.tsc-skeleton .tsc-card-image {
    border-radius: var(--tsc-radius) var(--tsc-radius) 0 0;
}

.tsc-skeleton .tsc-card-badge {
    width: 60px;
    height: 22px;
}

.tsc-skeleton .tsc-meta-location,
.tsc-skeleton .tsc-meta-duration {
    width: 80px;
    height: 18px;
}

.tsc-skeleton .tsc-card-title {
    width: 100%;
    height: 44px;
}

.tsc-skeleton .tsc-price-current {
    width: 100px;
    height: 28px;
}

.tsc-skeleton .tsc-card-btn {
    height: 42px;
}

.tsc-skeleton .tsc-card-price {
    border-top-color: transparent;
}

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

/* ========================================
   Column Variations (Desktop) - set CSS Variable
   ======================================== */
.tsc-cols-1 .tsc-carousel-track { --tsc-cols-desktop: 1; }
.tsc-cols-2 .tsc-carousel-track { --tsc-cols-desktop: 2; }
.tsc-cols-3 .tsc-carousel-track { --tsc-cols-desktop: 3; }
.tsc-cols-4 .tsc-carousel-track { --tsc-cols-desktop: 4; }
.tsc-cols-5 .tsc-carousel-track { --tsc-cols-desktop: 5; }
.tsc-cols-6 .tsc-carousel-track { --tsc-cols-desktop: 6; }

/* ========================================
   Shadow Variations
   ======================================== */
.tsc-shadow-none .tsc-card {
    box-shadow: none;
    border: 1px solid var(--tsc-border);
}

.tsc-shadow-none .tsc-card:hover {
    box-shadow: none;
}

.tsc-shadow-light .tsc-card {
    box-shadow: var(--tsc-shadow-light);
}

.tsc-shadow-light .tsc-card:hover {
    box-shadow: var(--tsc-shadow-medium);
}

.tsc-shadow-medium .tsc-card {
    box-shadow: var(--tsc-shadow-medium);
}

.tsc-shadow-medium .tsc-card:hover {
    box-shadow: var(--tsc-shadow-strong);
}

.tsc-shadow-strong .tsc-card {
    box-shadow: var(--tsc-shadow-strong);
}

.tsc-shadow-strong .tsc-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* CSS Variables สำหรับ responsive columns (จะถูก set โดย JavaScript) */
:root {
    --tsc-cols-desktop: 4;
    --tsc-cols-tablet: 2;
    --tsc-cols-mobile: 1;
    --tsc-gap: 20px;
}

/* Desktop (>1024px) - ใช้ค่าจาก data-columns หรือ settings */
.tsc-carousel-track {
    --tsc-current-cols: var(--tsc-cols-desktop);
}

.tsc-card {
    flex: 0 0 calc((100% - (var(--tsc-current-cols) - 1) * var(--tsc-gap)) / var(--tsc-current-cols));
}

@media (max-width: 1024px) {
    .tsc-container {
        padding: 0 40px;
    }

    .tsc-nav-prev {
        left: -40px;
    }

    .tsc-nav-next {
        right: -40px;
    }

    /* Tablet - ใช้ค่าจาก settings */
    .tsc-carousel-track {
        --tsc-current-cols: var(--tsc-cols-tablet);
    }
}

@media (max-width: 768px) {
    .tsc-container {
        padding: 0 35px;
    }

    .tsc-carousel-track {
        gap: 16px;
        --tsc-gap: 16px;
        /* Mobile - ใช้ค่าจาก settings */
        --tsc-current-cols: var(--tsc-cols-mobile);
    }

    .tsc-card-content {
        padding: 14px;
    }

    .tsc-card-title {
        font-size: 15px;
        min-height: 42px;
    }

    .tsc-price-current {
        font-size: 20px;
    }

    .tsc-nav {
        width: 40px;
        height: 40px;
    }

    .tsc-nav svg {
        width: 18px;
        height: 18px;
    }

    .tsc-nav-prev {
        left: -35px;
    }

    .tsc-nav-next {
        right: -35px;
    }
}

@media (max-width: 480px) {
    .tsc-container {
        padding: 0 30px;
    }

    .tsc-nav {
        width: 36px;
        height: 36px;
    }

    .tsc-nav-prev {
        left: -30px;
    }

    .tsc-nav-next {
        right: -30px;
    }
}

/* ========================================
   Autoplay Control
   ======================================== */
.tsc-autoplay-control {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--tsc-transition);
}

.tsc-autoplay-control:hover {
    background: #fff;
    box-shadow: var(--tsc-shadow-medium);
}

.tsc-autoplay-control svg {
    width: 14px;
    height: 14px;
    fill: var(--tsc-text-medium);
}

.tsc-autoplay-control.paused svg.play-icon {
    display: block;
}

.tsc-autoplay-control.paused svg.pause-icon {
    display: none;
}

.tsc-autoplay-control:not(.paused) svg.play-icon {
    display: none;
}

.tsc-autoplay-control:not(.paused) svg.pause-icon {
    display: block;
}

/* ========================================
   No Results
   ======================================== */
.tsc-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--tsc-text-medium);
}

.tsc-no-results svg {
    width: 64px;
    height: 64px;
    fill: var(--tsc-text-light);
    margin-bottom: 16px;
}

.tsc-no-results p {
    font-size: 16px;
    margin: 0;
}

/* ========================================
   Accessibility
   ======================================== */
.tsc-card:focus-within {
    outline: 2px solid var(--tsc-primary);
    outline-offset: 2px;
}

.tsc-nav:focus,
.tsc-dot:focus,
.tsc-card-btn:focus {
    outline: 2px solid var(--tsc-primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .tsc-nav,
    .tsc-dots,
    .tsc-autoplay-control {
        display: none !important;
    }

    .tsc-carousel-track {
        flex-wrap: wrap;
        transform: none !important;
    }

    .tsc-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ========================================
   Template: lastestprogram
   ======================================== */
:root {
    --tsc-tpl-red: #e3001f;
    --tsc-tpl-red-dark: #b00018;
    --tsc-tpl-red-soft: #fef2f2;
    --tsc-tpl-text-dark: #111827;
    --tsc-tpl-text-mute: #6b7280;
    --tsc-tpl-border: #f3f4f6;
}

.tsc-tpl-lastestprogram-section {
    width: 100%;
    margin: 0 auto;
}

/* Hide autoplay control overlay so it does not cover card content */
.tsc-tpl-lastestprogram .tsc-autoplay-control {
    display: none !important;
}

/* Section Header */
.tsc-tpl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 50px;
    margin-bottom: 16px;
}

.tsc-tpl-section-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--tsc-tpl-text-dark);
    line-height: 1.2;
}

.tsc-tpl-viewall {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1.5px solid var(--tsc-tpl-red);
    border-radius: 999px;
    color: var(--tsc-tpl-red);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--tsc-transition);
}

.tsc-tpl-viewall:hover {
    background: var(--tsc-tpl-red);
    color: #fff;
    transform: translateY(-1px);
}

/* Card */
.tsc-tpl-lastestprogram .tsc-card.tsc-tpl-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--tsc-transition), box-shadow var(--tsc-transition);
}

.tsc-tpl-lastestprogram .tsc-card.tsc-tpl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.tsc-tpl-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Banner Image */
.tsc-tpl-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--tsc-bg-gray);
}

.tsc-tpl-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tsc-transition);
}

.tsc-tpl-card:hover .tsc-tpl-image img {
    transform: scale(1.04);
}

.tsc-tpl-code-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.tsc-tpl-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.tsc-tpl-promo {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--tsc-tpl-red);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

/* Meta Row — White text on DARK RED background */
.tsc-tpl-meta {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    padding: 12px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;
    background: var(--tsc-tpl-red-dark);
}

.tsc-tpl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tsc-tpl-meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: #fff;
}

/* Content — Tour Code + Title + Description share RED background */
.tsc-tpl-content {
    padding: 14px 14px 16px;
    background: var(--tsc-tpl-red);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Tour Code — White pill button sitting on red content background */
.tsc-tpl-code-strip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0;
    padding: 6px 16px;
    background: #fff;
    border-radius: 6px;
    color: var(--tsc-tpl-red);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.tsc-tpl-code-strip-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.tsc-tpl-title-text {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.4em * 2);
    min-height: calc(1.4em * 2);
    word-break: break-word;
}

.tsc-tpl-link:hover .tsc-tpl-title-text {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tsc-tpl-desc {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.55em * 2);
    word-break: break-word;
}

/* Footer (Airline + Price) — White section */
.tsc-tpl-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 14px;
    background: #fff;
}

.tsc-tpl-airline {
    display: flex;
    align-items: center;
    min-height: 28px;
    max-width: 50%;
}

.tsc-tpl-airline img {
    max-height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.tsc-tpl-price {
    margin-left: auto;
}

.tsc-tpl-price-current {
    font-size: 22px;
    font-weight: 800;
    color: var(--tsc-tpl-red);
    line-height: 1;
    letter-spacing: 0.3px;
}

/* Skeleton tweaks for this template */
.tsc-tpl-lastestprogram .tsc-skeleton .tsc-card-image {
    aspect-ratio: 4 / 3;
}

/* Responsive */
@media (max-width: 1024px) {
    .tsc-tpl-header {
        padding: 0 40px;
    }

    .tsc-tpl-section-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .tsc-tpl-header {
        padding: 0 35px;
        margin-bottom: 12px;
    }

    .tsc-tpl-section-title {
        font-size: 20px;
    }

    .tsc-tpl-viewall {
        padding: 8px 18px;
        font-size: 13px;
    }

    .tsc-tpl-title-text {
        font-size: 14px;
        min-height: 40px;
    }

    .tsc-tpl-price-current {
        font-size: 16px;
    }

    .tsc-tpl-meta {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .tsc-tpl-header {
        padding: 0 30px;
        flex-wrap: wrap;
    }
}
