:root {
    --primary: #0369a1;
    --primary-hover: #075985;
    --secondary: #0ea5e9;
    --accent: #38bdf8;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8 !important;
    --border-color: #e2e8f0;
    --line-art-color: #cbd5e1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
.serif-font {
    font-family: 'Playfair Display', serif;
}

.text-muted {
    color: #94a3b8 !important;
}

.line-art-border {
    border: 1px solid var(--border-color);
}

.btn-outline {
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* ===== header ===== */
.header-block .header-block-nav-link {
    position: relative;
    padding: 4px 0;
}

.header-block .header-block-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0369a1;
    transition: width 0.3s ease;
}

.header-block .header-block-nav-link:hover::after {
    width: 100%;
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-block .header-block-mobile-menu.active {
    transform: translateX(0);
}

/* ===== hero ===== */
#hero-staynori .animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

#hero-staynori .animate-float-delayed {
    animation: float-slow 6s ease-in-out 3s infinite;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

#hero-staynori .container {
    max-width: 1200px;
}

#hero-staynori .font-playfair {
    font-family: 'Playfair Display', serif;
}

#hero-staynori .font-inter {
    font-family: 'Inter', sans-serif;
}

/* ===== about-intro ===== */
.about-intro-section {
    position: relative;
}

.about-intro-section .about-intro-heading {
    font-weight: 500;
}

.about-intro-section .about-intro-text {
    font-weight: 300;
}

.about-intro-section .about-intro-visual img {
    filter: grayscale(20%) contrast(105%);
    transition: filter 0.5s ease;
}

.about-intro-section .about-intro-visual:hover img {
    filter: grayscale(0%) contrast(100%);
}

@media (max-width: 767px) {
    .about-intro-section .about-intro-content {
        text-align: center;
    }

    .about-intro-section .about-intro-line {
        margin-left: auto;
        margin-right: auto;
    }

    .about-intro-section .flex {
        justify-content: center;
    }
}

/* ===== featured-hotels ===== */
.featured-hotels-block .featured-hotels-block__card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.featured-hotels-block .featured-hotels-block__card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.featured-hotels-block .featured-hotels-block__header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #cbd5e1;
    margin: 16px auto 0;
}

@media (max-width: 767px) {
    .featured-hotels-block .featured-hotels-block__card {
        margin-bottom: 24px;
    }
}

/* ===== entertainment-teaser ===== */
.entertainment-teaser {
    font-family: 'Inter', sans-serif;
}

.entertainment-teaser .font-serif {
    font-family: 'Playfair Display', serif;
}

.entertainment-teaser .teaser-card {
    position: relative;
    transition: transform 0.3s ease;
}

.entertainment-teaser .teaser-card:hover {
    transform: translateY(-4px);
}

.entertainment-teaser .teaser-card a {
    text-decoration: none;
}

.entertainment-teaser .container {
    position: relative;
}

@media (max-width: 767px) {
    .entertainment-teaser .teaser-card {
        margin-bottom: 1rem;
    }
}

/* ===== tips-teaser ===== */
.tips-teaser .tips-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tips-teaser .tips-card img {
    filter: grayscale(20%);
    transition: all 0.6s ease;
}

.tips-teaser .tips-card:hover img {
    filter: grayscale(0%);
}

.tips-teaser .js-tips-link i {
    font-size: 1.2rem;
    line-height: 1;
}

.tips-teaser .container {
    max-width: 1200px;
}

/* ===== footer ===== */
.staynori-footer .footer-logos-row img {
    filter: none !important;
    transition: transform 0.3s ease;
}

.staynori-footer .footer-logos-row a:hover img {
    transform: scale(1.05);
}

.staynori-footer .footer-nav li,
.staynori-footer .footer-legal li,
.staynori-footer .footer-contact li {
    position: relative;
}

.staynori-footer .footer-disclaimer-wrapper {
    position: relative;
}

.staynori-footer .js-age-modal {
    display: none;
}

.staynori-footer .js-age-modal.is-visible {
    display: flex;
}

/* ===== PAGE: privacy ===== */
.policy-content-block {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  line-height: 1.6;
  padding: 24px;
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
}

.policy-content-block .policy-inner-container {
  border: 1px solid #e2e8f0;
  padding: 32px;
  position: relative;
}

.policy-content-block .policy-main-heading {
  font-family: 'Playfair Display', serif;
  color: #0369a1;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .policy-content-block .policy-main-heading {
    font-size: 42px;
  }
}

.policy-content-block .policy-date {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 32px;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 16px;
}

.policy-content-block .policy-intro {
  margin-bottom: 40px;
  font-weight: 300;
  color: #475569;
}

.policy-content-block .policy-section {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.policy-content-block .policy-section:last-child {
  border-bottom: none;
}

.policy-content-block .policy-subheading {
  font-family: 'Playfair Display', serif;
  color: #0f172a;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .policy-content-block .policy-subheading {
    font-size: 32px;
  }
}

.policy-content-block p {
  margin-bottom: 16px;
  font-size: 14px;
  color: #475569;
}

@media (min-width: 768px) {
  .policy-content-block p {
    font-size: 16px;
  }
}

.policy-content-block .policy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.policy-content-block .policy-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #475569;
}

@media (min-width: 768px) {
  .policy-content-block .policy-list li {
    font-size: 16px;
  }
}

.policy-content-block .policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: #0369a1;
}

.policy-content-block .policy-link {
  color: #0369a1;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px transparent solid;
}

.policy-content-block .policy-link:hover {
  color: #075985;
  border-bottom: 1px solid #075985;
}

.policy-content-block .contact-details {
  margin-top: 24px;
  background: #f8fafc;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.policy-content-block .contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.policy-content-block .contact-details i {
  color: #0369a1;
  font-size: 20px;
}

/* ===== PAGE: terms ===== */
.policy-content-block .terms-container { color: #0f172a; line-height: 1.6; font-family: 'Inter', sans-serif; max-width: 100%; margin: 0 auto; padding: 20px 0; }
.policy-content-block .terms-heading-main { font-family: 'Playfair Display', serif; font-size: 18px; color: #0369a1; border-bottom: 1px solid #e2e8f0; padding-bottom: 16px; margin-bottom: 24px; font-weight: 500; }
@media (min-width: 768px) { .policy-content-block .terms-heading-main { font-size: 42px; } }
.policy-content-block .terms-date { font-size: 14px; color: #94a3b8; margin-bottom: 32px; font-style: italic; }
.policy-content-block .terms-section { margin-bottom: 32px; padding: 24px; border: 1px solid #e2e8f0; background: #ffffff; }
.policy-content-block h2 { font-family: 'Playfair Display', serif; font-size: 16px; color: #0369a1; margin-bottom: 16px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
@media (min-width: 768px) { .policy-content-block h2 { font-size: 32px; } }
.policy-content-block p { font-size: 14px; color: #475569; margin-bottom: 16px; font-weight: 300; }
@media (min-width: 768px) { .policy-content-block p { font-size: 16px; } }
.policy-content-block ul { margin-bottom: 16px; list-style-type: none; padding-left: 0; }
.policy-content-block ul li { font-size: 14px; color: #475569; position: relative; padding-left: 24px; margin-bottom: 8px; }
@media (min-width: 768px) { .policy-content-block ul li { font-size: 16px; } }
.policy-content-block ul li::before { content: '\2014'; position: absolute; left: 0; color: #0ea5e9; font-weight: bold; }
.policy-content-block .contact-list li::before { content: none; padding-left: 0; }
.policy-content-block .contact-list li { padding-left: 0; display: flex; align-items: center; gap: 10px; }
.policy-content-block .contact-link { color: #0369a1; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.policy-content-block .contact-link:hover { border-color: #0369a1; }

/* ===== PAGE: disclaimer ===== */
.policy-content-block { padding: 2rem 1rem; max-width: 900px; margin: 0 auto; line-height: 1.7; font-family: 'Inter', sans-serif; }
.policy-content-block h1, .policy-content-block h2, .policy-content-block h3 { color: #0f172a; font-family: 'Playfair Display', serif; line-height: 1.2; }
.policy-content-block p { color: #475569; margin-bottom: 1.25rem; font-weight: 300; }
.policy-content-block strong { font-weight: 500; color: #1e293b; }
.policy-content-block ul li { font-size: 16px; line-height: 1.6; }
@media (min-width: 768px) {
  .policy-content-block { padding: 4rem 2rem; }
  .policy-content-block h2 { margin-top: 3rem; }
}

/* ===== PAGE: cookies ===== */
.policy-wrapper { background-color: #f8fafc; padding: 48px 16px; min-height: 100vh; } .policy-content-block { max-width: 800px; margin: 0 auto; font-family: 'Inter', sans-serif; color: #475569; } .policy-content-block h1 { font-family: 'Playfair Display', serif; color: #0f172a; font-size: 18px; line-height: 1.2; font-weight: 500; margin-bottom: 24px; border-bottom: 1px solid #cbd5e1; padding-bottom: 16px; } @media (min-width: 768px) { .policy-content-block h1 { font-size: 42px; } } .policy-content-block h2 { font-family: 'Playfair Display', serif; color: #0f172a; font-size: 16px; line-height: 1.3; font-weight: 500; margin-top: 40px; margin-bottom: 16px; position: relative; } @media (min-width: 768px) { .policy-content-block h2 { font-size: 32px; } } .policy-content-block p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; } @media (min-width: 768px) { .policy-content-block p { font-size: 16px; } } .policy-list { list-style: none; padding: 0; margin-bottom: 24px; } .policy-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px; line-height: 1.5; } @media (min-width: 768px) { .policy-list li { font-size: 16px; } } .policy-list li i { color: #0369a1; font-size: 18px; flex-shrink: 0; margin-top: 2px; } .policy-list li strong { color: #0f172a; margin-right: 4px; } .policy-content-block a { color: #0369a1; font-weight: 500; text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.3s ease; } .policy-content-block a:hover { border-bottom-color: #0369a1; } .policy-intro-section { margin-bottom: 48px; } .policy-section-group { margin-bottom: 32px; }

/* ===== PAGE: reviews ===== */
.reviews-catalog .js-review-card { transform: translateZ(0); backface-visibility: hidden; }
.reviews-catalog .js-review-card:hover { transform: translateY(-4px); }
.reviews-catalog input::placeholder {
  color: #94a3b8;
  opacity: 1;
}
.reviews-catalog .line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== PAGE: entertainment ===== */
.ent-activities-section .js-ent-filter-btn.active { background-color: #0369a1; border-color: #0369a1; color: #ffffff; }
.ent-activities-section .ent-card-content { height: auto; }
.ent-activities-section .js-ent-card { height: auto; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.ent-activities-section .js-ent-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); }
.ent-activities-section #js-ent-search::placeholder { color: #94a3b8; opacity: 1; }
@media (max-width: 768px) {
  .ent-activities-section .ent-controls { flex-direction: column; }
  .ent-activities-section .ent-filter-group { width: 100%; }
  .ent-activities-section .js-ent-filter-btn { flex: 1; min-width: calc(33.333% - 0.5rem); }
}

/* ===== PAGE: tips ===== */
.tips-grid-block .js-tip-card { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.tips-grid-block .js-tip-card:hover { transform: translateY(-4px); }
.tips-grid-block #js-tip-search::placeholder { transition: opacity 0.3s; }
.tips-grid-block #js-tip-search:focus::placeholder { opacity: 0.5; }
.tips-grid-block .js-filter-btn.active { background-color: #0369a1; color: white; border-color: #0369a1; }
.tips-grid-block .js-tip-card img { height: 260px; }

/* ===== PAGE: about-contact ===== */
.about-contact-page .object-fit-cover { object-fit: cover; } .about-contact-page .js-contact-form input:focus, .about-contact-page .js-contact-form textarea:focus { box-shadow: 0 0 0 2px rgba(3, 105, 161, 0.1); } .about-contact-page .grayscale { filter: grayscale(1); } .about-contact-page .opacity-80 { opacity: 0.8; } .about-contact-page .mission-section { position: relative; overflow: hidden; }

.comment-avatar {
    object-fit: cover;
    width: 64px;
    height: 64px;
    display: block;
    filter: grayscale(20%);
}

.main-comment-card {
    box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.05);
}

.comment-body p {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.comment-action-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.comment-avatar {
    object-fit: cover;
    width: 40px;
    height: 40px;
    display: block;
}

.reply-comment-card {
    position: relative;
}

.reply-comment-card::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    width: 20px;
    height: 1px;
    background-color: #e2e8f0;
}

.reply-comment-card h5 {
    font-weight: 500;
}


/* ===== PAGE TEMPLATE: reviews-list ===== */
.header-block .header-block-nav-link {
    position: relative;
    padding: 4px 0;
}

.header-block .header-block-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0369a1;
    transition: width 0.3s ease;
}

.header-block .header-block-nav-link:hover::after {
    width: 100%;
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-block .header-block-mobile-menu.active {
    transform: translateX(0);
}

.staynori-footer .footer-logos-row img {
    filter: none !important;
    transition: transform 0.3s ease;
}

.staynori-footer .footer-logos-row a:hover img {
    transform: scale(1.05);
}

.staynori-footer .js-age-modal.is-visible {
    display: flex;
}

.content-rich-text h2,
.content-rich-text h3 {
    color: #0f172a;
    font-family: 'Playfair Display', serif;
}

.content-rich-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.js-like-btn.active {
    color: #ef4444;
}

.js-like-btn.active i {
    font-weight: bold;
}

@media (max-width: 768px) {
    .property-detail-page h1 {
        font-size: 18px !important;
    }

    .property-detail-page h2 {
        font-size: 16px !important;
    }

    .property-detail-page h3 {
        font-size: 14px !important;
    }
}

/* ===== PAGE TEMPLATE: entertainment-list ===== */
.header-block .header-block-nav-link {
    position: relative;
    padding: 4px 0;
}

.header-block .header-block-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0369a1;
    transition: width 0.3s ease;
}

.header-block .header-block-nav-link:hover::after {
    width: 100%;
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}

.header-block .js-mobile-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-block .header-block-mobile-menu.active {
    transform: translateX(0);
}

.staynori-footer .footer-logos-row img {
    filter: none !important;
    transition: transform 0.3s ease;
}

.staynori-footer .footer-logos-row a:hover img {
    transform: scale(1.05);
}

.staynori-footer .js-age-modal {
    display: none;
}

.staynori-footer .js-age-modal.is-visible {
    display: flex;
}

.entertainment-detail-block p {
    margin-bottom: 1.5rem;
}

.js-tab-btn.active {
    color: #0369a1;
    border-bottom-color: #0369a1;
}

/* ===== PAGE TEMPLATE: tips-list ===== */
.tip-detail-block .header-block .header-block-nav-link {
    position: relative;
    padding: 4px 0;
}

.tip-detail-block .header-block .header-block-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0369a1;
    transition: width 0.3s ease;
}

.tip-detail-block .header-block .header-block-nav-link:hover::after {
    width: 100%;
}

.tip-detail-block .prose-style p {
    margin-bottom: 24px;
}

.tip-detail-block .prose-style h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #0f172a;
    margin: 48px 0 24px;
    line-height: 1.3;
}

.tip-detail-block .prose-style h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #0f172a;
    margin: 32px 0 16px;
    line-height: 1.3;
}

.tip-detail-block .prose-style ul {
    margin: 24px 0;
    list-style: none;
}

.tip-detail-block .prose-style li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.tip-detail-block .prose-style li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: #0369a1;
}

.tip-detail-block .comment-avatar {
    object-fit: cover;
}

.staynori-footer .js-age-modal {
    display: none;
}

.staynori-footer .js-age-modal.is-visible {
    display: flex;
}

/* ===== ENTERTAINMENT CARD FIX ===== */
.ent-activities-section .js-ent-card {
    height: auto !important;
    display: flex;
    flex-direction: column;
}
.ent-activities-section .ent-card-content {
    height: auto !important;
    padding: 1rem 1.5rem 1rem !important;
}
.ent-activities-section .ent-card-content p {
    margin-bottom: 0.75rem !important;
}
.ent-activities-section .ent-card-content .mt-auto {
    margin-top: 0.5rem !important;
    padding-top: 0.5rem !important;
}
@media (min-width: 768px) {
    .ent-activities-section .ent-card-content {
        padding: 1.25rem 2rem 1.25rem !important;
    }
}
/* Equal height cards */
.ent-activities-section .ent-grid {
    align-items: stretch;
}
.ent-activities-section .js-ent-card {
    height: 100% !important;
}
.ent-activities-section .ent-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ent-activities-section .ent-card-content .mt-auto {
    margin-top: auto !important;
}
