/* ========================================
 * FONTS
 * ======================================== */

@font-face {
    font-family: "Pretendard";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/pretendard/Pretendard-Regular.woff") format("woff"),
        url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/pretendard/Pretendard-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Pretendard Bold";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/pretendard/Pretendard-Bold.woff") format("woff"),
        url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/pretendard/Pretendard-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Futura XBlk BT";
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    src: url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/futura/Futura-XBlk-BT.woff") format("woff");
}

@font-face {
    font-family: "SVN-Futura Heavy";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/svn-futara/SVN-FuturaHeavy.woff") format("woff"),
        url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/svn-futara/SVN-FuturaHeavy.woff2") format("woff2");
}

@font-face {
    font-family: "SVN-Futura Bold";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/svn-futara/SVN-FuturaBold.woff") format("woff"),
        url("https://breezing-fonts.s3.ap-southeast-1.amazonaws.com/svn-futara/SVN-FuturaBold.woff2") format("woff2");
}

/* ========================================
 * GLOBAL STYLES & BOOTSTRAP OVERRIDE
 * ======================================== */

/* CSS Variables - Theme configuration */
:root,
[data-bs-theme="light"] {
    --bs-primary: #ff0084;
    --bs-primary-rgb: 255, 0, 132;
    --bs-secondary: #000;
    --bs-secondary-rgb: 0, 0, 0;
    --bs-dark: #000;
    --bs-dark-rgb: 0, 0, 0;
    --bs-light: #FFF;
    --bs-light-rgb: 255, 255, 255;
    --bs-warning: #FDC227;
    --bs-warning-rgb: 253, 194, 39;
    --bs-border-color: #E4E4E7;
    --bs-danger: #EF4444;
    --bs-success: #3EB54A;
    --font-site: "Pretendard", sans-serif;
    --font-title: "Futura XBlk BT", sans-serif;
    --font-desc: "Pretendard", sans-serif;
    --font-detail: "Pretendard", sans-serif;
    --text-color-site: #27272A;
    --text-color-title: #27272A;
    --text-color-desc: #71717A;
    --text-color-detail: #52525B;
    --container-lg-width: 960px;
    --container-xl-width: 1260px;
    --container-xxl-width: 1320px;

    /* ========================================
     * WATERBOMB DESIGN TOKENS
     * ======================================== */
    
    /* Colors - Primary (mapped to Bootstrap primary) */
    --text-primary: #0c0c0d;
    --text-primary-rgb: 12, 12, 13;
    --text-light: #ffffff;
    --text-light-rgb: 255, 255, 255;
    --background-dark: #000000;
    --background-dark-rgb: 0, 0, 0;
    --background-primary: #ffffff;
    --background-primary-rgb: 255, 255, 255;
    --background-secondary-white: #f4f4f5;
    --background-secondary-white-rgb: 244, 244, 245;
    --text-dark: #1c1c1c;
    --text-dark-rgb: 28, 28, 28;
    
    /* Colors - Neutral */
    --neutral-gray: #a1a1aa;
    --neutral-gray-rgb: 161, 161, 170;
    
    /* Colors - Gradient (What to Look For section) */
    --gradient-blue: #205df5;
    --gradient-cyan: #2fc2e2;
    --gradient-green: #38f28e;
    --gradient-stop: 43.75%;
    
    /* Typography - Font Families */
    --font-family-brand: "Futura XBlk BT", sans-serif;
    --font-family-display: "SVN-Futura Heavy", sans-serif;
    --font-family-display-bold: "SVN-Futura Bold", sans-serif;
    --font-family-body: "Pretendard", sans-serif;
    --font-family-body-bold: "Pretendard Bold", sans-serif;
    
    /* Typography - Font Sizes */
    --font-size-xl: 20px;
    --font-size-lg: 16px;
    --font-size-md: 14px;
    --font-size-sm: 13px;
    --font-size-xs: 12px;
    --font-size-section-title: 24px;
    --font-size-date: 36px;

    
    /* Typography - Line Heights */
    --line-height-100: 100%;
    --line-height-20: 20px;
    --line-height-18: 18px;
    --line-height-section-title: 32px;
    
    /* Spacing - Section Padding */
    --section-padding-y: 60px;
    --section-padding-x: 16px;
    --section-gap: 40px;
    
    /* Spacing - Component Gaps */
    --gap-48: 48px;
    --gap-24: 24px;
    --gap-20: 20px;
    --gap-16: 16px;
    --gap-12: 12px;
    --gap-8: 8px;
    --gap-4: 4px;
    
    /* Icon Sizes */
    --icon-size-42: 42px;
    --icon-size-16: 16px;
    
    /* Spacing - Button */
    --button-padding-x: 16px;
    --button-padding-y: 10px;
    --button-height: 42px;
    
    /* Spacing - Card */
    --card-gap: 16px;
    
    /* Border Radius */
    --border-radius-full: 999px;

    /* Border Color */
    --border-color-pink: #FF8AC6;
}

body {
    color: var(--text-color-site);
    font-family: var(--font-site);
    line-height: 1.25;
}


.btn {
    --bs-btn-padding-x: 16px;
    --bs-btn-padding-y: 10px;
    --bs-btn-border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.rounded-circle {
    --bs-btn-padding-x: 8px;
    --bs-btn-padding-y: 8px;
}

.btn.btn-lg {
    --button-height: 42px;
    --button-padding-x: 18px;
    --button-padding-y: 0px;
    font-size: var(--font-size-md);
    line-height: var(--button-height);
}

/* Button Styles */
.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #e60076;
    --bs-btn-hover-border-color: #e60076;
    --bs-btn-active-bg: #cc0068;
    --bs-btn-active-border-color: #cc0068;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
    font-family: var(--font-family-body-bold);
    font-size: var(--font-size-md);
    font-weight: 700;
    /* line-height: var(--button-height); */
    height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border-radius: var(--border-radius-full);
}

.btn-secondary {
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-color: var(--text-light);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: rgba(var(--bs-secondary-rgb), 0.8);
    --bs-btn-hover-color: rgba(var(--bs-light-rgb), 1);
    --bs-btn-hover-border-color: rgba(var(--bs-secondary-rgb), 0.8);
    --bs-btn-active-bg: rgba(var(--bs-secondary-rgb), 0.8);
    --bs-btn-active-color: var(--text-light);
    --bs-btn-active-border-color: rgba(var(--bs-secondary-rgb), 0.8);
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
    font-family: var(--font-family-body-bold);
    font-size: var(--font-size-md);
    font-weight: 700;
    /* line-height: var(--button-height); */
    height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border-radius: var(--border-radius-full);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-bg: #cc0068;
    --bs-btn-active-border-color: #cc0068;
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-secondary {
    --bs-btn-bg: transparent;
    --bs-btn-color: var(--text-color-site);
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-border-color);
    --bs-btn-hover-color: var(--text-color-title);
    --bs-btn-hover-border-color: #eeeef0;
    --bs-btn-active-bg: #e9e9eb;
    --bs-btn-active-color: var(--text-color-title);
    --bs-btn-active-border-color: #e9e9eb;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-color: var(--text-color-desc);
    --bs-btn-disabled-border-color: var(--bs-border-color);
}


.btn-link {
    --bs-btn-padding-x: 0;
    --bs-btn-color: var(--bs-primary);
    --bs-btn-hover-color: #e60076;
    --bs-btn-active-color: #cc0068;
    --bs-btn-font-weight: 700;
    text-decoration: none;
}

.btn-light {
    --bs-btn-bg: rgba(244, 244, 245, 1);
    --bs-btn-border-color: rgba(228, 228, 231, 1);
    --bs-btn-color: rgba(28, 28, 28, 1);
    --bs-btn-hover-bg: #e9e9eb;
    --bs-btn-hover-border-color: #e9e9eb;
    --bs-btn-active-bg: #d9d9db;
    --bs-btn-active-border-color: #d9d9db;
    --bs-btn-disabled-bg: var(--bs-light);
    --bs-btn-disabled-border-color: var(--bs-light);
    font-family: var(--font-family-body-bold);
    font-size: var(--font-size-md);
    font-weight: 700;
    /* line-height: var(--button-height); */
    height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border-radius: var(--border-radius-full);
}

/* Font Styles */
.s-font-brand {
    font-family: var(--font-family-brand);
}

.s-font-display-heavy {
    font-family: var(--font-family-display);
}

.s-font-display-bold {
    font-family: var(--font-family-display-bold);
}

.s-font-body {
    font-family: var(--font-family-body);
}

.s-font-body-bold {
    font-family: var(--font-family-body-bold);
}

/* ========================================
   COMPONENTS
   ======================================== */

/* Section Component - Base layout for page sections */
.s-section {
    padding: var(--section-padding-y) 0;
}

.s-section__title {
    font-size: var(--font-size-section-title);
    font-weight: 900;
    font-family: var(--font-family-display-bold);
    line-height: var(--line-height-section-title);
}

.s-section__description {
    font-size: var(--font-size-lg);;
    color: var(--text-color-desc);
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: center;
    line-height: 1.6;
}


/* Desktop Variables (≥992px) */
@media (min-width: 1200px) {
    :root {
        /* Spacing - Section Padding */
        --section-padding-y: 100px;

        /* Typography - Font Sizes */
        --font-size-xl: 24px;
        --font-size-lg: 18px;
        --font-size-md: 16px;
        --font-size-sm: 14px;
        --font-size-date: 64px;
        --font-size-section-title: 48px;
        --line-height-section-title: 64px;
    }
    .btn.btn-lg {
        --button-height: 60px;
        --button-padding-x: 32px;
    }
}


/* Transitions */
.slide-right-enter-active,
.slide-right-leave-active,
.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.slide-right-enter-from {
  transform: translateX(100%);
  opacity: 0;
}

.slide-right-enter-to {
  transform: translateX(0);
  opacity: 1;
}

.slide-right-leave-from {
  transform: translateX(0);
  opacity: 1;
}

.slide-right-leave-to {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-left-enter-from {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-left-enter-to {
  transform: translateX(0);
  opacity: 1;
}

.slide-left-leave-from {
  transform: translateX(0);
  opacity: 1;
}

.slide-left-leave-to {
  transform: translateX(100%);
  opacity: 0;
}


.breadcrumb-item:after {
    content: "/";
    color: var(--text-color-desc);
    border: none;
    transform: none;
    top: 0;
}

.breadcrumb > li > a {
    color: var(--text-color-site);
}

/* Rich Text Editor Styles */
.s-richtext {
    font-family: var(--font-detail);
    color: var(--text-color-site);
    line-height: 1.6;
    font-size: 16px;
    word-break: break-word;
}

.s-richtext>*:first-child {
    margin-top: 0;
}

.s-richtext>*:last-child {
    margin-bottom: 0;
}

.s-richtext p {
    margin-bottom: 1rem;
}

.s-richtext h1,
.s-richtext h2,
.s-richtext h3,
.s-richtext h4,
.s-richtext h5,
.s-richtext h6 {
    color: var(--text-color-detail);
    font-family: var(--font-site);
    margin-bottom: 0.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.s-richtext h1 {
    font-size: 2em;
}

.s-richtext h2 {
    font-size: 1.5em;
}

.s-richtext h3 {
    font-size: 1.25em;
}

.s-richtext h4 {
    font-size: 1em;
}

.s-richtext h5 {
    font-size: 0.875em;
}

.s-richtext h6 {
    font-size: 0.85em;
}

.s-richtext ul,
.s-richtext ol {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.s-richtext li {
    margin-bottom: 0.25rem;
}

.s-richtext a {
    color: var(--bs-primary);
    text-decoration: underline;
}

.s-richtext blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: var(--text-color-desc);
}

.s-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.25rem 0;
}

.s-richtext figure {
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0.25rem 0;
}

.s-richtext figure img {
    margin: 0;
}

.s-richtext figcaption {
    color: var(--text-color-detail);
    font-style: italic;
    text-align: center;
    line-height: 1.4;
    padding: 0.5rem 1rem 0 1rem;
    font-size: 0.9em;
}

.s-richtext hr {
    margin: 0.25rem 0;
    border: 0;
    border-top: 1px solid var(--bs-border-color);
}