/* ========================================
   Bo i Upplands Väsby — Original WP Replica
   Background photo, white content areas
   Accent: #8e44ad (green), text: #333
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', Verdana, Geneva, sans-serif;
    background: url('/images/tyreso_foto.jpg') center 35px / 100% auto no-repeat #e8e8e8;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

a { color: #c0392b; text-decoration: none; transition: color .2s; }
a:hover { color: #e74c3c; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: Verdana, Geneva, sans-serif;
    color: #222;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

.inner {
    max-width: 1264px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---- Topbar: FULL-WIDTH black strip ---- */
.topbar {
    background: #1e1e1e;
    width: 100%;
    z-index: 10;
    position: relative;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
}
.topbar-left a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-right: 20px;
}
.topbar-left a:hover { color: #8e44ad; }
.topbar-right { display: flex; gap: 12px; align-items: center; }
.topbar-right a { color: #aaa; }
.topbar-right a:hover { color: #8e44ad; }

/* ---- Header (transparent — bg image is on body) ---- */
.header-hero {
    position: relative;
    z-index: 5;
}
.header-logo-area {
    padding: 20px 0 15px;
}
.header-logo-area .logo img {
    height: 166px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* ---- Boxed content wrapper (nav + ticker + content inside .inner) ---- */
.boxed-content-wrapper {
    position: relative;
    z-index: 5;
}

/* ---- Navigation Bar (dark, inside wrapper) ---- */
.navigation {
    background: rgba(30, 30, 30, 0.95);
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
.main-menu {
    list-style: none;
    display: flex;
}
.main-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all .2s;
    font-family: Verdana, Geneva, sans-serif;
}
.main-menu li:first-child a {
    padding-left: 5px;
}
.main-menu li a:hover { color: #8e44ad; }
.main-menu li.active a { color: #c0392b; }
.nav-toggle { display: none; }
.nav-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
}
.nav-search input {
    background: transparent;
    border: none;
    color: #ddd;
    padding: 7px 14px;
    font-size: 13px;
    outline: none;
    width: 0;
    transition: width .3s, background .3s, border .3s;
}
.nav-search:focus-within input,
.nav-search:hover input {
    width: 160px;
    background: rgba(255,255,255,0.12);
    border: 1px solid #666;
    border-radius: 3px 0 0 3px;
}
.nav-search input::placeholder { color: #888; }
.nav-search button {
    background: transparent;
    border: none;
    padding: 12px 5px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
}
.nav-search button:hover { color: #8e44ad; }
.nav-search button svg { width: 20px; height: 20px; }

/* ---- News Ticker (inside wrapper) ---- */
.news-ticker {
    background: #fff;
    overflow: hidden;
    position: relative;
    z-index: 9;
    margin-top: 8px;
}
.ticker-inner {
    display: flex;
    align-items: stretch;
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}
.ticker-label {
    background: #8e44ad;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 28px 0 20px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}
.ticker-label::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent #8e44ad;
}
.ticker-wrap {
    overflow: hidden;
    flex: 1;
    margin-left: 16px;
}
.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 50s linear infinite;
    align-items: center;
    height: 40px;
}
.ticker-text {
    display: inline-flex;
    align-items: center;
    padding-right: 40px;
}
.ticker-content a {
    color: #222;
    font-size: 13px;
    font-weight: 600;
    padding: 0 4px;
    white-space: nowrap;
}
.ticker-content a:hover { color: #000; text-decoration: underline; }
.ticker-sep { color: #c0392b; font-size: 16px; font-weight: 900; padding: 0 8px; }
.ticker-clock {
    background: #3a3a3a;
    color: #8e44ad;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    margin: 0;
    border: none;
    border-left: 1px solid #555;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Content (transparent so body bg shows through gaps) ---- */
.site-content {
    padding: 0;
    min-height: 60vh;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* ---- PAGE GRID: 3 continuous dynamic columns ---- */
.page-grid {
    display: grid;
    grid-template-columns: 50% 19% 31%;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
}
.col-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.col-middle {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.col-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* ---- Featured Banner Slider ---- */
.featured-slider {
    position: relative;
    overflow: hidden;
    background: #333;
}
.featured-slide {
    display: none;
    width: 100%;
    position: relative;
}
.featured-slide.active { display: block; }
.featured-slide .slide-img {
    width: 100%;
    height: auto;
    display: block;
}
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.slide-title {
    color: #fff;
    font-size: 20px;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    line-height: 1.3;
}
.slider-arrows {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 3px;
    z-index: 3;
}
.slider-arrows button {
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.slider-arrows button:hover { background: #8e44ad; color: #242525; }

/* ---- Slider Thumbnails (single row, white border) ---- */
.slider-thumbs {
    display: flex;
    gap: 0;
    margin-top: 3px;
    overflow: hidden;
}
.slider-thumb-item {
    flex: 1;
    min-width: 0;
    display: block;
    overflow: hidden;
    opacity: 0.6;
    transition: opacity .2s;
    border-right: 2px solid #fff;
}
.slider-thumb-item:last-child { border-right: none; }
.slider-thumb-item.active,
.slider-thumb-item:hover { opacity: 1; }
.slider-thumb-img {
    width: 100%;
    height: 55px;
    background-size: cover;
    background-position: center;
    background-color: #555;
}

/* ---- Toppnyheter (middle column) ---- */
.top-middle .widget-body { background: #fff; }
.toppnyhet-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ccc;
}
.toppnyhet-item:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.toppnyhet-img {
    width: 100%;
    height: 110px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    margin-bottom: 6px;
}
.toppnyhet-text h4 {
    font-size: 13px;
    margin: 0 0 3px 0;
    line-height: 1.3;
}
.toppnyhet-text h4 a { color: #333; }
.toppnyhet-text h4 a:hover { color: #c0392b; }
.toppnyhet-text .meta { font-size: 11px; color: #999; }

/* ---- YouTube Block ---- */
.yt-block { display: block; background: #1a1a1a; }
.yt-thumb {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(200, 0, 0, 0.85);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}
.yt-info {
    padding: 10px 12px;
    background: #1a1a1a;
}
.yt-info strong { display: block; color: #8e44ad; font-size: 12px; text-transform: uppercase; }
.yt-info span { font-size: 11px; color: #888; }

/* ---- Widgets for all 3 columns ---- */

/* ---- Widgets (sidebar + top area) ---- */
.widget {
    background: #fff;
    overflow: hidden;
}
.widget-head {
    background: #3a3a3a;
    color: #fff;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.widget-body {
    padding: 12px;
}
.widget-body ul {
    list-style: none;
}
.widget-body ul li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}
.widget-body ul li:last-child { border: none; }
.widget-body ul li a {
    color: #555;
    font-size: 12px;
}
.widget-body ul li a:hover { color: #c0392b; }

/* ---- Categories widget: YELLOW with full list ---- */
.widget-categories-list {
    background: #8e44ad;
    padding: 12px;
}
.widget-categories-list ul li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.widget-categories-list ul li a {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}
.widget-categories-list ul li a:hover {
    color: #000;
}
.widget-categories-list::-webkit-scrollbar { width: 6px; }
.widget-categories-list::-webkit-scrollbar-track { background: #1e8449; }
.widget-categories-list::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* ---- Popular post item ---- */
.popular-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.popular-item:last-child { border: none; }
.popular-item .pop-thumb {
    width: 70px;
    height: 55px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: #eee;
}
.popular-item h4 {
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
}
.popular-item h4 a { color: #333; }
.popular-item h4 a:hover { color: #c0392b; }
.popular-item .meta { font-size: 11px; color: #999; }
.rating-stars { color: #8e44ad; font-size: 14px; margin-top: 2px; }

/* ---- Event items ---- */
.event-item {
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
}
.event-item:last-of-type { border-bottom: none; }
.event-date {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.event-item h4 { font-size: 13px; margin: 0 0 3px; }
.event-item h4 a { color: #333; }
.event-item h4 a:hover { color: #c0392b; }
.event-item p { font-size: 12px; color: #666; margin: 0; line-height: 1.4; }

/* ---- Post Cards (white bg) ---- */
.post-card {
    background: #fff;
    overflow: hidden;
    transition: transform .2s;
}
.post-card:hover { transform: translateY(-2px); }
.post-card .thumb {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}
.post-card .card-body {
    padding: 12px;
}
.post-card .card-body .cat-label {
    display: inline-block;
    background: #8e44ad;
    color: #242525;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.post-card h3 {
    font-size: 14px;
    margin-bottom: 5px;
}
.post-card h3 a { color: #333; }
.post-card h3 a:hover { color: #c0392b; }
.post-card .meta {
    font-size: 11px;
    color: #999;
    display: block;
    margin-bottom: 6px;
}

/* ---- Post List (article style, white bg) ---- */
.post-list-item {
    background: #fff;
    padding: 20px;
}
.post-list-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.post-list-item h3 a { color: #333; }
.post-list-item h3 a:hover { color: #c0392b; }
.post-list-item .meta {
    font-size: 11px;
    color: #999;
    display: block;
    margin-bottom: 10px;
}
.post-list-item .excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}
.post-list-separator {
    border-bottom: 2px dashed #ccc;
}

/* ---- "LÄS MER" Button ---- */
.btn-las-mer {
    display: inline-block;
    background: #555;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all .2s;
    margin-top: 5px;
}
.btn-las-mer:hover {
    background: #8e44ad;
    color: #242525 !important;
}

/* ---- Section Headers ---- */
.section-head {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: #3a3a3a;
    padding: 10px 15px;
}
.section-head h3 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-head a.view-all {
    margin-left: auto;
    font-size: 12px;
    color: #ccc;
    font-weight: 600;
}
.section-head a.view-all:hover { color: #8e44ad; }

/* ---- Category Section ---- */
.cat-section {
    margin-bottom: 20px;
}
.cat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* ---- Dual Sections (side by side) ---- */
.dual-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
.dual-section .cat-section { margin-bottom: 0; }
.cat-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.post-card-sm .thumb { height: 130px; }

/* ---- Datatjänster section ---- */
.datatjanster-section {
    background: #fff;
    padding: 20px;
}
.dt-featured h3 { font-size: 18px; margin-bottom: 4px; }
.dt-featured h3 a { color: #333; }
.dt-featured h3 a:hover { color: #c0392b; }
.dt-featured .meta { font-size: 11px; color: #999; display: block; margin-bottom: 4px; }
.dt-stars { color: #8e44ad; font-size: 14px; margin-bottom: 10px; }
.dt-featured-content {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}
.dt-featured-img {
    width: 280px;
    height: auto;
    flex-shrink: 0;
}
.dt-featured-content .excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}
.dt-small-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.dt-small-card .thumb {
    height: 100px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    margin-bottom: 6px;
}
.dt-small-card h4 { font-size: 13px; margin: 0 0 3px; }
.dt-small-card h4 a { color: #333; }
.dt-small-card h4 a:hover { color: #c0392b; }
.dt-small-card .meta { font-size: 11px; color: #999; }
.dt-visa-mer {
    text-align: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #eee;
}
.dt-visa-mer a {
    color: #555;
    font-size: 13px;
    font-weight: 600;
}
.dt-visa-mer a:hover { color: #c0392b; }

/* ---- Bottom Message ---- */
.bottom-message {
    background: #fff;
    padding: 20px 25px;
    text-align: center;
    margin-bottom: 20px;
}
.bottom-message p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* ---- Single Post ---- */
.single-post {
    background: #fff;
    padding: 25px;
}
.single-post h1 { color: #333; margin-bottom: 15px; }
.single-post .post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.single-post .post-content {
    color: #444;
    line-height: 1.8;
    font-size: 15px;
}
.single-post .post-content p { margin-bottom: 18px; }
.single-post .post-content img {
    margin: 15px 0;
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.single-post .post-content a { color: #c0392b; }

/* ---- Category Page ---- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.blog-list { background: #fff; padding: 20px; }
.blog-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
}
.blog-item-img {
    flex-shrink: 0;
    width: 200px;
}
.blog-item-img img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 3px;
}
.blog-item-content { flex: 1; }
.blog-item-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
}
.blog-item-content h3 a { color: #333; }
.blog-item-content h3 a:hover { color: #c0392b; }
.blog-item-content .meta {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 8px;
}
.blog-item-content .excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.blog-separator {
    border: none;
    border-top: 1px solid #eee;
    margin: 0;
}
.content-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
}
.content-wrap main { min-width: 0; }
@media (max-width: 768px) {
    .content-wrap { grid-template-columns: 1fr; }
    .blog-item { flex-direction: column; }
    .blog-item-img { width: 100%; }
}

/* ---- Categories Page ---- */
.categories-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #fff;
    padding: 20px;
}
.category-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f9f9f9;
    border-left: 3px solid #8e44ad;
    transition: background .2s;
}
.category-card:hover { background: #8e44ad; }
.category-card:hover .cat-name { color: #333; }
.cat-name { font-size: 14px; font-weight: 600; color: #333; }
.cat-count { font-size: 11px; color: #999; }

/* ---- Pagination ---- */
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 20px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 6px 12px;
    background: #fff;
    color: #555;
    font-size: 13px;
}
.pagination span.current,
.pagination a:hover {
    background: #8e44ad;
    color: #242525;
}

/* ---- Footer (dark) ---- */
.footer {
    background: #1e1e1e;
    border-top: 3px solid #8e44ad;
    padding: 30px 0 15px;
    margin-top: 0;
    position: relative;
    z-index: 1;
    color: #999;
}
.footer a { color: #999; }
.footer a:hover { color: #8e44ad; }
.footer-cols {
    display: grid;
    grid-template-columns: 30% 20% 25% 25%;
    gap: 25px;
    margin-bottom: 20px;
}
.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer ul li a { color: #999; font-size: 13px; }
.footer ul li a:hover { color: #8e44ad; }
.footer p { font-size: 13px; line-height: 1.6; }

/* Footer recommendations */
.footer-rec-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-rec-thumb {
    width: 60px;
    height: 50px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border-radius: 50%;
}
.footer-rec-text a {
    display: block;
    color: #c0392b !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
.footer-rec-text a:hover { color: #e74c3c !important; }
.footer-rec-text span {
    font-size: 11px;
    color: #777;
    display: block;
    margin-top: 2px;
}
.footer-stars {
    color: #8e44ad;
    font-size: 14px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
    color: #666;
}
.footer-bottom a { color: #8e44ad; }

/* ---- Ad banner widget ---- */
.widget-ad .widget-body { background: #8e44ad !important; }

/* ---- Static Pages (about, events, video, contact) ---- */
.static-page {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
}
.static-page h1 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #8e44ad;
}
.static-page h2 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #333;
}
.static-page p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
}
.static-page ul {
    margin: 10px 0 15px 20px;
    color: #555;
    font-size: 14px;
}
.static-page ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Events grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.event-card {
    background: #f9f9f9;
    border-left: 4px solid #8e44ad;
    padding: 20px;
}
.event-card .event-date-big {
    background: #c0392b;
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.event-card h3 { font-size: 16px; margin-bottom: 6px; }
.event-card p { font-size: 13px; color: #666; margin: 0; }

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.video-card {
    background: #1a1a1a;
    overflow: hidden;
}
.video-card .video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-card .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-card .video-info {
    padding: 12px 15px;
}
.video-card .video-info h3 { color: #8e44ad; font-size: 14px; margin: 0; }
.video-card .video-info p { color: #999; font-size: 12px; margin: 4px 0 0; }

/* Contact form */
.contact-form {
    max-width: 600px;
    margin-top: 20px;
}
.contact-form .form-group {
    margin-bottom: 16px;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: inherit;
    border-radius: 3px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8e44ad;
    outline: none;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
    background: #8e44ad;
    color: #242525;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background .2s;
}
.contact-form button:hover { background: #e5b530; }

/* Contact info cards */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}
.contact-info-card {
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
}
.contact-info-card h4 { font-size: 14px; margin-bottom: 8px; color: #333; }
.contact-info-card p { font-size: 13px; color: #666; margin: 0; }
.contact-info-card a { color: #c0392b; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .page-grid { grid-template-columns: 1fr 1fr; }
    .col-right { order: 3; grid-column: 1 / -1; }
    .col-main { order: 1; }
    .col-middle { order: 2; }
}
@media (max-width: 992px) {
    .page-grid { grid-template-columns: 1fr; }
    .col-right { order: 3; grid-column: auto; }
    .col-middle { order: 2; }
    .col-main { order: 1; }
    .cat-row { grid-template-columns: repeat(2, 1fr); }
    .dual-sections { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .page-grid { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: 1fr; }
    .cat-row { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1fr; }
    .featured-slide { height: 280px; }
    .featured-slide .overlay h2 { font-size: 18px; }
    .header-logo-area { padding: 10px 0 8px; }
    .header-logo-area .logo img { height: 90px; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    .nav-toggle span { width: 22px; height: 2px; background: #8e44ad; }
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #333;
        z-index: 100;
    }
    .navigation.open .main-menu { display: flex; }
    .nav-search { display: none; }
    .navigation { position: relative; }
    .slider-thumbs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .cat-row { grid-template-columns: 1fr; }
    .slider-thumbs { grid-template-columns: 1fr 1fr; }
}

/* ========== Rating System ========== */
.rating-display { margin-top: 3px; }
.rating-display .star { color: #ddd; font-size: 14px; }
.rating-display .star.filled { color: #8e44ad; }
.rating-display .rating-num { font-size: 12px; color: #888; margin-left: 4px; }

.rating-widget {
    margin-top: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 3px solid #8e44ad;
    text-align: center;
}
.rating-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}
.rating-stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 4px;
}
.star-btn {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}
.star-btn:hover,
.star-btn.hover { color: #8e44ad; transform: scale(1.15); }
.star-btn.voted { color: #8e44ad; }
.rating-info { margin-top: 8px; font-size: 13px; color: #666; }
.rating-message { margin-top: 8px; font-size: 13px; font-weight: 600; }
.rating-message.success { color: #8e44ad; }
.rating-message.error { color: #c0392b; }

/* ========== GDPR Cookie Banner ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c2c2c;
    color: #eee;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-inner p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    min-width: 280px;
}
.cookie-inner a { color: #8e44ad; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
    background: #8e44ad;
    color: #333;
    border: none;
    padding: 10px 22px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}
.cookie-accept:hover { background: #e5b73a; }
.cookie-decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #666;
    padding: 10px 22px;
    cursor: pointer;
    font-size: 14px;
}
.cookie-decline:hover { border-color: #999; color: #fff; }
