/*
Theme Name: Winter
Description: 冬季スキーリゾート向けバス車内Wi-Fi認証ページ用のオリジナルテーマです。
Version: 1.0
*/

:root {
    --main-color: #007e88;
    --main-color-dark: #006570;
    --main-color-darker: #004d55;
    --main-color-light: #00b8d4;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    color: var(--main-color);
    font-weight: bold;
}

/* ClubMed Site: Background Image */
body.clubmed-site {
    background-color: #000;
    background-image: url('img/23518428_m.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

main {
    text-align: center;
}

h1 {
    /* font-size: 2.5em; */
    margin-bottom: 10px;
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-size: 1.2em;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.btn-access-n {
    background-color: #007bff;
}

.btn-access-n:hover {
    background-color: #0056b3;
}

.btn-clubmed {
    background-color: #28a745;
}

.btn-clubmed:hover {
    background-color: #1e7e34;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    color: #333;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Access Network & ClubMed: 透明ヘッダー */
.access-network-site .site-header,
.clubmed-site .site-header {
    background-color: transparent;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: none;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.header-left {
    flex-shrink: 0;
}

.site-logo a {
    display: block;
}

.site-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* 透明ヘッダー時のロゴ: 白ロゴをそのまま表示 */
.access-network-site .site-logo-img,
.clubmed-site .site-logo-img {
    filter: none;
}

.logo-image-placeholder {
    width: 180px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: rgba(0, 126, 136, 0.1);
}

/* 透明ヘッダー時のナビゲーション文字色: 白 */
.clubmed-site .nav-menu a,
.access-network-site .nav-menu a {
    color: #fff;
}

.clubmed-site .nav-menu a:hover,
.access-network-site .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.language-link {
    text-transform: lowercase;
    font-style: italic;
}

.header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.etiquette-btn { background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.etiquette-btn:hover {
    background: var(--main-color-dark);
    border-color: var(--main-color-dark);
}

/* 透明ヘッダー時のボタン: 半透明背景 */
.clubmed-site .etiquette-btn,
.access-network-site .etiquette-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.clubmed-site .etiquette-btn:hover,
.access-network-site .etiquette-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    text-align: right;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #333;
    padding: 0;
    width: 40px;
    height: 40px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 20px;
}

.mobile-nav-menu li {
    margin-bottom: 10px;
}

.mobile-nav-menu a,
.etiquette-btn-mobile {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.mobile-nav-menu a:hover {
    background: #f8f9fa;
}

.etiquette-btn-mobile {
    width: 100%;
    text-align: left;
    background: var(--main-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

.etiquette-btn-mobile:hover {
    background: var(--main-color-dark);
}

/* Site-specific Styles removed - using default styles */

/* Responsive Header */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 0.85em;
        padding: 6px 10px;
    }

    .etiquette-btn {
        font-size: 0.85em;
        padding: 8px 15px;
    }
}

@media (max-width: 992px) {
    .header-nav,
    .etiquette-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-image-placeholder {
        width: 150px;
        height: 40px;
    }

    .site-logo-img {
        height: 40px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    position: relative;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.lang-switch .lang-switch-btn {
    padding: 8px 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    margin-right: 5px;
}

.lang-switch .lang-switch-btn.active {
    background-color: #ccc;
    font-weight: bold;
}

/* White background for home page */
body.home {
    background-color: #fff;
    padding: 0;
    margin: 0;
}

body.home .site-header {
    display: none;
}

/* Authentication Page Styles */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-logo {
    padding: 40px 40px 20px;
    text-align: center;
    background: #fff;
}

.logo-placeholder {
    width: 200px;
    height: 80px;
    margin: 0 auto;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-content {
    padding: 20px 40px 40px;
    text-align: center;
}

.auth-title {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: bold;
}

.auth-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.auth-btn-access {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark) 100%);
}

.auth-btn-access:hover {
    background: linear-gradient(135deg, var(--main-color-dark) 0%, var(--main-color-darker) 100%);
}

.auth-btn-clubmed {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark) 100%);
}

.auth-btn-clubmed:hover {
    background: linear-gradient(135deg, var(--main-color-dark) 0%, var(--main-color-darker) 100%);
}

.auth-btn-arrow {
    font-size: 1.3em;
    font-weight: bold;
}

.auth-terms {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.terms-accordion {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
}

.terms-accordion summary {
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: #495057;
    list-style: none;
    user-select: none;
}

.terms-accordion summary::-webkit-details-marker {
    display: none;
}

.terms-accordion summary::before {
    content: "▶ ";
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.3s;
    color: #6c757d;
}

.terms-accordion[open] summary::before {
    transform: rotate(90deg);
}

.terms-text {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.6;
    text-align: left;
}

.terms-text p {
    margin-bottom: 10px;
}

.terms-text ol {
    padding-left: 20px;
    margin: 10px 0;
}

.terms-text li {
    margin-bottom: 8px;
}

.auth-footer {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.auth-footer p {
    margin: 0;
    font-size: 0.85em;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-page {
        padding: 10px;
    }

    .auth-container {
        border-radius: 15px;
    }

    .auth-logo {
        padding: 30px 20px 15px;
    }

    .logo-placeholder {
        width: 150px;
        height: 60px;
    }

    .auth-content {
        padding: 15px 20px 30px;
    }

    .auth-title {
        font-size: 1.6em;
    }

    .auth-description {
        font-size: 1em;
    }

    .auth-btn {
        padding: 18px 25px;
        font-size: 1.1em;
    }

    .auth-terms {
        padding: 15px 20px;
    }
}

/* Access Network & Club Med Site Styles */
.site-main {
    margin: 0;
    padding: 0;
    background-color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background: url('img/resort.png') center/cover no-repeat;
    background-position: 50% 100%;
    background-color: #4a90a4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* ClubMed hero section with different background */
.clubmed-site .hero-section {
    background: url('img/23518428_m.jpg') center/cover no-repeat;
    background-position: 50% 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-title {
    font-size: 3em;
    font-weight: bold;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-en {
    /* font-size: 2.5em; */
    font-weight: bold;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

/* クラブメッド: access-nと同じスタイルを使用 */

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    font-weight: bold;
    color: var(--main-color);
}

.section-description {
    text-align: center;
    font-size: 1.1em;
    color: #fff;
    margin-bottom: 40px;
}

/* Intro Section */
.intro-section {
    background: #fff;
    padding: 60px 20px;
}


.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-title {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: bold;
}


.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}


/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 80px 20px;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: transparent;
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.4em;
    color: var(--main-color);
    margin-bottom: 15px;
    font-weight: bold;
}


.feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
}


.features-footer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.features-tagline {
    font-size: 1.3em;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
}


/* News Section */
.news-section {
    background: #fff;
    padding: 60px 20px;
}


.news-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.news-item-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
}

.news-item-link:hover {
    background: #f8f9fa;
}

.news-date {
    font-weight: bold;
    color: var(--main-color);
    white-space: nowrap;
    font-size: 0.95em;
}

.news-text {
    flex: 1;
    color: var(--main-color);
    line-height: 1.6;
    font-size: 1em;
}

.news-arrow {
    color: var(--main-color);
    font-size: 1.5em;
    font-weight: bold;
}


/* Button Styles */
.btn-center {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #fff;
    color: #333;
    background: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    border-color: var(--main-color);
    color: var(--main-color);
}


/* Municipality Section Wrapper */
.municipality-section-wrapper {
    background-color: var(--main-color);
    padding: 100px 20px 60px;
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    margin-bottom: -1px;
}

/* Ensure text is visible on both sites */
.municipality-section-wrapper .section-title {
    color: #fff;
}

.municipality-section-wrapper .section-description {
    color: #fff;
    opacity: 0.9;
}

/* CTA Section Wrapper */
.cta {
    background-color: var(--main-color) !important;
}

.cta-section-wrapper {
    background-image: url('img/5150216_m.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 140px 20px 120px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
}

/* Municipality Section */
.municipality-section {
    background-color: var(--main-color);
    padding: 60px 20px;
    position: relative;
    z-index: 100;
    
}


/* Municipality Detail Page */
.municipality-detail-page {
    background-color: #fff;
}

.municipality-hero {
    background-color: var(--main-color);
    padding: 100px 20px 80px;
    text-align: center;
    color: #fff;
}

.municipality-name {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.ski-resort-name {
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.municipality-intro-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.municipality-intro-image {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.municipality-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.municipality-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.municipality-intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.manner-message-section {
    padding: 80px 20px;
    background: #fff;
}

.manner-message-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.manner-images-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.manner-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.manner-image-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.manner-image-item:hover {
    transform: scale(1.05);
}

.manner-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.manner-videos-section {
    padding: 80px 20px;
    background: #fff;
}

.manner-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.manner-video-item .video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.manner-video-item .video-embed iframe,
.manner-video-item .video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.manner-video-item .video-link {
    display: block;
    text-align: center;
}

.manner-video-item .video-link a {
    display: inline-block;
    padding: 16px 32px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.manner-video-item .video-link a:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.municipality-back-section {
    padding: 60px 20px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 15px 40px;
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s;
}

.btn-back:hover {
    background: var(--main-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 126, 136, 0.3);
}

.municipality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.municipality-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
}

.access-network-site .municipality-card,
.clubmed-site .municipality-card {
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.access-network-site .municipality-card:hover,
.clubmed-site .municipality-card:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}


.municipality-card:hover {
    transform: translateY(-8px);
    border-color: var(--main-color);
}

.municipality-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.municipality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.municipality-image.placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

.municipality-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.municipality-title {
    margin: 0;
    font-size: 1.3em;
    color: #2c3e50;
}

.access-network-site .municipality-title,
.clubmed-site .municipality-title {
    color: #fff;
    text-align: center;
}


.municipality-arrow {
    font-size: 1.5em;
    color: var(--main-color);
    font-weight: bold;
}


.no-content {
    text-align: center;
    color: #fff;
    font-size: 1.2em;
    padding: 40px;
}


/* CTA Section styles moved to css/cta.css */


/* News Archive Page */
.news-archive-section {
    background: transparent;
    padding: 60px 20px;
}

.news-archive-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-archive-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s;
}


.news-archive-item:hover {
    transform: translateX(5px);
    background: rgba(0, 126, 136, 0.05);
}


.news-archive-date {
    font-weight: bold;
    color: var(--main-color);
    white-space: nowrap;
    font-size: 1.1em;
    min-width: 100px;
}

.news-archive-content {
    flex: 1;
}

.news-archive-title {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    line-height: 1.4;
}

.news-archive-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}


.news-archive-title a:hover {
    color: var(--main-color);
}


.news-archive-excerpt {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 1em;
}


.no-news {
    text-align: center;
    color: #999;
    font-size: 1.2em;
    padding: 60px 20px;
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    padding: 20px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}


.pagination a:hover {
    background: #007e88;
    color: #fff;
    transform: translateY(-2px);
}


.pagination .current {
    background: #007e88;
    color: #fff;
    border-color: #007e88;
}


.pagination .dots {
    border: none;
    background: none;
    color: #999;
}


/* Manner Page (Municipality Page) */
.manner-page {
    background: transparent;
}

.manner-hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 60px;
}

.manner-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manner-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.manner-main-title {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}


.manner-ski-resort {
    font-size: 1.8em;
    color: #007e88;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 500;
}


.manner-section {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}


.manner-section-title {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007e88;
    font-weight: bold;
}


.manner-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}


.manner-content p {
    margin-bottom: 20px;
}

.manner-content ul,
.manner-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.manner-content li {
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Videos Section */
.videos-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Related News Section */
.news-list-items {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.news-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(0, 126, 136, 0.05);
    border-left: 4px solid #007e88;
    border-radius: 4px;
    transition: all 0.3s;
}


.news-list-item:hover {
    transform: translateX(5px);
    background: rgba(0, 126, 136, 0.1);
}


.news-item-date {
    font-weight: bold;
    color: var(--main-color);
    white-space: nowrap;
    min-width: 100px;
}


.news-item-link {
    color: #2c3e50;
    text-decoration: none;
    flex: 1;
    transition: color 0.3s;
}


.news-item-link:hover {
    color: #007e88;
}


.no-news-item {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 1.1em;
}


/* Footer */
.site-footer {
    background-color: var(--main-color);
    color: #fff;
    padding: 100px 20px 30px;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-company {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
}

.footer-contact {
    text-align: right;
}

.footer-phone {
    font-size: 2em;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.footer-hours {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95em;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    font-size: 0.85em;
    margin: 0;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive for Site Pages */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-title-en {
        font-size: 1.5em;
        padding: 0 20px;
    }

    .section-container {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .news-section {
        padding: 40px 15px;
    }

    .news-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 20px;
    }

    .news-date {
        font-size: 0.9em;
    }

    .news-text {
        font-size: 0.95em;
    }

    .news-arrow {
        font-size: 1.2em;
    }

    .news-item {
        flex-direction: column;
        gap: 10px;
    }

    .news-archive-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .news-archive-date {
        min-width: auto;
    }

    .news-archive-title {
        font-size: 1.3em;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .municipality-grid {
        grid-template-columns: 1fr;
    }

    /* CTA responsive styles moved to css/cta.css */

    /* Manner Page Mobile */
    .manner-hero-image {
        height: 250px;
        margin-bottom: 30px;
    }

    .manner-container {
        padding: 0 15px 40px;
    }

    .manner-main-title {
        font-size: 2em;
    }

    .manner-ski-resort {
        font-size: 1.3em;
        margin-bottom: 40px;
    }

    .manner-section {
        padding: 25px 20px;
        margin-bottom: 40px;
    }

    .manner-section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .manner-content {
        font-size: 1em;
    }

    .gallery-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .videos-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-list-item {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .news-item-date {
        min-width: auto;
    }

    /* Footer Mobile */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-phone {
        font-size: 1.5em;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .hero-title-en {
        font-size: 1.2em;
        padding: 0 15px;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .news-section {
        padding: 30px 10px;
    }

    .news-item-link {
        padding: 12px 15px;
        gap: 8px;
    }

    .news-date {
        font-size: 0.85em;
    }

    .news-text {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .news-arrow {
        font-size: 1em;
    }

    .btn-outline {
        font-size: 0.9em;
        padding: 10px 30px;
    }
}
