/* =========================
   CITY WALKS PAGE OVERRIDES
========================= */

/* widen the container ONLY for citywalks page */
.citywalks-page .container {
    max-width: 1200px;   /* wider than default 900px */
}

/* VIDEO GRID: 3 proper YouTube tiles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

/* video card spacing */
.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* keeps correct YouTube ratio */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* title styling */
.video-card h3 {
    padding: 10px 12px;
    font-size: 16px;
}

/* description */
.video-description {
    padding: 0 12px 12px;
    font-size: 14px;
    color: #666;
}

/* ========================= BASE RESET + GLOBAL ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

/* BODY */
body {
    margin: 0;
    padding: 0;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f2f2f2;
    color: #1a1a1a;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
}

/* CONTAINER */
.container {
    max-width: 1850px;
    margin: 0 auto;
    padding: 40px;

    background: #ffffff;
    border-radius: 0px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
    background: transparent;
    box-shadow: none;
}

/* ========================= MAIN ========================= */
main {
    padding: 20px 0;
    flex: 1;
}

h1 {
    margin-top: 0;
}

/* ========================= BLOG CONTENT ========================= */
.blog-content {
    font-size: 18px;
    line-height: 1.75;
    color: #333;
}

.blog-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 25px 0;
}

.blog-content h2 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 26px;
}

/* ========================= HERO ========================= */
.hero {
    width: 100%;
    margin: 0;
    position: relative;
    line-height: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hero-img {
        height: 240px;
    }
}

/* ========================= TOPICS ========================= */
.topics {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.topic-box {
    background: white;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.topic-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ========================= BLOG GRID ========================= */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.blog-card {
    display: block;
    background: white;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.blog-card img.thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card h3 {
    margin: 12px 15px 8px;
    font-size: 18px;
}

.blog-card p {
    color: #666;
    font-size: 14px;
    margin: 0 15px 15px;
}

/* ========================= HEADER ========================= */
header {
    background: #111;
    color: white;
    padding: 15px 0;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
}

.nav-left a,
.nav-right a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.nav-left a:hover,
.nav-right a:hover {
    color: white;
}

/* ========================= FOOTER ========================= */
footer {
    background: #111;
    color: #888;
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin: 0;
}

/* ========================= DROPDOWN (FIXED PROPERLY) ========================= */

.dropdown {
    position: relative;
}

/* MAIN MENU - HIDDEN BY DEFAULT */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* SHOW ON HOVER */
.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-item {
    position: relative;
}

.dropdown-item > a {
    display: block;
    padding: 10px;
    color: #111;
    text-decoration: none;
}

.dropdown-item > a:hover {
    background: #f2f2f2;
}

/* SUBMENU */
.dropdown-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 220px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.dropdown-item:hover > .dropdown-submenu {
    display: block;
}

/* ========================= BUTTONS ========================= */
.button,
button,
a.button {
    background: #1e73ff;
    color: white !important;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: #1558c0;
}

/* ========================= BLOG LAYOUT ========================= */
.blog-layout {
    display: flex;
    gap: 40px;
}

.blog-main {
    flex: 3;
}

.blog-sidebar {
    flex: 1;
}

/* ========================= VIDEO ========================= */
.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h3 {
    font-size: 16px;
    margin: 12px 15px 6px;
}

.video-description {
    font-size: 14px;
    color: #666;
    margin: 0 15px 15px;
}