/**FIXES**/
:root {
    --heading-color: #122647 !important;
    --accent-color: #004099 !important;
}

.header .logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 10;
}

.header .logo img {
    max-height: 40px;
    display: block;
}

.section-title p {
    color: #293f71;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0 !important;
}

.dates-section {
    padding: 80px 0;
    background-color: color-mix(in srgb, #5ABB26 75%, white);
}

.dates-tree {
    position: relative;
    padding: 40px 0;
}

.dates-tree::before {
    content: "";
    position: absolute;
    width: 1px;
    background: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.dates-node {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.node-left {
    margin-right: 50%;
    text-align: right;
}

.node-right {
    margin-left: 50%;
    text-align: left;
}

.dates-node::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 24px;
}

.node-left::after {
    right: -5px;
}

.node-right::after {
    left: -5px;
}

.dates-box h3 {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: white;
}

.dates-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #f3f3f3;
}


@media (max-width: 768px) {

    .dates-tree::before {
        left: 20px;
        transform: none;
    }

    .dates-node {
        width: 100%;
        margin: 0;
        padding-left: 50px;
        padding-right: 20px;
        text-align: left;
    }

    .node-left,
    .node-right {
        margin: 0;
    }

    .dates-node::after {
        left: 16px;
        right: auto;
    }
}

#announcements,
#home_banner {
    background-color: #fafafa;
}

#welcome_to_busan {
    background-color: #f5f5f5;
}

.btn-elegant {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-elegant:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.news-panel {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 35px;
}

.news-title {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.news-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.news-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #222;
}

.about .content {
    background-color: transparent !important;
    padding: 40px;
    text-align: justify;
}

.radius-end {
    -webkit-border-top-right-radius: 30px;
    -webkit-border-bottom-right-radius: 30px;
    -moz-border-radius-topright: 30px;
    -moz-border-radius-bottomright: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.radius-start {
    -webkit-border-top-left-radius: 30px;
    -webkit-border-bottom-left-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-bottomleft: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

@media (max-width: 768px) {

    .radius-end,
    .radius-start {
        border-radius: 0 !important;
    }
}


/**ATRACTIONS**/
.section-features {
    margin-top: 2em;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.feature-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
    transition: background 0.4s ease;
}

.feature-overlay span {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card:hover .feature-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.cta-container {
    margin: 60px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px;
    border: 1px solid #ddd;
    border-radius: 50px;
    text-decoration: none;
    background: #fff;
    transition: all 0.3s ease;
}

.cta-icon {
    font-size: 1.2rem;
    color: #555;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.cta-text strong {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
}

.cta-text small {
    font-size: 0.75rem;
    color: #777;
}

.cta-button:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    background: var(--accent-color);
}

.cta-button:hover .cta-icon,
.cta-button:hover .cta-text strong,
.cta-button:hover .cta-text small {
    color: #fff;
}

/**END FIXES**/
.logo img {}

.border-primary {
    border-color: var(--heading-color) !important;
}

/* Icono dentro del campo de búsqueda de Select2 */
.select2-search__field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.415l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 16px;
    padding-left: 30px !important;
}

.logo>.png {
    width: auto !important;
    height: auto;
}

.bg-primary {
    background-color: var(--heading-color) !important;

}

.area_title>a {
    color: var(--heading-color) !important;
}

#bt_top_left_menu {
    height: 40px !important;
}

.btn-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, outline 0.2s ease;
}

.btn-primary:hover {
    outline: 1px solid var(--color1);
    color: white !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transform: scale(1.1);
}

.rotated {
    rotate: 180deg;
    transition: rotate 0.5s;
}

.justified {
    text-align: justify !important;
}


.area_list .desc {
    display: none !important
}


.trigger {
    border: none;
    background-color: white;
    margin-bottom: 10px;
    color: var(--color1);
}

.scroll-top {
    background-color: var(--color1) !important;
}

/*JUSTIFICAR TEXT EVENT AREA*/
.event_area_desc_text {
    text-align: justify;
}


.page_event_area h2 {
    font-size: 24px;
}

.page_event_area .area_keywords {
    display: none;
}

.area_list .keywords {
    display: none;
}



/*.list-group-item {
    padding: 3px !important;
}-->

*/


:root {
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-strong: rgba(255, 255, 255, 0.7);
    --glass-shadow: rgba(15, 23, 42, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --radius: 24px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

.section-glass {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f1f5f9 100%);
    background-attachment: fixed;
    padding: 60px 0;
}

.section-title {
    margin-bottom: 24px;
}


.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #64748b;
    margin: 0;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 40px;
}

.glass {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius);
    background: radial-gradient(120% 140% at 15% -20%, rgba(255, 255, 255, 0.5), transparent 70%),
        linear-gradient(135deg, var(--glass-bg-strong), var(--glass-bg));
    backdrop-filter: blur(20px) saturate(190%) contrast(1.02) brightness(1.02);
    -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(1.02) brightness(1.02);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(15, 23, 42, 0.04),
        0 4px 12px -2px rgba(15, 23, 42, 0.05),
        0 20px 40px -12px var(--glass-shadow);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(155deg,
            var(--glass-highlight) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.02;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.glass>* {
    position: relative;
    z-index: 2;
}

.glass:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(15, 23, 42, 0.05),
        0 8px 20px -2px rgba(15, 23, 42, 0.08),
        0 28px 50px -12px var(--glass-shadow);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    min-height: 250px;
    height: 100%;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 12px;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bento-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.image-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 250px;
    height: 100%;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-card:hover .bento-img {
    transform: scale(1.04);
}

.img-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.badge {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    color: #1e293b;
    font-weight: 600;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s ease, transform 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .span-2,
    .span-3 {
        grid-column: span 2;
    }

    .bento-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .span-2,
    .span-3 {
        grid-column: span 1;
    }

    .bento-card {
        padding: 24px;
        min-height: auto;
    }

    .image-card {
        height: 200px;
    }


}