* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
}

.site-header {
    height: 72px;
    width: 100%;
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: white;
    transition: 0.3s ease;
}


.site-header.scrolled {
    background: white;
    color: #111;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-right: 35px;
}

.main-nav a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s;
    position: relative;
}

.main-nav a:hover {
    color: #e31b2f;
}



.main-nav a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #e31b2f;

    transition: .3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 42px;
    padding: 0 20px;

    border: none;
    border-radius: 999px;

    background: rgba(17,24,39,.75);
    backdrop-filter: blur(12px);

    color: white;
    font-weight: 700;

    cursor: pointer;

    transition: .25s;
}


.hero-image {
    height: 320px;
    background-image: url("assets/images/landingpage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 60px;
}

.hero-image h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
}

.layout {
    display: flex;
    align-items: stretch;
    background: #f5f6f8;
    flex: 1;

}

.sidebar {
    width: 260px;
    min-height: 100vh;
    flex-shrink: 0;
    color: white;
    background:
        linear-gradient(
            180deg,
            #06172f 0%,
            #3b1838 38%,
            #9b1f3f 68%,
            #081426 100%
        );
    position: sticky;
    top: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

.sidebar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 360px;
    background-image:
        linear-gradient(
            180deg,
            rgba(8,20,38,0) 0%,
            rgba(8,20,38,0.35) 35%,
            rgba(8,20,38,0.9) 100%
        ),
        url("assets/images/Sidebar.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.45;
    pointer-events: none;
}

.sidebar-brand {
    position: relative;
    z-index: 2;
    padding: 32px 22px 24px;
}

.sidebar-brand img {
    width: 42px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.sidebar-brand h2 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.sidebar-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.sidebar-content {
    position: relative;
    z-index: 2;
    padding: 20px 22px;
    gap: 14px;
    display: flex;
    flex-direction: column;
}

.sidebar-toggle {
    position: absolute;
    top: 18px;
    right: 16px;
    z-index: 4;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.16);
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
}

.sidebar.collapsed .sidebar-toggle {
    top: 18px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.sidebar.collapsed .sidebar-brand {
    padding-top: 72px;
    padding-left: 0;
    text-align: center;
}

.sidebar.collapsed .sidebar-brand img {
    width: 34px;
    margin: 0 auto;
    display: block;
}

.sidebar-content a {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: white;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    text-decoration: none;

}

.sidebar-content a:hover,
.sidebar-content a.active {

    background: rgba(255, 255, 255, 0.15);
    color: white;

}
.sidebar.collapsed {
    width: 78px;
}

.sidebar.collapsed .sidebar-brand h2,
.sidebar.collapsed .sidebar-brand p,
.sidebar.collapsed .sidebar-content a {
    opacity: 0;
    pointer-events: none;
}

.sidebar.collapsed .sidebar-brand {
    padding-left: 18px;
}

.content {
    flex: 1;
    padding: 48px 48px 32px;
    background: #f5f6f8;
}

.content-inner {
    background: white;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.footer-hero {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    color: white;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;

    background:
        linear-gradient(
            180deg,
            rgba(7, 17, 35, 0.2) 0%,
            rgba(7, 17, 35, 0.4) 45%,
            rgba(7, 17, 35, 0.75) 100%
        ),
        url("assets/images/footer-sunset.png");

    background-size: cover;
    background-position: center bottom;
}

.footer-content{
    position:relative;
    z-index:2;
    padding-top:34px;
    padding-bottom:18px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 34px;
}

.footer-brand-text h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-brand-text p {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
}

.footer-baslerstab {
    width: 46px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .9;
    margin-left: auto;
    margin-top: 8px;
}

.footer-links-slim {
    display: grid;
    grid-template-columns: repeat(3, 240px);
    justify-content: start;
    gap: 120px;
    margin-top: 28px;
    margin-bottom: 34px;
}

.footer-links-slim div {
    text-align: left;
}

.footer-links-slim h3 {
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    position: relative;
}

.footer-links-slim h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 44px;
    height: 2px;
    background: #e31b2f;
}

.footer-links-slim a {
    display: block;
    width: fit-content;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links-slim a:hover {
    color: #e31b2f;
    transform: translateX(6px);
}

.footer-bottom {
    position: relative;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,0.68);
    font-size: 0.9rem;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.theme-toggle {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: #111827;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.search-area {
    margin-bottom: 30px;
}

#searchInput {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.place-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.3s ease;
}

.place-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.place-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.place-card-content {
    padding: 18px;
}

.place-card-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e31b2f;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
}

.place-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.place-card p {
    color: #555;
    line-height: 1.5;
}

.favorite-btn {
    margin-top: 14px;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    background: #f3f4f6;
    cursor: pointer;
    font-weight: 700;
}

.favorite-btn.active {
    background: #e31b2f;
    color: white;
}


body.dark-mode .content {
    background: #111827;
}

body.dark-mode .content-inner,
body.dark-mode .place-card {
    background: #1f2937;
    color: white;
}

body.dark-mode .place-card p {
    color: #d1d5db;
}

body.dark-mode #searchInput {
    background: #111827;
    color: white;
    border-color: #374151;
}

.detail-category {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e31b2f;
    color: white;
    font-weight: 700;
}

.back-btn {
    margin-bottom: 24px;
    border: none;
    background: transparent;
    color: #e31b2f;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 18px;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.detail-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    background: #111827;
    color: white;
    cursor: pointer;
    font-weight: 700;
}

body.dark-mode .site-header.scrolled {
    background: #111827;
    color: white;
}

body.dark-mode .main-nav a,
body.dark-mode .logo {
    color: white;
}

.about-page p {
    line-height: 1.6;
    margin-bottom: 16px;
}

body.dark-mode {
    background: #111827;
}

body.dark-mode .layout {
    background: #111827;
}

body.dark-mode .about-page {
    color: white;
}

body.dark-mode .about-page p {
    color: #d1d5db;
}





.landing-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url("assets/images/landingpage.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.landing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 31, 68, 0.78),
        rgba(0, 0, 0, 0.35),
        rgba(227, 27, 47, 0.35)
    );
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-left: 10%;
    color: white;
}

.landing-hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 28px;
    font-weight: 900;
}

.landing-hero-content p {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 34px;
    max-width: 560px;
}

.landing-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.landing-btn {
    display: inline-block;
    padding: 15px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.25s ease;
}

.landing-btn.primary {
    background: #e31b2f;
    color: white;
}

.landing-btn.secondary {
    background: white;
    color: #111827;
}

.landing-btn:hover {
    transform: translateY(-3px);
}


.landing-main {
    background: #f5f6f8;
}

.landing-section {
    padding: 70px 8%;
}

.highlights-preview {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 46px;
    align-items: center;
    background: white;
}

.section-text h2,
.why-basel h2 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.section-text p {
    line-height: 1.6;
    margin-bottom: 28px;
    color: #555;
}

.section-text a {
    color: #e31b2f;
    font-weight: 800;
    text-decoration: none;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.highlight-card {
    position: relative;
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    box-shadow: 0 16px 35px rgba(0,0,0,0.16);
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.highlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.78)
    );
}

.highlight-card div {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
}

.highlight-card h3 {
    margin-bottom: 6px;
}

.highlight-card p {
    font-weight: 700;
    font-size: 0.9rem;
}

.highlight-card:hover img {
    transform: scale(1.08);
}

.why-basel {
    background: #f5f6f8;
}

.why-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.why-item {
    background: white;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.why-item span {
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 14px;
}

.why-item h3 {
    margin-bottom: 8px;
}

.why-item p {
    color: #555;
    line-height: 1.5;
}

body.dark-mode .landing-main,
body.dark-mode .why-basel {
    background: #111827;
}

body.dark-mode .why-basel h2 {
    color: white;
}

body.dark-mode .why-basel p {
    color: #d1d5db;
}

body.dark-mode .highlights-preview,
body.dark-mode .why-item {
    background: #1f2937;
    color: white;
}

body.dark-mode .section-text p,
body.dark-mode .why-item p {
    color: #d1d5db;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 50px;
    border-radius: 20px;
    background: #f3f4f6;
    text-align: center;
}

.empty-state h2 {
    margin-bottom: 10px;
}

.empty-state p {
    color: #555;
}

body.dark-mode .empty-state {
    background: #111827;
    color: white;
}

body.dark-mode .empty-state p {
    color: #d1d5db;
}

.tag-filter-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.tag-filter {
    border: none;
    border-radius: 999px;
    padding: 9px 14px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.tag-filter:hover,
.tag-filter.active {
    background: #e31b2f;
    color: white;
}

body.dark-mode .tag-filter {
    background: #111827;
    color: white;
}

body.dark-mode .tag-filter:hover,
body.dark-mode .tag-filter.active {
    background: #e31b2f;
}

.detail-top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-long-text {
    margin: 22px 0 28px;
    line-height: 1.7;
    color: #333;
    font-size: 1.05rem;
    max-width: 760px;
}

.detail-info-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e5e7eb;
}

.detail-info-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-info-row a {
    color: #e31b2f;
    font-weight: 700;
    text-decoration: none;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.detail-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    font-weight: 700;
    font-size: 0.85rem;
}

.detail-map-section {
    background: white;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.map-open-btn {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px 14px;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.detail-map {
    width: 100%;
    height: 380px;
    border: none;
    border-radius: 18px;
}

.related-section h2 {
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.related-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-card div {
    padding: 16px;
}

.related-card span {
    color: #e31b2f;
    font-weight: 800;
    font-size: 0.8rem;
}

.related-card h3 {
    margin: 8px 0;
}

.related-card p {
    color: #555;
    line-height: 1.45;
    font-size: 0.9rem;
}

body.dark-mode .detail-long-text,
body.dark-mode .related-card p {
    color: #d1d5db;
}

body.dark-mode .detail-info-row {
    border-color: #374151;
}

body.dark-mode .detail-map-section,
body.dark-mode .related-card {
    background: #1f2937;
    color: white;
}

body.dark-mode .detail-tags span {
    background: #111827;
    color: white;
}

body.dark-mode .map-open-btn {
    background: #111827;
    color: white;
    border-color: #374151;
}

.detail-main-image {
    width: 100%;
    height: 560px;
    min-width: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    display: block;
}
.detail-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.detail-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 48px;
    align-items: start;
}

.detail-info-panel {
    width: 100%;
    max-width: none;
    padding: 10px 0;
}

.detail-container {
    display: block;
    width: 100%;
}

.detail-container .detail-page {
    width: 100%;
}

.detail-container .detail-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 48px;
    align-items: start;
}
.about-intro {
    margin-bottom: 42px;
}

.about-intro h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.about-intro p {
    max-width: 760px;
    line-height: 1.6;
    color: #555;
}

.about-section {
    margin-top: 54px;
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 22px;
}

.about-info-grid,
.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.about-info-card,
.about-feature-card,
.about-category-grid a {
    background: #f8f9fb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
    transition: 0.25s;
}

.about-info-card:hover,
.about-feature-card:hover,
.about-category-grid a:hover,
.about-highlight-card:hover {
    transform: translateY(-5px);
}

.about-info-card {
    font-size: 1.8rem;
}

.about-info-card h3,
.about-feature-card h3 {
    margin: 12px 0 8px;
    font-size: 1.1rem;
}

.about-info-card p,
.about-feature-card p {
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.about-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.about-highlight-card {
    position: relative;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(0,0,0,0.14);
    transition: 0.25s;
}

.about-highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-highlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}

.about-highlight-card div {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
}

.about-event-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 16px;
}

.about-event-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 16px;
    background: #f8f9fb;
    color: #111827;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.25s;
}

.about-event-list a:hover {
    background: #e31b2f;
    color: white;
}

.about-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.about-category-grid a {
    color: #111827;
    text-decoration: none;
    text-align: center;
    font-size: 2rem;
}

.about-category-grid h3 {
    margin-top: 10px;
    font-size: 1rem;
}

.about-guide-box {
    background: #f8f9fb;
    color: #111827;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.about-guide-box p {
    color: #555;
    max-width: 850px;
}

body.dark-mode .about-guide-box {
    background: #111827;
    color: white;
}

body.dark-mode .about-guide-box p {
    color: #d1d5db;
}

body.dark-mode .about-info-card,
body.dark-mode .about-feature-card {
    background: #111827;
    color: white;
}

body.dark-mode .about-info-card p,
body.dark-mode .about-feature-card p {
    color: #d1d5db;
}

body.dark-mode .about-event-list a {
    background: #111827;
    color: white;
}

body.dark-mode .about-event-list a span {
    color: #d1d5db;
}

body.dark-mode .about-event-list a:hover {
    background: #e31b2f;
    color: white;
}

body.dark-mode .about-event-list a:hover span {
    color: white;
}

body.dark-mode .about-category-grid a {
    background: #111827;
    color: white;
}

body.dark-mode .about-category-grid h3 {
    color: white;
}

.footer-landing .footer-content {
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}

.footer-with-sidebar .footer-content {
    margin-left: 215px;
    padding-left: 48px;
    padding-right: 48px;
}

.footer-with-sidebar .footer-links-slim {
    justify-content: start;
}

.footer-landing {
    width: 100%;
    max-width: none;
}

.footer-landing .footer-container {
    max-width: none;
    width: 100%;
    margin-left: 0;
}

.footer-landing .footer-content {
    width: 100%;
    max-width: none;
    margin: 0;

    padding-left: 8%;
    padding-right: 8%;
}

.about-guide-box h2 {
    margin-top: 38px;
    margin-bottom: 12px;
}

.about-guide-box h2:first-child {
    margin-top: 0;
}

.about-guide-box p {
    margin-bottom: 22px;
    line-height: 1.7;
}
.about-page {
    align-self: flex-start;
}

.about-guide-box h2 {
    margin-top: 38px;
    margin-bottom: 12px;
}

.about-guide-box h2:first-child {
    margin-top: 0;
}

.about-guide-box p {
    margin-bottom: 22px;
    line-height: 1.7;
}






/* ======================================
   RESPONSIVE DESIGN
====================================== */

@media (max-width: 1200px) {

    .main-nav {
        gap: 22px;
        margin-right: 10px;
    }

    .content {
        padding: 36px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-layout,
    .detail-container .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-main-image {
        height: 460px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-links-slim {
        gap: 70px;
    }
     .sidebar {
        display: none;
    }

    .layout {
        display: block;
    }

    .content {
        padding: 24px 16px;
    }
    .footer-with-sidebar .footer-content {
        margin-left: 0;
        padding-left: 8%;
        padding-right: 8%;
    }
}

/* iPad / tablets */
@media (max-width: 992px) {

    .site-header {
        padding: 0 24px;
    }

    .main-nav {
        gap: 18px;
        font-size: 0.9rem;
    }

    .theme-toggle,
    .nav-theme-toggle {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .hero-image {
        height: 260px;
    }

    .hero-image h1 {
        font-size: 2.4rem;
    }

    .layout {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .content {
        padding: 32px 24px;
    }

    .content-inner {
        padding: 32px;
    }

    .footer-with-sidebar .footer-content {
        margin-left: 0;
        padding-left: 8%;
        padding-right: 8%;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .site-header {
        height: auto;
        padding: 18px 20px;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 14px;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .hero-image {
        height: 220px;
        padding-bottom: 34px;
    }

    .hero-image h1 {
        font-size: 2rem;
        text-align: center;
    }

    .landing-hero-content {
        margin-left: 24px;
        margin-right: 24px;
    }

    .landing-hero-content h1 {
        font-size: 3.2rem;
    }

    .landing-hero-content p {
        font-size: 1.05rem;
    }

    .landing-actions {
        flex-direction: column;
    }

    .landing-btn {
        text-align: center;
    }

    .landing-section {
        padding: 54px 24px;
    }

    .highlights-preview {
        grid-template-columns: 1fr;
    }

    .highlight-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content {
        padding: 24px 16px;
    }

    .content-inner {
        border-radius: 18px;
        padding: 26px;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile detail page */
    .detail-layout,
    .detail-container .detail-layout {
        display: flex;
        flex-direction: column;
        gap: 28px;
        width: 100%;
    }

    .detail-main-image {
        width: 100%;
        height: 320px;
        border-radius: 18px;
        object-fit: cover;
    }

    .detail-info-panel {
        width: 100%;
        padding: 0;
        overflow-wrap: break-word;
    }

    .detail-long-text {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.65;
        margin: 18px 0 24px;
    }

    .detail-top-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .detail-top-actions .favorite-btn {
        margin-top: 0;
    }

    .detail-info-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 0;
        line-height: 1.5;
    }

    .detail-info-row strong {
        font-size: 0.95rem;
    }

    .detail-info-row span,
    .detail-info-row a {
        font-size: 0.95rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .detail-tags {
        margin-top: 20px;
        gap: 8px;
    }

    .detail-tags span {
        font-size: 0.8rem;
        padding: 7px 10px;
    }

    .detail-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .detail-map-section {
        padding: 20px;
        border-radius: 18px;
    }

    .detail-map {
        height: 300px;
        border-radius: 14px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .about-info-grid,
    .about-feature-grid,
    .about-highlight-grid,
    .about-event-list {
        grid-template-columns: 1fr;
    }

    .about-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        flex-direction: column;
        gap: 18px;
    }

    .footer-baslerstab {
        margin-left: 0;
    }

    .footer-links-slim {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* Small phones */
@media (max-width: 576px) {

    .logo {
        font-size: 1.2rem;
    }

    .main-nav {
        gap: 10px;
    }

    .main-nav a {
        font-size: 0.82rem;
    }

    .theme-toggle,
    .nav-theme-toggle {
        font-size: 0.8rem;
        padding: 9px 12px;
    }

    .landing-hero-content h1 {
        font-size: 2.6rem;
    }

    .landing-section {
        padding: 44px 18px;
    }

    .highlight-cards,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 22px 14px;
    }

    .content-inner {
        padding: 22px;
    }

    .detail-main-image {
        height: 280px;
    }

    .footer-content {
        padding-top: 30px;
        padding-bottom: 18px;
    }

    .footer-brand-text h2 {
        font-size: 1.5rem;
    }
}
