/*
Theme Name: Colorful Clearwater
Theme URI: https://colorfulclearwater.com/
Author: Colorful Clearwater
Author URI: https://colorfulclearwater.com/
Description: A vibrant local travel, tourism & community lifestyle theme for Clearwater & Clearwater Beach, Florida. Converted from custom HTML designs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: colorful-clearwater
Tags: travel, blog, tourism, custom-menu, featured-images, translation-ready
*/

:root {
  --teal: #12b3c4;
  --teal-dark: #0a8a99;
  --teal-deep: #0a3d47;
  --aqua: #35d6d1;
  --sand: #fff7ec;
  --coral: #ff7a4d;
  --amber: #f7941d;
  --ink: #21323a;
  --muted: #6b7b82;
  --line: #e6edef;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(10, 61, 71, 0.12);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Neue Alte Grotesk", "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-weight: 600;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }

.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; color: var(--teal-deep); line-height: 1.15; }
.section-head p { color: var(--muted); margin-top: 14px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 40px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 12px 24px rgba(247, 148, 29, 0.35); }
.btn-primary:hover { transform: translateY(-2px); background: var(--coral); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.85); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ---------- TOP BAR ---------- */
.topbar { background: var(--teal-deep); color: #cfeef1; font-size: 0.82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; flex-wrap: wrap; gap: 10px; }
.topbar .links { display: flex; gap: 22px; }
.topbar .links a { letter-spacing: 0.5px; transition: color 0.2s; }
.topbar .links a:hover { color: var(--aqua); }
.topbar .right { display: flex; align-items: center; gap: 20px; }
.topbar .socials { display: flex; gap: 12px; }
.topbar .socials a:hover { color: var(--aqua); }

/* ---------- HEADER / NAV ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 18px rgba(10, 61, 71, 0.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.logo { font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--teal-deep); display: flex; align-items: center; gap: 6px; }
.logo .heart { color: var(--coral); font-size: 1.2rem; }
.logo .cw { color: var(--teal); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav ul { display: flex; align-items: center; gap: 6px; }
.nav li { position: relative; }
.nav a { padding: 10px 16px; font-weight: 600; font-size: 0.92rem; border-radius: 8px; color: var(--ink); transition: color 0.2s, background 0.2s; display: inline-block; }
.nav a:hover { color: var(--teal); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav a.active { background: var(--amber); color: #fff; }
.nav .caret { font-size: 0.7rem; opacity: 0.7; }
/* dropdown submenus */
.nav ul ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: var(--shadow); border-radius: 12px; padding: 8px; min-width: 200px; flex-direction: column; align-items: stretch; z-index: 120; }
.nav li:hover > ul { display: flex; }
.nav ul ul a { white-space: nowrap; }

.header .search { display: flex; align-items: center; background: #f1f6f7; border-radius: 40px; padding: 6px 6px 6px 16px; }
.header .search input { border: none; background: transparent; outline: none; font-family: inherit; font-size: 0.85rem; width: 120px; color: var(--ink); }
.header .search button { background: var(--teal); color: #fff; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--teal-deep); cursor: pointer; }

/* ---------- HERO (front page) ---------- */
.hero { position: relative; min-height: 680px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(10,61,71,0.85) 0%, rgba(18,179,196,0.55) 45%, rgba(18,179,196,0.05) 75%), url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat; color: #fff; overflow: hidden; }
.hero-content { max-width: 640px; padding: 50px 0 110px; }
.hero .eyebrow { color: var(--aqua); }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; text-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hero h1 span { display: block; font-size: 0.42em; letter-spacing: 4px; margin-top: 6px; }
.hero p { margin: 18px 0 26px; font-size: 1.05rem; max-width: 560px; color: rgba(255,255,255,0.9); line-height: 1.6; }
.hero p a { color: var(--aqua); font-weight: 600; text-decoration: underline; transition: color 0.2s; }
.hero p a:hover { color: #ffffff; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(10,61,71,0.55); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,0.12); }
.hero-stats .container { display: flex; justify-content: space-around; flex-wrap: wrap; padding: 18px 0; gap: 16px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--aqua); }
.stat small { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }

/* ---------- QUICK CATEGORIES ---------- */
.quicknav { margin-top: -50px; position: relative; z-index: 5; }
.quicknav .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qcard { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); text-align: center; transition: transform 0.25s ease; }
.qcard:hover { transform: translateY(-8px); }
.qcard .ico { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, var(--teal), var(--aqua)); color: #fff; }
.qcard h3 { font-size: 1.05rem; color: var(--teal-deep); }
.qcard p { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ---------- CARDS (things to do / blog / related / category grid) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); }
.card .thumb { position: relative; height: 220px; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .thumb img { transform: scale(1.08); }
.card .tag { position: absolute; top: 14px; left: 14px; background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; padding: 5px 12px; border-radius: 30px; text-transform: uppercase; }
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card .body h3 { font-size: 1.15rem; color: var(--teal-deep); line-height: 1.35; }
.card .meta { font-size: 0.8rem; color: var(--muted); margin: 6px 0 10px; display: flex; gap: 14px; }
.card .body p { font-size: 0.9rem; color: var(--muted); }
.card .body a.read { display: inline-block; margin-top: 14px; color: var(--teal); font-weight: 600; font-size: 0.9rem; }
.card .body a.read:hover { color: var(--coral); }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.card .foot .read { color: var(--teal); font-weight: 600; }
.card:hover .foot .read { color: var(--coral); }

/* ---------- STAY (split) ---------- */
.stay { background: var(--sand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .imgwrap { position: relative; }
.split .imgwrap img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); height: 430px; object-fit: cover; }
.split .badge { position: absolute; bottom: -22px; right: -18px; background: var(--teal); color: #fff; padding: 18px 24px; border-radius: 16px; box-shadow: var(--shadow); text-align: center; }
.split .badge b { font-size: 1.5rem; display: block; }
.split .badge small { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--teal-deep); font-weight: 600; line-height: 1.15; }
.split p { color: var(--muted); margin: 18px 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.feature-list li .chk { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(18,179,196,0.15); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }

/* ---------- FOOD STRIP ---------- */
.food-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.food-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; }
.food-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.food-card:hover img { transform: scale(1.08); }
.food-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,61,71,0.85), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.food-card .overlay small { color: var(--aqua); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.food-card .overlay h3 { font-size: 1.1rem; margin-top: 4px; }

/* ---------- COMMUNITY / EVENTS ---------- */
.events { background: var(--teal-deep); color: #fff; }
.events .section-head h2 { color: #fff; }
.events .section-head p { color: rgba(255,255,255,0.75); }
.event-list { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.event { display: flex; align-items: center; gap: 24px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 20px 26px; transition: background 0.2s; }
.event:hover { background: rgba(255,255,255,0.12); }
.event .date { flex: none; text-align: center; background: var(--amber); color: #fff; border-radius: 12px; padding: 12px 16px; min-width: 74px; }
.event .date b { display: block; font-size: 1.6rem; line-height: 1; }
.event .date span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.event .info h3 { font-size: 1.1rem; }
.event .info p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.event .go { margin-left: auto; flex: none; color: var(--aqua); font-weight: 600; font-size: 0.9rem; }

/* ---------- NEWSLETTER ---------- */
.newsletter { background: linear-gradient(90deg, rgba(18,179,196,0.92), rgba(10,138,153,0.92)), url("https://images.unsplash.com/photo-1519046904884-53103b34b206?auto=format&fit=crop&w=1920&q=80") center/cover; color: #fff; text-align: center; padding: 70px 0; }
.cc-front .newsletter { padding: 84px 0; }
.cc-catlist .newsletter { margin-top: 60px; }
.newsletter h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; }
.newsletter p { max-width: 520px; margin: 14px auto 26px; color: rgba(255,255,255,0.9); }
.subscribe { display: flex; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 40px; padding: 6px; box-shadow: var(--shadow); }
.subscribe input { flex: 1; border: none; outline: none; padding: 0 20px; font-family: inherit; font-size: 0.95rem; color: var(--ink); }

/* ---------- FOOTER ---------- */
.footer { background: #08272d; color: #a8c3c8; padding-top: 64px; font-size: 0.9rem; }
.footer .grid-f, .footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo .cw { color: var(--aqua); }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: var(--aqua); }
.footer .fsoc { display: flex; gap: 12px; margin-top: 16px; }
.footer .fsoc a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background 0.2s; }
.footer .fsoc a:hover { background: var(--teal); color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; }

/* ---------- POST HEADER (single — theme color behind title) ---------- */
.post-header { background: var(--teal-deep); color: #fff; padding: 24px 0 20px; position: relative; }
.post-header .breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.post-header .breadcrumb a { color: rgba(255,255,255,0.92); transition: color 0.2s; }
.post-header .breadcrumb a:hover { color: var(--aqua); }
.post-header .breadcrumb span { margin: 0 8px; opacity: 0.5; }
.post-header .cat-pill { display: inline-block; background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 30px; margin-bottom: 10px; transition: background 0.2s, transform 0.2s; }
.post-header a.cat-pill:hover { background: var(--coral); color: #fff; text-decoration: none; transform: translateY(-1px); }
.post-header h1.entry-title,
.post-header h1 { font-family: "Poppins", sans-serif; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; color: #ffffff; line-height: 1.25; letter-spacing: -0.015em; -webkit-font-smoothing: antialiased; max-width: 900px; margin: 6px 0 12px; }
.post-header .post-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.85); padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 14px; }
.post-header .post-meta .author { display: inline-flex; align-items: center; gap: 10px; color: #fff; white-space: nowrap; }
.post-header .post-meta .author img { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.5); object-fit: cover; display: block; }
.post-header .post-meta .author span { display: inline-flex; align-items: center; gap: 6px; }
.post-header .post-meta .author b { display: inline; font-weight: 600; color: #fff; }
.post-header .post-meta .author small { display: inline; font-size: 0.82rem; opacity: 0.8; }
.post-header .post-meta .dot { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.post-header .post-meta .dot svg { vertical-align: middle; display: inline-block; flex-shrink: 0; }

.article-featured-media { margin: 0 0 28px; }
.article-featured-media .featured-img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); display: block; }

/* ---------- CONTENT LAYOUT (single/archive with sidebar) ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 28px 0 60px; }

/* ---------- ARTICLE ---------- */
.article { font-family: "Lora", Georgia, serif; font-size: 1.02rem; color: #2c3c43; }
.article .lead { font-size: 1.15rem; color: var(--teal-deep); font-weight: 500; line-height: 1.55; margin-bottom: 24px; }
.article p { margin-bottom: 20px; }
.article h2 { font-family: "Poppins", sans-serif; font-size: 1.4rem; font-weight: 600; color: var(--teal-deep); margin: 36px 0 14px; scroll-margin-top: 100px; }
.article h3 { font-family: "Poppins", sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--teal-dark); margin: 24px 0 10px; }
.article ul { margin: 0 0 22px 4px; }
.article ul li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; background: var(--teal); border-radius: 50%; }
.article ol { margin: 0 0 22px 22px; }
.article img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 0; }
.article figure { margin: 30px 0; }
.article figure figcaption { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 10px; font-style: italic; }
.article a { color: var(--teal); font-weight: 600; border-bottom: 1px solid rgba(18,179,196,0.3); }
.article a:hover { color: var(--coral); }
blockquote { border-left: 4px solid var(--teal); background: var(--sand); padding: 22px 26px; border-radius: 0 12px 12px 0; margin: 30px 0; font-style: italic; color: var(--teal-deep); font-size: 1.15rem; }
.tipbox { font-family: "Poppins", sans-serif; background: linear-gradient(135deg, rgba(18,179,196,0.08), rgba(53,214,209,0.12)); border: 1px solid rgba(18,179,196,0.25); border-radius: var(--radius); padding: 22px 24px; margin: 30px 0; font-size: 0.95rem; }
.tipbox b { color: var(--teal-deep); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

/* ---------- TABLES & BLOCK TABLES ---------- */
.article table,
.wp-block-table,
.wp-block-table table {
  width: 100% !important;
  height: auto !important;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 61, 71, 0.06);
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 0.94rem;
}

.wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article table caption,
.wp-block-table caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

.article table thead,
.wp-block-table thead {
  background: var(--teal-deep);
  color: #ffffff;
}

.article table th,
.wp-block-table th {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 2px solid var(--teal);
  background: var(--teal-deep);
}

.article table td,
.wp-block-table td {
  padding: 14px 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  text-align: left;
  transition: background 0.15s ease;
}

.article table td:last-child,
.wp-block-table td:last-child {
  font-weight: 600;
  color: var(--teal-dark);
}

.article table tbody tr:last-child td,
.wp-block-table tbody tr:last-child td {
  border-bottom: none;
}

.article table tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.article table tbody tr:hover,
.wp-block-table tbody tr:hover {
  background: rgba(18, 179, 196, 0.06);
}

.post-footer { font-family: "Poppins", sans-serif; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags a { background: #f1f6f7; color: var(--teal-dark); font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 30px; }
.tags a:hover { background: var(--teal); color: #fff; }
.share { display: flex; align-items: center; gap: 10px; }
.share span { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.share a { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-deep); color: #fff; display: grid; place-items: center; transition: background 0.2s, transform 0.2s; }
.share a:hover { background: var(--teal); transform: translateY(-3px); }

.author-box { font-family: "Poppins", sans-serif; display: flex; gap: 24px; align-items: flex-start; background: var(--sand); border-radius: var(--radius); padding: 28px; margin-top: 36px; border: 1px solid rgba(10,61,71,0.06); }
.author-box .author-avatar-link { display: block; flex: none; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); transition: transform 0.2s ease; }
.author-box .author-avatar-link:hover img { transform: scale(1.05); }
.author-box .author-info { flex: 1; min-width: 0; }
.author-box .author-header-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.author-box .author-label { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.72rem; }
.author-box .author-role-badge { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.author-box h4.author-name { font-size: 1.18rem; font-weight: 600; margin: 0 0 6px; }
.author-box h4.author-name a { color: var(--teal-deep); transition: color 0.2s; }
.author-box h4.author-name a:hover { color: var(--teal); }
.author-box p, .author-box .author-bio-content p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; line-height: 1.55; }
.author-box .author-bio-content p:last-child { margin-bottom: 0; }
.author-box .author-meta-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(10,61,71,0.08); }
.author-box .author-posts-count { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--teal-dark); background: rgba(18,179,196,0.1); padding: 5px 12px; border-radius: 20px; transition: background 0.2s; }
.author-box .author-posts-count:hover { background: var(--teal); color: #fff; }
.author-box .author-social-links { display: flex; align-items: center; gap: 8px; }
.author-box .author-social-links a { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--teal-deep); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,0.06); transition: all 0.2s; }
.author-box .author-social-links a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* ---------- SIDEBAR ---------- */
.sidebar { font-family: "Poppins", sans-serif; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 26px; }
.widget.sticky { position: sticky; top: 100px; }
.widget h4, .widget h2.widget-title, .widget .widget-title { font-size: 1rem; color: var(--teal-deep); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.widget ul li a { color: var(--muted); }
.widget ul li a:hover { color: var(--teal); }
.widget-categories ul li { margin-bottom: 8px; }
.widget-categories ul li a { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.widget-categories ul li a:hover { color: var(--teal); }
.widget-categories .count-badge { background: rgba(18,179,196,0.1); color: var(--teal-dark); font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.toc li { margin-bottom: 10px; }
.toc a { font-size: 0.9rem; color: var(--muted); display: flex; gap: 8px; transition: color 0.2s; }
.toc a:hover { color: var(--teal); }
.toc a::before { content: "•"; color: var(--teal); }
.mini { display: flex; gap: 14px; margin-bottom: 18px; }
.mini:last-child { margin-bottom: 0; }
.mini img { width: 78px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.mini h5 { font-size: 0.9rem; color: var(--ink); line-height: 1.35; }
.mini small { color: var(--muted); font-size: 0.78rem; }
.mini:hover h5 { color: var(--teal); }
.side-cta { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.side-cta h4 { color: #fff; justify-content: center; }
.side-cta p { font-size: 0.88rem; opacity: 0.9; margin: 8px 0 16px; }
.side-cta input { width: 100%; border: none; border-radius: 40px; padding: 12px 18px; font-family: inherit; margin-bottom: 10px; outline: none; }
.side-cta .btn { width: 100%; justify-content: center; }

/* ---------- RELATED ---------- */
.related { background: var(--sand); padding: 70px 0; }
.related .head { text-align: center; margin-bottom: 44px; }
.related .head span { color: var(--teal); font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.related .head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; color: var(--teal-deep); margin-top: 8px; }

/* ---------- COMMENTS ---------- */
.comments { font-family: "Poppins", sans-serif; margin-top: 46px; }
.comments h3, .comments-title { font-size: 1.3rem; color: var(--teal-deep); margin-bottom: 24px; }
.commentlist { }
.comment { display: flex; gap: 16px; margin-bottom: 24px; }
.comment img.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.comment .comment-body { background: #f7fafb; border-radius: 14px; padding: 16px 20px; flex: 1; }
.comment .comment-body b, .comment .fn { color: var(--teal-deep); font-weight: 700; font-style: normal; }
.comment .comment-body small { color: var(--muted); margin-left: 8px; font-size: 0.78rem; }
.comment .comment-body p { font-size: 0.92rem; color: #45555c; margin-top: 6px; }
.comment .comment-body a { color: var(--teal); font-size: 0.8rem; font-weight: 600; margin-top: 8px; display: inline-block; }
.comment .children { list-style: none; margin: 0 0 0 60px; }
.comment-form-wrap, .comment-respond { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 30px; }
.comment-respond h3, .comment-form-wrap h4 { color: var(--teal-deep); margin-bottom: 16px; }
.comment-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-family: inherit; font-size: 0.9rem; margin-bottom: 14px; outline: none; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--teal); }

/* ---------- READING PROGRESS ---------- */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--amber), var(--coral)); z-index: 200; transition: width 0.1s; }

/* ---------- CATEGORY LISTING HERO ---------- */
.cat-hero { position: relative; color: #fff; text-align: center; padding: 28px 0 24px; background: var(--teal-deep); }
.cat-hero .breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.cat-hero .breadcrumb a:hover { color: var(--aqua); }
.cat-hero .breadcrumb span { margin: 0 8px; opacity: 0.6; }
.cat-hero h1 { font-size: clamp(1.85rem, 3.8vw, 2.6rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; -webkit-font-smoothing: antialiased; margin: 4px 0 8px; }
.cat-hero p { max-width: 620px; margin: 8px auto 0; opacity: 0.92; font-size: 0.95rem; }
.cat-hero .count { display: inline-block; margin-top: 12px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); padding: 5px 16px; border-radius: 30px; font-size: 0.82rem; font-weight: 600; }

/* ---------- FILTER BAR ---------- */
.filterbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 71px; z-index: 90; }
.filterbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a, .filters button { font-family: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--muted); transition: all 0.2s; }
.filters a:hover, .filters button:hover { border-color: var(--teal); color: var(--teal); }
.filters a.active, .filters button.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.sortby { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.sortby select { font-family: inherit; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); background: #fff; }

.main-list { padding: 32px 0 40px; }

/* FEATURED POST (category) */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 50px; }
.featured .img { min-height: 340px; background-size: cover; background-position: center; position: relative; }
.featured .flag { position: absolute; top: 18px; left: 18px; background: var(--coral); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 30px; }
.featured .content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured .cat { color: var(--teal); font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--teal-deep); font-weight: 600; line-height: 1.2; margin: 10px 0 14px; }
.featured p { color: var(--muted); margin-bottom: 20px; }
.featured .meta { display: flex; align-items: center; gap: 16px; font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.featured .meta .author { display: flex; align-items: center; gap: 8px; }
.featured .meta .author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

/* POST GRID */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; color: var(--ink); transition: all 0.2s; }
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current, .pagination a.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination .nav-btn { padding: 0 18px; }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ---------- CATEGORIES HUB PAGE ---------- */
.page-hero { position: relative; color: #fff; text-align: center; padding: 72px 0 80px; background: linear-gradient(rgba(10,61,71,0.72), rgba(10,138,153,0.8)), url("https://images.unsplash.com/photo-1505118380757-91f5f5632de0?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat; }
.page-hero.archive-hero { background: linear-gradient(rgba(10,61,71,0.78), rgba(10,138,153,0.82)), url("https://images.unsplash.com/photo-1473116763249-2faaef81ccda?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat; }
.page-hero .breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.82); margin-bottom: 16px; }
.page-hero .breadcrumb a:hover { color: var(--aqua); }
.page-hero .breadcrumb span { margin: 0 8px; opacity: 0.6; }
.page-hero .eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--aqua); margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; text-shadow: 0 6px 30px rgba(0,0,0,0.25); }
.page-hero p { max-width: 640px; margin: 16px auto 0; opacity: 0.92; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card { position: relative; height: 340px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; align-items: flex-end; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.1); }
.cat-card .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,39,45,0.92) 8%, rgba(10,61,71,0.35) 55%, rgba(10,61,71,0.1) 100%); }
.cat-card .info { position: relative; z-index: 2; padding: 26px; color: #fff; width: 100%; }
.cat-card .badge { display: inline-block; background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 30px; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.5rem; font-weight: 600; }
.cat-card p { font-size: 0.9rem; opacity: 0.9; margin-top: 6px; }
.cat-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--aqua); transition: gap 0.25s ease; }
.cat-card:hover .go { gap: 12px; }
.cat-card .stretch { position: absolute; inset: 0; z-index: 3; }

.topics { background: var(--sand); }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.topic { background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: 0 10px 26px rgba(10,61,71,0.06); transition: transform 0.25s, box-shadow 0.25s; position: relative; }
.topic:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.topic .ico { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; background: linear-gradient(135deg, var(--teal), var(--aqua)); color: #fff; }
.topic h3 { font-size: 1.1rem; color: var(--teal-deep); }
.topic p { font-size: 0.85rem; color: var(--muted); margin: 6px 0 12px; }
.topic .count { font-size: 0.78rem; font-weight: 700; color: var(--teal); letter-spacing: 0.5px; }
.topic:nth-child(2) .ico { background: linear-gradient(135deg, var(--amber), var(--coral)); }
.topic:nth-child(3) .ico { background: linear-gradient(135deg, #6c8cff, #35d6d1); }
.topic:nth-child(4) .ico { background: linear-gradient(135deg, #ff7a4d, #ffb057); }
.topic:nth-child(5) .ico { background: linear-gradient(135deg, #12b3c4, #0a8a99); }
.topic:nth-child(6) .ico { background: linear-gradient(135deg, #35d6d1, #12b3c4); }
.topic:nth-child(7) .ico { background: linear-gradient(135deg, #f7941d, #ff7a4d); }
.topic:nth-child(8) .ico { background: linear-gradient(135deg, #0a8a99, #6c8cff); }

.stats { background: var(--teal-deep); color: #fff; padding: 54px 0; }
.stats .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.stats .stat b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--aqua); }
.stats .stat small { font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }

/* ---------- ARCHIVE TIMELINE ---------- */
.year-bar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 71px; z-index: 90; }
.year-bar .container { display: flex; align-items: center; gap: 10px; padding: 16px 0; flex-wrap: wrap; }
.year-bar .label { font-size: 0.82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-right: 6px; }
.year-bar a { font-family: inherit; font-size: 0.9rem; font-weight: 700; padding: 8px 18px; border-radius: 30px; border: 1px solid var(--line); color: var(--muted); transition: all 0.2s; }
.year-bar a:hover { border-color: var(--teal); color: var(--teal); }
.year-bar a.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.year-block { margin-bottom: 50px; scroll-margin-top: 140px; }
.year-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.year-head h2 { font-size: 2rem; font-weight: 600; color: var(--teal-deep); }
.year-head .line { flex: 1; height: 2px; background: var(--line); }
.year-head .total { font-size: 0.8rem; font-weight: 700; color: var(--teal); background: rgba(18,179,196,0.1); padding: 5px 14px; border-radius: 30px; }
.month-block { margin-bottom: 30px; }
.month-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 14px; }
.month-title::before { content: none; }
.arch-list { border-left: 2px solid var(--line); margin-left: 8px; }
.arch-item { position: relative; display: flex; align-items: center; gap: 18px; padding: 14px 0 14px 28px; transition: transform 0.2s; }
.arch-item::before { content: ""; position: absolute; left: -7px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); transition: background 0.2s, border-color 0.2s; }
.arch-item:hover { transform: translateX(4px); }
.arch-item:hover::before { background: var(--amber); border-color: var(--amber); }
.arch-item .thumb { width: 78px; height: 60px; border-radius: 10px; object-fit: cover; flex: none; box-shadow: 0 6px 14px rgba(10,61,71,0.12); }
.arch-item .txt { flex: 1; }
.arch-item .txt .cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--amber); }
.arch-item .txt h3 { font-size: 1.02rem; color: var(--teal-deep); line-height: 1.35; margin-top: 2px; }
.arch-item:hover .txt h3 { color: var(--teal); }
.arch-item .date { font-size: 0.82rem; color: var(--muted); flex: none; white-space: nowrap; }
.arch-months li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.arch-months li:last-child { border-bottom: none; }
.arch-months a { color: var(--muted); transition: color 0.2s; }
.arch-months a:hover { color: var(--teal); }
.arch-months .num { background: #f1f6f7; color: var(--teal-dark); font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; }

/* ---------- 404 / SEARCH ---------- */
.mini-hero { text-align: center; padding: 90px 0; background: var(--sand); }
.mini-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--teal-deep); font-weight: 600; }
.mini-hero p { color: var(--muted); margin: 12px 0 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .quicknav .container { grid-template-columns: repeat(2, 1fr); }
  .cards, .blog-grid, .grid { grid-template-columns: repeat(2, 1fr); }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .imgwrap img { height: 320px; }
  .footer .grid-f, .footer .grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .widget.sticky { position: static; }
  .featured { grid-template-columns: 1fr; }
  .featured .img { min-height: 260px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px; box-shadow: var(--shadow); gap: 2px; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav ul ul { position: static; box-shadow: none; padding: 0 0 0 16px; }
  .nav li:hover > ul { display: none; }
  .menu-toggle { display: block; }
  .header .search, .topbar .links { display: none; }
  .hero { min-height: 540px; }
  .filterbar, .year-bar { position: static; }
}
@media (max-width: 560px) {
  .cards, .blog-grid, .grid, .food-grid, .quicknav .container, .cat-grid, .topic-grid { grid-template-columns: 1fr; }
  .footer .grid-f, .footer .grid { grid-template-columns: 1fr; }
  .subscribe { flex-direction: column; gap: 8px; background: transparent; box-shadow: none; }
  .subscribe input { background: #fff; border-radius: 40px; padding: 14px 20px; }
  .event { flex-wrap: wrap; }
  .event .go { margin-left: 0; }
  .comment-form .row { grid-template-columns: 1fr; }
  .comment .children { margin-left: 24px; }
  .author-box { flex-direction: column; text-align: center; }
  .post-footer { flex-direction: column; align-items: flex-start; }
  .arch-item .date { display: none; }
  .featured .content { padding: 26px; }
}
/* ---------- SVG ICONS ---------- */
.cc-ico { display: inline-block; vertical-align: middle; flex: none; }
.qcard .ico svg, .topic .ico svg { width: 30px; height: 30px; }
.card .meta svg, .card .foot svg, .featured .meta svg, .post-meta .dot svg, .arch-item .cat svg { vertical-align: -0.15em; margin-right: 3px; }
.feature-list li .chk svg { width: 14px; height: 14px; }
.header .search button svg { display: block; }
.topbar .socials a svg, .footer .fsoc a svg, .share a svg, .menu-toggle svg { vertical-align: middle; }
.widget h4 svg, .month-title svg, .cat-hero .count svg, .page-hero .count svg, .featured .meta .author svg { vertical-align: -0.15em; }

/* ---------- WP NAV MENU carets + ancestor active ---------- */
.nav .current-menu-ancestor > a, .nav .current-category-ancestor > a { background: var(--amber); color: #fff; }
.nav .menu-item-object-category > a::after { content: " \25BE"; font-size: 0.7rem; opacity: 0.7; }
@media (max-width: 768px) { .nav .menu-item-object-category > a::after { content: ""; } }

/* ---------- TOP BAR MENU ---------- */
.topbar .links ul { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.topbar .links li { position: relative; }

/* ---------- SEARCH FORM + EMPTY STATE ---------- */
.cc-searchform { display: flex; max-width: 540px; margin: 24px auto 0; background: #fff; border-radius: 40px; padding: 6px; box-shadow: var(--shadow); }
.cc-searchform input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; padding: 0 20px; font-family: inherit; font-size: 0.95rem; color: var(--ink); }
.cc-searchform button { display: inline-flex; align-items: center; gap: 8px; flex: none; background: var(--amber); color: #fff; border: none; border-radius: 40px; padding: 12px 22px; font-family: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.cc-searchform button:hover { background: var(--coral); transform: translateY(-1px); }
.cc-searchform button svg { flex: none; }

.search-empty { max-width: 620px; margin: 0 auto; text-align: center; padding: 60px 0 20px; }
.search-empty-icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: var(--teal); background: rgba(18,179,196,0.12); }
.search-empty h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--teal-deep); font-weight: 800; }
.search-empty p { color: var(--muted); margin: 12px 0 6px; }
@media (max-width: 560px) { .cc-searchform button span { display: none; } }

/* ---------- MOBILE TAP TARGETS ---------- */
@media (max-width: 768px) {
  .nav a { padding: 14px 16px; }
  .topbar .links a, .topbar .socials a { padding: 6px 4px; display: inline-block; }
}

/* ---------- CUSTOM LOGO (uploaded via Customizer) ---------- */
.logo--image { line-height: 0; }
.logo .custom-logo-link { display: inline-flex; align-items: center; }
.logo img.custom-logo { max-height: 48px; width: auto; height: auto; display: block; }

/* ---------- AGENT / A11Y: skip link, screen-reader text, main ---------- */
main.site-main { display: block; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100001; width: auto; height: auto; background: #fff; color: var(--teal-deep); padding: 10px 18px; border-radius: 8px; box-shadow: 0 8px 24px rgba(10,61,71,0.2); font-weight: 700; text-decoration: none; }
