/*
Theme Name: KiyosumiWeb Theme
Theme URI: 
Author: Antigravity
Author URI: 
Description: 清澄白河のおさんぽノート🐾 のカスタムテーマ
Version: 1.3.0
Text Domain: kiyosumiweb
*/
@charset "UTF-8";

/* =========================================
   Variables & Base (gemini.html 準拠)
========================================= */
:root {
    --bg-base: #FAFAF7; /* 生成り */
    --bg-white: #FFFFFF;
    --text-main: #4A433D; /* こげ茶 */
    --text-light: #857D75;
    --accent-brown: #C2A48A; /* カフェオレ */
    --accent-green: #9AB593; /* 抹茶ミルク */
    --accent-gray: #EAE6DF;
    --border-color: #E2DDD5;
    
    --font-ui: 'Zen Maru Gothic', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 2px 10px rgba(74, 67, 61, 0.05);
    --shadow-md: 0 4px 20px rgba(74, 67, 61, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 全体のコンテナ（スマホ〜タブレットサイズを想定したgemini.htmlのバランス） */
.container {
    max-width: 768px;
    margin: 0 auto;
    background-color: var(--bg-base);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.03);
}

/* =========================================
   Header & Navigation
========================================= */
header {
    background-color: var(--bg-white);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.site-logo {
    font-family: var(--font-ui);
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.site-logo a { display: flex; align-items: center; gap: 6px; }
.site-logo span { color: var(--accent-brown); }

.header-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }

.header-nav ul {
    display: flex;
    gap: 20px;
}

.header-nav a {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    padding-bottom: 4px;
    cursor: pointer;
}
.header-nav a.active {
    color: var(--text-main);
    border-bottom: 2px solid var(--accent-brown);
}

/* =========================================
   Mobile Menu Overlay
========================================= */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(74, 67, 61, 0.5); z-index: 999;
    display: flex; justify-content: flex-end; padding: 16px 20px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
.mobile-menu.is-active {
    opacity: 1; visibility: visible;
}
.mobile-menu-inner {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex; flex-direction: column; gap: 32px;
    width: auto; min-width: 240px; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-md);
    transform: translateY(-20px) scale(0.95); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top right;
    position: relative;
}
.mobile-menu.is-active .mobile-menu-inner {
    transform: translateY(0) scale(1);
}
.mobile-menu-close {
    position: absolute; top: 16px; right: 16px; cursor: pointer; color: var(--text-light);
}
.mobile-menu-group { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu-group-title { font-size: 11px; color: var(--text-light); border-bottom: 1px solid var(--border-color); padding-bottom: 8px; margin-bottom: 8px; font-family: var(--font-ui); font-weight: bold; }
.mobile-menu a { font-family: var(--font-ui); font-size: 16px; font-weight: 700; color: var(--text-main); transition: opacity 0.2s;}
.mobile-menu a:hover { opacity: 0.6; }
body.menu-open { overflow: hidden; }

/* =========================================
   Section Titles & Common
========================================= */
.sec-title {
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 32px 20px 16px;
}
.sec-title::before {
    content: '';
    display: block;
    width: 4px; height: 18px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

.page-view { padding-bottom: 60px; }

/* =========================================
   Top Page - Hero Section (Design01 融合版)
========================================= */
.hero-section {
    padding: 32px 20px 48px;
    position: relative;
    overflow: hidden;
}

/* =========================================
   Top Page - Hero Section (散らばる写真レイアウト)
   ========================================= */
.hero-section {
    padding: 32px 20px 48px;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.hero-images-d01 {
    position: relative;
    width: 100%;
    height: 380px;
    margin-bottom: 32px;
}

/* 各フォト枠の共通スタイル (Polaroid Style) */
.hero-photo-frame {
    position: absolute;
    background: var(--bg-white);
    padding: 8px 8px 24px;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-photo-frame img {
    border-radius: 2px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 32px);
    transition: opacity 1.5s ease-in-out; /* ゆったりとしたフェード時間 */
}

.hero-photo-frame img.active-img {
    z-index: 2;
    opacity: 1;
}

.hero-photo-frame img.next {
    z-index: 1;
    opacity: 1; /* 背面に配置するので初期値1でOK */
}

/* ポラロイド配置（オリジナルの再現） */
.hero-img-lt { width: 55%; left: 0; top: 0; transform: rotate(-4deg); z-index: 2; aspect-ratio: 4/3; }
.hero-img-rt { width: 45%; right: 5%; bottom: 0; transform: rotate(6deg); z-index: 3; aspect-ratio: 3/4; }
.hero-img-lb { width: 35%; left: 15%; bottom: -10%; transform: rotate(-8deg); z-index: 1; aspect-ratio: 1/1; }

.hero-copy-d01 {
    font-family: var(--font-ui);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.5;
    color: var(--text-main);
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-main);
    text-align: left;
    display: inline-block;
    max-width: 440px;
    margin-top: 16px;
    font-weight: 500;
}

/* =========================================
   Top Page - Search Area
========================================= */
.search-area {
    background-color: var(--bg-white);
    padding: 24px 20px;
    margin: 0 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.search-area p {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: var(--accent-brown);
}
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}
.tag-btn {
    background-color: var(--bg-white);
    border: 1px dashed var(--border-color); /* デフォルトを点線に */
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: 0.2s;
}
.tag-btn:hover { background-color: var(--bg-base); }

/* ジャンルボタン（未選択時は薄いグレーベージュで塗りつぶし） */
.tag-btn.genre-btn {
    background-color: var(--accent-gray);
    border: 1px solid var(--accent-gray);
}
.tag-btn.genre-btn:hover {
    background-color: var(--border-color);
}

.tag-btn.condition { background-color: var(--bg-white); border-style: dashed; }

/* 選択中（共通：濃いブラウン背景 ＋ 白文字） */
.tag-btn.is-active,
.tag-btn.active,
.filter-btn.active {
    background-color: var(--accent-brown) !important;
    color: var(--bg-white) !important;
    border-color: var(--accent-brown) !important;
    box-shadow: 0 4px 12px rgba(194, 164, 138, 0.4);
    transform: translateY(-1px);
}
.search-submit {
    width: 100%; background-color: var(--text-main); color: white; border: none;
    padding: 12px; border-radius: 30px; font-family: var(--font-ui); font-weight: 700;
    display: flex; justify-content: center; align-items: center; gap: 8px; cursor: pointer;
}

/* =========================================
   Top Page - Card Scroll (よく見られているお店)
========================================= */
.card-scroll {
    display: flex; gap: 16px; overflow-x: auto; padding: 0 20px 24px; 
    scrollbar-width: thin; scrollbar-color: var(--accent-brown) var(--accent-gray);
}
.card-scroll::-webkit-scrollbar { height: 6px; }
.card-scroll::-webkit-scrollbar-track { background: var(--accent-gray); border-radius: 4px; }
.card-scroll::-webkit-scrollbar-thumb { background: var(--accent-brown); border-radius: 4px; }

.card-mini {
    flex: 0 0 240px; /* 強制的に幅を固定し縮小させない */
    background: var(--bg-white); border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.2s;
    border: 1px solid var(--border-color);
}
.card-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-mini img { width: 100%; height: 140px; object-fit: cover; }
.card-mini-body { padding: 12px; }
.card-title { font-family: var(--font-ui); font-size: 15px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.card-desc { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.icon-labels { display: flex; gap: 6px; }
.icon-label {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; background-color: var(--bg-white); border-radius: 50%; font-size: 14px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border-color);
}
/* icon-label内のLucideアイコンをサイズアップ */
.icon-label i,
.icon-label svg { width: 18px; height: 18px; }

/* -----------------------------------------
   Icon Color System
   場所によってアイコンの色を使い分け、視認性と統一感を両立
   - 通常状態: カフェオレブラウン（サイトのアクセントカラー）
   - ジャンルchip（背景ブラウン）: 白
   - フィルター選択時: 白
   - 子連れ/ペットの情報ボックス: 各テーマカラー
----------------------------------------- */
/* 基本：フィルターボタン・記事カード内のアイコンはカフェオレブラウン */
.tag-btn i,
.icon-label i,
.chip i,
.mini-chips i {
    color: var(--accent-brown);
}

/* ジャンルchip（背景ブラウン＋白文字）内のアイコンは白に */
.chip.genre i {
    color: var(--bg-white);
}

/* 選択中のフィルターボタン内は白抜きに */
.tag-btn.is-active i,
.tag-btn.active i,
.filter-btn.active i {
    color: var(--bg-white);
}

/* 検索ボタン（背景ダーク）内は白 */
.search-submit i {
    color: var(--bg-white);
}

/* 子連れ情報ボックスのヘッダーアイコンは暖色系 */
.kids .sib-header i {
    color: #D68C2E;
}

/* ペット情報ボックスのヘッダーアイコンは緑系 */
.pets .sib-header i {
    color: #6A9955;
}

/* 日付・フッターなどの補助的アイコンはライトグレーにして目立たせすぎない */
.date-info i,
.footer-nav i {
    color: var(--text-light);
}

/* =========================================
   Top Page - List (最近のさんぽメモ)
========================================= */
.list-article {
    display: flex; gap: 16px; margin: 0 20px 16px; background: white; 
    padding: 12px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); cursor: pointer;
    border: 1px solid var(--border-color);
}
.list-article img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; }
.list-article-info { display: flex; flex-direction: column; justify-content: center; }
.list-article-date { font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
.list-article-title { font-family: var(--font-ui); font-size: 15px; margin-bottom: 4px; font-weight: 700; }
.list-article-desc { font-size: 12px; color: var(--text-light); }

.view-all-btn {
    display: flex; justify-content: center; align-items: center; margin: 24px 20px;
    background-color: var(--bg-white); color: var(--text-main); border: 2px dashed var(--border-color);
    padding: 16px; border-radius: var(--radius-md); font-family: var(--font-ui); font-weight: 700;
    transition: 0.3s;
}
.view-all-btn:hover { background-color: var(--bg-base); border-color: var(--accent-brown); }

/* =========================================
   Top Page - Map & About Bottom Area
========================================= */
.bottom-boxes {
    margin: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.info-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.info-box h3 {
    font-family: var(--font-ui); font-size: 16px; margin-bottom: 12px;
}
.info-box p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }

/* マップのプレースホルダー */
.map-placeholder {
    width: 100%; height: 150px; background-color: var(--bg-base); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center; color: var(--text-light); font-weight: bold;
}


/* =========================================
   Detail Page (店舗詳細)
========================================= */
.detail-hero { position: relative; }
.detail-hero img { width: 100%; height: 280px; object-fit: cover; }
.status-badge {
    position: absolute; top: 16px; left: 16px; background-color: var(--text-main);
    color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
}

.detail-header {
    background-color: var(--bg-white); padding: 24px 20px; border-radius: 24px 24px 0 0;
    margin-top: -24px; position: relative; box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.mini-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.chip {
    background-color: var(--accent-gray); font-size: 10px; padding: 2px 7px;
    border-radius: 3px; font-weight: 500; display: inline-flex; align-items: center;
    line-height: 1.4;
}
.chip i, .chip svg { width: 10px; height: 10px; margin-right: 2px; flex-shrink: 0; }
.chip.genre { background-color: var(--accent-brown); color: white; }

/* リスト記事カード内のchipはさらにコンパクトに */
.list-article .mini-chips { margin-bottom: 0; margin-top: 4px; }
.list-article .chip { font-size: 10px; padding: 1px 6px; }

.detail-title { font-family: var(--font-ui); font-size: 24px; font-weight: 900; margin-bottom: 8px; line-height: 1.3; }
.detail-catch { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }

.date-info {
    display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--text-light);
    background-color: var(--bg-base); padding: 10px 12px; border-radius: var(--radius-sm);
}
.date-info span { display: flex; align-items: center; gap: 4px; }

/* Author Voice */
.author-voice { display: flex; gap: 16px; margin: 32px 20px; }
.author-icon { width: 48px; height: 48px; border-radius: 50%; background-color: var(--accent-gray); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.author-bubble { background-color: var(--bg-white); padding: 16px; border-radius: 0 16px 16px 16px; font-size: 14px; box-shadow: var(--shadow-sm); position: relative; border: 1px solid var(--border-color); }
.author-bubble::before { content: ''; position: absolute; top: 0; left: -10px; border-top: 15px solid var(--border-color); border-left: 15px solid transparent; }
.author-bubble::after { content: ''; position: absolute; top: 1px; left: -8px; border-top: 14px solid var(--bg-white); border-left: 14px solid transparent; }


/* TOC */
.toc-box {
    margin: 0 20px 32px; background-color: var(--bg-white); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 16px;
}
.toc-title { font-family: var(--font-ui); font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.toc-list li { font-size: 14px; margin-bottom: 8px; padding-left: 12px; position: relative; }
.toc-list li::before { content: '・'; position: absolute; left: 0; color: var(--accent-brown); }

/* Article Content */
.article-body { padding: 0 20px; }
.article-body h2 { font-family: var(--font-ui); font-size: 20px; margin: 40px 0 20px; padding-bottom: 8px; border-bottom: 2px dashed var(--border-color); }
.article-body p { margin-bottom: 20px; font-size: 15px; }
.article-body img { border-radius: var(--radius-md); margin: 24px 0; border: 1px solid var(--border-color); }

/* Info Boxes (Kids & Pets) */
.special-info-box { margin: 32px 20px; border-radius: var(--radius-md); overflow: hidden; }
.special-info-box.kids { border: 2px solid #F2E3CD; background-color: #FDF9F3; }
.special-info-box.pets { border: 2px solid #DCE6D8; background-color: #F4F8F3; }
.sib-header { padding: 12px 16px; font-family: var(--font-ui); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.kids .sib-header { background-color: #F2E3CD; color: var(--text-main); }
.pets .sib-header { background-color: #DCE6D8; color: var(--text-main); }
.sib-body { padding: 16px; }
.sib-status { display: inline-block; background: white; padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.kids .sib-status { color: #D68C2E; }
.pets .sib-status { color: #6A9955; }
.sib-text { font-size: 14px; }

/* Store Info Table */
.store-info-table { margin: 0 20px 40px; background: var(--bg-white); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.store-info-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.store-info-table th { text-align: left; padding: 12px 0; width: 35%; color: var(--text-light); border-bottom: 1px solid var(--border-color); font-weight: 500; }
.store-info-table td { padding: 12px 0 12px 12px; border-bottom: 1px solid var(--border-color); }
.store-info-table tr:last-child th, .store-info-table tr:last-child td { border-bottom: none; }


/* =========================================
   Map Page (Design01ベースのレイアウト + UIはgemini準拠)
========================================= */
.sm-map-area {
    position: relative;
    height: 40vh;
    min-height: 250px;
    background-color: var(--accent-gray);
}
/* マップキャンバスに明示的な高さを設定（flex で高さが潰れるのを防止） */
#shop-map-canvas {
    width: 100%;
    height: 100%;
    min-height: 250px;
}
.sm-map-ui {
    position: absolute; top: 16px; left: 16px; right: 16px; z-index: 10;
    display: flex; justify-content: space-between; gap: 12px;
}
.sm-map-btn {
    background-color: var(--bg-white); color: var(--text-main); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
    padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: bold; box-shadow: var(--shadow-sm); cursor: pointer;
}

.sm-filter-area {
    background-color: var(--bg-white);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}
.sm-search-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.sm-search-input {
    flex-grow: 1; min-width: 0; padding: 12px; border: 1px solid var(--border-color);
    border-radius: var(--radius-md); font-family: var(--font-body); font-size: 14px;
    background-color: var(--bg-base); outline: none;
}
.sm-filters-scroll { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
.sm-filters-scroll .tag-btn { padding: 6px 14px; font-size: 13px; }

.sm-list-area { padding: 24px 20px; }
.sm-list-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.sm-list-count { font-size: 13px; font-weight: bold; }
.sm-sort select {
    padding: 4px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-color);
    font-family: var(--font-body); font-size: 12px; background-color: var(--bg-white);
}


/* Footer */
footer {
    background-color: var(--bg-base);
    color: var(--text-light);
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid var(--border-color);
}
.footer-nav {
    display: flex; justify-content: center; gap: 16px; margin-bottom: 24px;
}
.footer-nav a { text-decoration: underline; color: var(--text-main); }


/* =========================================
   Mobile Adjustments
========================================= */
/* ヒーロー画像のポラロイド風アニメーション */
@media screen and (max-width: 600px) {
    .hero-images-d01 { height: 280px; margin-bottom: 24px; }
    .hero-img-lt { width: 65%; left: 0; top: 10%; transform: rotate(-3deg); }
    .hero-img-rt { width: 50%; right: 0; bottom: 5%; transform: rotate(5deg); }
    .hero-img-lb { display: none; }
    .bottom-boxes { margin: 32px 20px; gap: 16px; }
}
/* マップフィルターボタンのさらなる差別化 */
.tag-btn.filter-btn {
    border: 1px solid var(--accent-brown);
    background-color: transparent;
    color: var(--accent-brown);
}
.tag-btn.condition {
    background-color: transparent;
    color: var(--accent-brown);
    border: 1px dashed var(--accent-brown); /* タグは点線 */
}
/* ジャンルは薄い塗りつぶし（Solid） */
.tag-btn.genre-btn {
    background-color: #DED9D0;
    border: 1px solid #DED9D0;
    color: var(--text-main);
}
/* ホバー効果 (PCのみ) */
@media (hover: hover) {
    .tag-btn:hover {
        background-color: var(--accent-gray);
        border-color: var(--accent-brown);
    }
    .tag-btn.condition:hover {
        background-color: var(--accent-gray) !important;
        border-color: var(--accent-brown) !important;
        border-style: solid;
    }
    .tag-btn.genre-btn:hover {
        background-color: #CDC7BD;
        border-color: #CDC7BD;
    }
}

/* アクティブ状態：一律で茶色背景＋白文字に */
.tag-btn.filter-btn.active,
.tag-btn.condition.filter-btn.active {
    background-color: var(--accent-brown) !important;
    color: white !important;
    border-color: var(--accent-brown) !important;
}
.tag-btn.filter-btn.active i,
.tag-btn.condition.filter-btn.active i {
    color: white !important;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
    clear: both;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
}
.pagination .page-numbers:hover {
    background-color: var(--accent-gray);
    border-color: var(--accent-brown);
}
.pagination .page-numbers.current {
    background-color: var(--accent-brown);
    color: white;
    border-color: var(--accent-brown);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    width: auto;
    padding: 0 16px;
    border-radius: 20px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--accent-brown);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    transform: translateY(10px);
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background-color: #6D3D2F;
    transform: translateY(-5px);
}
#back-to-top i {
    transform: translateY(-1px);
}
