/* Shared CSS for Fréttirnar.is */

       
        /* Article page (/frett/*) — Cloudflare Worker injects #article-wrapper
           into this page, so the styles must live here, not in shell.html. */
        #article-wrapper {
            position: static;
            background: white;
            color: #18181b;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            overflow: hidden;
            border-bottom: 1px solid #e4e4e7;
        }
        #article-wrapper .news-summary { max-width: 650px; margin: 0 auto; transition: all 0.3s ease; }
        #article-wrapper .news-summary h1,
        #article-wrapper .news-summary h1 a,
        #article-wrapper .article-title,
        #article-wrapper .article-title a,
        body.dark-mode #article-wrapper .article-title,
        body.dark-mode #article-wrapper .article-title a { margin: 0 0 12px 0; font-size: 1.8rem; line-height: 1.2; color: #000000 !important; text-decoration: none; }
        #article-wrapper .summary-content { color: #3f3f46; line-height: 1.6; font-size: 1.05rem; transition: opacity 0.2s ease; }
        #article-wrapper .meta-info { font-size: 0.85rem; color: #71717a; margin-top: 12px; }
        #article-wrapper .read-more-btn { display: inline-block; margin-top: 16px; padding: 10px 20px; background: #2563eb; color: white; text-decoration: none; border-radius: 6px; font-weight: 500; font-size: 0.95rem; }
        #article-wrapper.collapsed { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); background: #fafafa; }
        #article-wrapper.collapsed .news-summary { padding: 12px 20px; cursor: pointer; }
        #article-wrapper.collapsed h1 { font-size: 1.1rem; margin: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
        #article-wrapper.collapsed .summary-content,
        #article-wrapper.collapsed .meta-info,
        #article-wrapper.collapsed .read-more-btn {
            opacity: 0; max-height: 0; margin: 0; padding: 0; overflow: hidden; pointer-events: none;
        }
        @media (max-width: 688px) {
            #article-wrapper .news-summary { padding: 12px 16px; }
            #article-wrapper .news-summary h1 { font-size: 1.35rem; }
            #article-wrapper .summary-content { font-size: 0.95rem; }
        }

        :root {
            --apple-bg: #000000;
            --apple-surface: #1c1c1e;
            --apple-text: #f5f5f7;
            --apple-text-secondary: #a1a1a6;
            --apple-border: rgba(255,255,255,0.08);
            --apple-blue: #0071e3;
            --apple-blue-hover: #0077ed;
            --apple-header-bg: rgba(22,22,23,0.72);
            --apple-chip-bg: rgba(255,255,255,0.08);
            --apple-chip-bg-active: #f5f5f7;
            --apple-chip-text-active: #1d1d1f;
            --apple-radius: 18px;
            --apple-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.5);
            --apple-shadow-hover: 0 0 60px 10px rgba(0,0,0,0.95), 0 0 160px 40px rgba(0,0,0,0.85);
        }

        body {
            min-height:1200px;
            margin: 0;
            padding: 0;
            background-color: var(--apple-bg);
            color: var(--apple-text);
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            letter-spacing: -0.01em;
            overflow: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
        }
        
        /* Webkit scrollbar styles (Chrome, Safari, Edge) */
        body::-webkit-scrollbar {
            width: 6px; /* Make it thin */
            background: transparent; /* Ensure track background is transparent */
        }
        
        body::-webkit-scrollbar-track {
            background: transparent; /* Transparent track */
            border: none; /* Remove any borders */
        }
        
        body::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.2) !important; /* Force almost transparent black */
            border-radius: 3px;
            border: none; /* Remove any borders that might show grey */
            box-shadow: none; /* Remove any shadows */
        }
        
        body::-webkit-scrollbar-thumb:hover {
            background-color: rgba(0, 0, 0, 0.4) !important; /* Force slightly more visible black on hover */
        }
        
        body::-webkit-scrollbar-corner {
            background: transparent; /* Transparent corner where scrollbars meet */
        }

        /* Dark mode styles */
       

        #new-posts-alert {
            position: fixed;
            top: 80px;
            left: 50%;
            transform: translateX(-50%);
            background-color: var(--apple-blue);
            color: white;
            padding: 12px 22px;
            border-radius: 980px;
            cursor: pointer;
            display: none;
            z-index: 1000;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: -0.01em;
            box-shadow: 0 8px 24px rgba(0,113,227,0.35);
            transition: background-color 0.2s, transform 0.2s;
        }

        #new-posts-alert:hover {
            background-color: var(--apple-blue-hover);
            transform: translateX(-50%) translateY(-1px);
        }

        .site-header {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            background-color: var(--apple-header-bg);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            color: var(--apple-text);
            text-align: center;
            padding: 14px 0;
            z-index: 1000;
            transition: padding 0.25s ease;
        }

        .header-inner {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header-search-slot {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
        }
        .header-search-slot:empty { display: none; }
        .header-search-slot .search-filter {
            flex-basis: auto;
            width: auto;
        }
        .header-search-slot .search-filter input[type="search"] {
            width: 240px;
        }
        @media (max-width: 688px) {
            .header-search-slot { display: none !important; }
        }

        .site-header h1 {
            margin: 0;
            font-size: 1.6em;
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        .site-header a {
            color: var(--apple-text);
            text-decoration: none;
            display: inline-block;
        }

        /* SVG Logo Styles */
        #logoSvg {
            height: 32px;
            width: auto;
            display: block;
            margin: 0 auto;
        }
        #logoSvg text { 
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; 
            font-size: 52px; 
            font-weight: 900; 
            letter-spacing: -2.5px;
        }
        .frettirnar { fill: #ffffff; }
        .dotIs { fill: url(#accentGradLight); }

        @media (prefers-color-scheme: dark) {
            .frettirnar { fill: var(--apple-text); }
            .dotIs { fill: url(#accentGradDark); }
        }

        #dotIsGroup { opacity: 0; }
        .crash-arrive {
            animation: flyInFromBack 0.5s cubic-bezier(0.5, 0, 0.2, 1) forwards;
            animation-delay: 1s;
        }
        .crash-shake {
            animation: shakeImpact 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
            animation-delay: 1.45s;
        }

        @keyframes flyInFromBack {
            0% { opacity: 0; transform: scale(0) translateX(200px) translateY(-50px); }
            50% { opacity: 1; }
            90% { transform: scale(1.1) translateX(-5px) translateY(0); }
            100% { opacity: 1; transform: scale(1) translateX(0) translateY(0); }
        }
        @keyframes shakeImpact {
            0% { transform: translateX(0); }
            20% { transform: translateX(-10px) rotate(-1deg); }
            40% { transform: translateX(8px) rotate(1deg); }
            60% { transform: translateX(-6px) rotate(0deg); }
            80% { transform: translateX(3px); }
            100% { transform: translateX(0); }
        }

        .articles-container {
            padding: 16px 16px 32px;
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(303px, 1fr));
            gap: 10px;
        }

        .articles-container.fullwidth {
            width: 95%;
            max-width: none;
        }
       
        @media (max-width: 688px) {
            .articles-container {
                grid-template-columns: 1fr;
                margin: 0;
                max-width: 100%;
                width: 100%;
                padding: 0;
                gap: 8px;
            }

            .article {
                width: 100%;
                margin: 0;
                border-radius: 0;
            }
        }

        .article {
            overflow: hidden;
            border-radius: var(--apple-radius);
            box-shadow: var(--apple-shadow);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            position: relative;
            background-color: var(--apple-surface);
        }

        .article:hover {
            box-shadow: var(--apple-shadow);
        }

        .article.new-post {
            box-shadow: 0 0 0 2px var(--apple-blue), var(--apple-shadow);
            animation: newPostPulse 2s ease-in-out;
        }

        @keyframes newPostPulse {
            0% { box-shadow: 0 0 0 2px var(--apple-blue), var(--apple-shadow); }
            50% { box-shadow: 0 0 0 2px rgba(0,113,227,0.5), var(--apple-shadow); }
            100% { box-shadow: 0 0 0 2px var(--apple-blue), var(--apple-shadow); }
        }

        .article img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        @media (max-width: 688px) {
            .article {
                border-radius: 0;
            }
            .article-time,
            .article-category {
                border-radius: 0;
            }
        }

        .article-metadata {
            position: absolute;
            top: 12px;
            left: 12px;
            right: 12px;
            padding: 0;
            display: flex;
            justify-content: space-between;
            color: white;
            font-size: 0.78em;
            font-weight: 500;
            letter-spacing: -0.005em;
        }

        .article-time {
            background-color: rgba(0,0,0,0.55);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 5px 10px;
            border-radius: 980px;
        }

        .article-category {
            background-color: rgba(0,0,0,0.55);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 5px 10px;
            border-radius: 980px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .article-category:hover {
            background-color: rgba(0,0,0,0.75);
        }

        .article-content {
            padding: 16px 18px 18px;
            background-color: var(--apple-surface);
        }

        .article-title {
            font-size: 1.15em;
            font-weight: 600;
            line-height: 1.3;
            letter-spacing: -0.02em;
            margin: 0 0 8px 0;
            color: var(--apple-text);
        }

        .article-title a, a {
            color: var(--apple-text);
            text-decoration: none;
        }

        .article-title a:hover {
            color: var(--apple-blue);
        }

        .article-excerpt {
            color: var(--apple-text-secondary);
            font-size: 0.92em;
            line-height: 1.5;
            letter-spacing: -0.005em;
            margin: 0;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            word-break: break-word;
        }

        #loading {
            text-align: center;
            padding: 20px;
            color: var(--apple-text-secondary);
            display: none;
        }

        .article-placeholder {
            background: #ececef;
            animation: loading 1.5s infinite;
        }

        .article-placeholder img {
            background: #dedee2;
            min-height: 200px;
        }

        .article-placeholder .article-title {
            background: #dedee2;
            border-radius: 6px;
            height: 20px;
            margin: 10px 0;
            width: 80%;
        }

        .article-placeholder .article-excerpt {
            background: #dedee2;
            border-radius: 6px;
            height: 14px;
            margin: 8px 0;
            width: 90%;
        }
        @keyframes loading {
            0% { opacity: 0.6; }
            50% { opacity: 0.8; }
            100% { opacity: 0.6; }
        }

        /* Add only these new CSS rules */
        .category-filters {
            position: sticky;
            top: 56px;
            left: 0;
            right: 0;
            background-color: var(--apple-header-bg);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            padding: 0;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
            z-index: 999;
            transition: all 0.3s ease;
        }

        .category-filter {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--apple-text);
            cursor: pointer;
            background-color: var(--apple-chip-bg);
            padding: 6px 12px;
            border-radius: 980px;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: -0.005em;
            transition: background-color 0.2s, color 0.2s;
            user-select: none;
        }

        .category-filter:hover {
            background-color: rgba(0,0,0,0.09);
        }

        .category-filter input {
            cursor: pointer;
            accent-color: var(--apple-blue);
        }

        /* Hidden keyword filter (with remove button) */
        .keyword-filter {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: white;
        }

        .keyword-filter .remove-keyword {
            background: transparent;
            border: none;
            color: #ff8888;
            cursor: pointer;
            font-size: 16px;
            padding: 0 4px;
            line-height: 1;
        }

        .keyword-filter .remove-keyword:hover {
            color: #ff4444;
        }

        /* Add-keyword form */
        .add-keyword-form {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .add-keyword-form input[type="text"] {
            padding: 6px 10px;
            border-radius: 980px;
            border: 1px solid var(--apple-border);
            background-color: rgba(0,0,0,0.04);
            color: var(--apple-text);
            font-size: 13px;
            width: 130px;
            outline: none;
            transition: border-color 0.2s, background-color 0.2s;
        }

        .add-keyword-form input[type="text"]:focus {
            border-color: var(--apple-blue);
            background-color: var(--apple-surface);
        }

        .add-keyword-form button {
            padding: 6px 14px;
            border-radius: 980px;
            border: none;
            background-color: var(--apple-blue);
            color: white;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
        }

        .add-keyword-form button:hover {
            background-color: var(--apple-blue-hover);
        }

        .mobile-menu .add-keyword-form {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 6px;
            margin: 10px 0;
        }

        .mobile-menu .add-keyword-form input[type="text"] {
            flex: 1;
            width: 100%;
            box-sizing: border-box;
        }

        .mobile-menu .add-keyword-form button {
            width: 100%;
        }

        /* Search input in filter menu */
        .search-filter {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-basis: 100%;
            width: 100%;
        }

        .search-filter input[type="search"] {
            padding: 7px 14px;
            border-radius: 980px;
            border: 1px solid var(--apple-border);
            background-color: rgba(0,0,0,0.04);
            color: var(--apple-text);
            font-size: 13px;
            width: 260px;
            max-width: 100%;
            outline: none;
            transition: border-color 0.2s, background-color 0.2s;
        }

        .search-filter input[type="search"]:focus {
            border-color: var(--apple-blue);
            background-color: var(--apple-surface);
        }

        .mobile-menu .search-filter {
            display: flex;
            margin: 10px 0;
        }

        .mobile-menu .search-filter input[type="search"] {
            flex: 1;
            width: 100%;
            box-sizing: border-box;
        }

        /* Collapsed state for category filters: hide chips but keep the search box visible */
        .category-filters.scrolled > *:not(.search-filter) {
            display: none !important;
        }

        /* Force-visible overrides scrolled hiding (user toggled it back on) */
        .category-filters.force-visible > *:not(.search-filter) {
            display: inline-flex !important;
        }

        /* Floating button to reopen the filter menu when hidden */
        .filter-toggle {
            position: fixed;
            top: 10px;
            right: 16px;
            z-index: 1001;
            background-color: var(--apple-blue);
            color: white;
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            font-size: 18px;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(0,113,227,0.35);
            transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
            padding: 0;
            line-height: 1;
        }

        .filter-toggle:hover {
            background-color: var(--apple-blue-hover);
            transform: scale(1.05);
        }

        /* Show toggle button when filters are hidden via scroll, but not when force-visible */
        .filter-toggle.visible {
            display: flex;
        }

        @media (max-width: 688px) {
            .filter-toggle {
                display: none !important; /* Use mobile menu on small screens */
            }
        }

        /* Light mode: keep body black and header/menu dark-frosted; only article cards become bright white with dark text */
        @media (prefers-color-scheme: light) {
            body:not(.dark-mode) .article,
            body:not(.dark-mode) .article-content { background-color: #ffffff; }
            body:not(.dark-mode) .article-title,
            body:not(.dark-mode) .article-title a { color: #1d1d1f; }
            body:not(.dark-mode) .article-title a:hover { color: var(--apple-blue); }
            body:not(.dark-mode) .article-excerpt { color: #4d4d50; }
            body:not(.dark-mode) .article-placeholder { background: #ececef; }
            body:not(.dark-mode) .article-placeholder img,
            body:not(.dark-mode) .article-placeholder .article-title,
            body:not(.dark-mode) .article-placeholder .article-excerpt { background: #dedee2; }
        }

        body.light-mode .article,
        body.light-mode .article-content { background-color: #ffffff; }
        body.light-mode .article-title,
        body.light-mode .article-title a { color: #1d1d1f; }
        body.light-mode .article-title a:hover { color: var(--apple-blue); }
        body.light-mode .article-excerpt { color: #4d4d50; }
        body.light-mode .article-placeholder { background: #ececef; }
        body.light-mode .article-placeholder img,
        body.light-mode .article-placeholder .article-title,
        body.light-mode .article-placeholder .article-excerpt { background: #dedee2; }

        /* Manual dark mode override classes (Apple-style true black + #1c1c1e cards) */
        body.dark-mode {
            background-color: #000000;
            color: #f5f5f7;
            --apple-bg: #000000;
            --apple-surface: #1c1c1e;
            --apple-text: #f5f5f7;
            --apple-text-secondary: #a1a1a6;
            --apple-border: rgba(255,255,255,0.08);
            --apple-header-bg: rgba(22,22,23,0.72);
            --apple-chip-bg: rgba(255,255,255,0.08);
            --apple-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.5);
            --apple-shadow-hover: 0 0 60px 10px rgba(0,0,0,0.95), 0 0 160px 40px rgba(0,0,0,0.85);
        }

        body.dark-mode .article { background-color: var(--apple-surface); box-shadow: var(--apple-shadow); }
        body.dark-mode .article-content { background-color: var(--apple-surface); }
        body.dark-mode .article-title,
        body.dark-mode .article-title a { color: var(--apple-text); }
        body.dark-mode .article-title a:hover { color: #2997ff; }
        body.dark-mode .article-excerpt { color: var(--apple-text-secondary); }
        body.dark-mode a { color: var(--apple-text); }
        body.dark-mode .category-filter { color: var(--apple-text); background-color: var(--apple-chip-bg); }
        body.dark-mode .category-filter:hover { background-color: rgba(255,255,255,0.12); }
        body.dark-mode .add-keyword-form input[type="text"],
        body.dark-mode .search-filter input[type="search"] {
            background-color: rgba(255,255,255,0.06);
            color: var(--apple-text);
            border-color: var(--apple-border);
        }
        body.dark-mode .article-placeholder { background: #1c1c1e; }
        body.dark-mode .article-placeholder img,
        body.dark-mode .article-placeholder .article-title,
        body.dark-mode .article-placeholder .article-excerpt { background: #2c2c2e; }

        @media (prefers-color-scheme: dark) {
            body:not(.light-mode) {
                background-color: #000000;
                color: #f5f5f7;
                --apple-bg: #000000;
                --apple-surface: #1c1c1e;
                --apple-text: #f5f5f7;
                --apple-text-secondary: #a1a1a6;
                --apple-border: rgba(255,255,255,0.08);
                --apple-header-bg: rgba(22,22,23,0.72);
                --apple-chip-bg: rgba(255,255,255,0.08);
                --apple-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.5);
                --apple-shadow-hover: 0 0 60px 10px rgba(0,0,0,0.95), 0 0 160px 40px rgba(0,0,0,0.85);
            }
            body:not(.light-mode) .article,
            body:not(.light-mode) .article-content { background-color: var(--apple-surface); }
            body:not(.light-mode) .article-title,
            body:not(.light-mode) .article-title a { color: var(--apple-text); }
            body:not(.light-mode) .article-title a:hover { color: #2997ff; }
            body:not(.light-mode) .article-excerpt { color: var(--apple-text-secondary); }
            body:not(.light-mode) a { color: var(--apple-text); }
            body:not(.light-mode) .category-filter { color: var(--apple-text); background-color: var(--apple-chip-bg); }
            body:not(.light-mode) .article-placeholder { background: #1c1c1e; }
            body:not(.light-mode) .article-placeholder img,
            body:not(.light-mode) .article-placeholder .article-title,
            body:not(.light-mode) .article-placeholder .article-excerpt { background: #2c2c2e; }
        }

        /* Mobile Menu Styles */
        .mobile-menu-toggle {
            display: none;
            position: fixed;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(28, 28, 30, 0.75);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            color: white;
            padding: 12px 10px;
            border-radius: 14px 0 0 14px;
            cursor: pointer;
            z-index: 1001;
            box-shadow: -4px 0 14px rgba(0,0,0,0.15);
        }

        .mobile-menu {
            position: fixed;
            right: -260px;
            top: 0;
            width: 260px;
            height: 100vh;
            background: rgba(28, 28, 30, 0.72);
            backdrop-filter: saturate(180%) blur(24px);
            -webkit-backdrop-filter: saturate(180%) blur(24px);
            border-left: 1px solid rgba(255,255,255,0.08);
            padding: 20px;
            box-sizing: border-box;
            transition: right 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
            z-index: 1002;
            display: flex;
            flex-direction: column;
            color: #f5f5f7;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu .close-button {
            position: absolute;
            right: 18px;
            top: 16px;
            color: #f5f5f7;
            cursor: pointer;
            font-size: 26px;
            line-height: 1;
        }

        .mobile-menu h3 {
            color: #f5f5f7;
            font-weight: 600;
            letter-spacing: -0.02em;
            margin-bottom: 20px;
            order: -1;
        }

        /* Container for category filters */
        .mobile-menu .category-filters-container {
            display: flex;
            flex-direction: column-reverse;  /* Reverse order of items */
            margin-top: auto;                /* Push to bottom */
            margin-bottom: 50px;             /* Space from bottom */
            overflow-y: auto;                /* Allow scrolling if needed */
        }

        .mobile-menu .category-filter {
            margin: 10px 0;
            padding: 6px 0;
            display: flex;
            align-items: center;
            font-size: 14px;
        }

        .mobile-menu input[type="checkbox"] {
            margin-right: 8px;
            width: 18px;
            height: 18px;
        }

        @media (max-width: 688px) {
            .mobile-menu-toggle {
                display: block !important; /* Always show on mobile */
            }

            .category-filters {
                display: flex !important;
                overflow-x: auto;
                flex-wrap: nowrap;
                justify-content: flex-start;
                padding: 8px 12px;
                gap: 6px;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            .category-filters::-webkit-scrollbar {
                display: none;
            }
            .category-filter {
                flex-shrink: 0;
            }

            .articles-container {
                margin-top: 0; /* header is sticky, takes its own space */
            }

            body.scrolled .mobile-menu-toggle {
                display: block !important;
            }

            body.scrolled .category-filters {
                display: none !important;
            }

            .mobile-menu .category-filter {
                margin: 10px 0;
            }
        }

        .mobile-menu .select-all-button {
            margin: 10px 0 20px 0;
            width: 100%;
            padding: 12px;
            font-size: 16px;
            order: 1;
        }

        .select-all-button {
            background: var(--apple-blue);
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 980px;
            cursor: pointer;
            margin-bottom: 15px;
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.2s, transform 0.1s;
        }

        .select-all-button:hover { background: var(--apple-blue-hover); }
        .select-all-button:active { background: #0066cc; transform: scale(0.98); }

        a.menu-link { text-decoration: none; }
        .mobile-menu a.menu-link { color: #f5f5f7; }

        .top-button {
            position: fixed;
            bottom: 32px;
            right: 24px;
            background: var(--apple-blue);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 980px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            letter-spacing: -0.01em;
            z-index: 1003;
            display: none;
            transition: opacity 0.3s, background-color 0.2s, transform 0.2s;
            opacity: 0;
            box-shadow: 0 8px 24px rgba(0,113,227,0.35);
        }

        .top-button.visible {
            display: block;
            opacity: 1;
        }

        .top-button:hover { background: var(--apple-blue-hover); transform: translateY(-1px); }
        .top-button:active { background: #0066cc; transform: translateY(0); }

        .article-time.old-article {
            color: #ff6b6b;
        }

        /* Cookie consent — non-blocking bottom bar (GDPR/ePrivacy compliant:
           reject is as easy as accept, granular choice, re-openable). */
        #cookie-banner {
            position: fixed;
            left: 16px;
            right: 16px;
            bottom: 16px;
            margin: 0 auto;
            max-width: 760px;
            background: rgba(22, 22, 23, 0.82);
            color: #f5f5f7;
            padding: 22px 24px;
            font-size: 16px;
            z-index: 1000;
            border-radius: 18px;
            box-shadow: 0 12px 48px rgba(0,0,0,0.35);
            backdrop-filter: saturate(180%) blur(24px);
            -webkit-backdrop-filter: saturate(180%) blur(24px);
        }

        html.cookies-decided #cookie-banner { display: none; }

        #cookie-banner h2 {
            margin: 0 0 8px;
            font-size: clamp(18px, 4vw, 22px);
            letter-spacing: -0.01em;
        }

        #cookie-banner p {
            margin: 0 0 16px;
            line-height: 1.6;
            font-size: clamp(14px, 3.5vw, 16px);
            color: #d2d2d7;
        }

        #cookie-banner a { color: #2997ff; text-decoration: underline; }

        #cookie-banner .cookie-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 0 0 18px;
            padding: 14px 16px;
            background: rgba(255,255,255,0.06);
            border-radius: 12px;
        }

        #cookie-banner .cookie-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            font-size: 14px;
            line-height: 1.4;
            text-align: left;
        }

        #cookie-banner .cookie-toggle small { color: #a1a1a6; }
        #cookie-banner .cookie-toggle input { width: 20px; height: 20px; accent-color: var(--apple-blue); flex: none; }

        #cookie-banner .cookie-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: flex-end;
        }

        #cookie-banner .cookie-btn {
            border: none;
            padding: 12px 22px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            border-radius: 980px;
            transition: all 0.2s ease;
            letter-spacing: -0.01em;
        }

        #cookie-banner .cookie-btn-primary { background: var(--apple-blue); color: #fff; }
        #cookie-banner .cookie-btn-primary:hover { background: var(--apple-blue-hover); transform: translateY(-1px); }
        #cookie-banner .cookie-btn-secondary { background: rgba(255,255,255,0.14); color: #f5f5f7; }
        #cookie-banner .cookie-btn-secondary:hover { background: rgba(255,255,255,0.24); }

        @media (max-width: 520px) {
            #cookie-banner .cookie-buttons { justify-content: stretch; }
            #cookie-banner .cookie-btn { flex: 1 1 auto; }
        }

        /* Floating button to re-open consent settings at any time. */
        #cookie-reopen {
            position: fixed;
            left: 16px;
            bottom: 16px;
            z-index: 999;
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 50%;
            background: rgba(22, 22, 23, 0.82);
            color: #fff;
            font-size: 20px;
            line-height: 44px;
            text-align: center;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
        }
        #cookie-reopen:hover { transform: translateY(-1px); }

        /* Utility Bar (Veður, gengi, færð) */
        .utility-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            padding: 7px 16px;
            background: rgba(0,0,0,0.03);
            border-bottom: 1px solid var(--apple-border);
            font-size: 12px;
            font-weight: 500;
            color: var(--apple-text-secondary);
            flex-wrap: wrap;
            transition: all 0.3s ease;
        }
        body.dark-mode .utility-bar { background: rgba(255,255,255,0.03); }
        @media (prefers-color-scheme: dark) {
            body:not(.light-mode) .utility-bar { background: rgba(255,255,255,0.03); }
        }
        .util-item { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; transition: color 0.2s; }
        a.util-item:hover { color: var(--apple-blue); }
        .util-sep { opacity: 0.25; }
        @media (max-width: 520px) {
            .utility-bar { gap: 8px; font-size: 11px; padding: 6px 8px; }
            .util-hide-mobile { display: none; }
        }

        /* 1-Click Dark Mode Toggle Button in Header */
        .dark-mode-btn {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--apple-chip-bg);
            border: 1px solid var(--apple-border);
            color: var(--apple-text);
            border-radius: 50%;
            width: 36px;
            height: 36px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: background-color 0.2s, transform 0.2s;
            z-index: 1001;
            padding: 0;
            line-height: 1;
        }
        .dark-mode-btn:hover {
            background: rgba(0,113,227,0.2);
            transform: translateY(-50%) scale(1.06);
        }
        @media (max-width: 688px) {
            .dark-mode-btn { right: 44px; /* to left of mobile menu toggle */ }
        }

        /* Hero Card (Höfuðfrétt) */
        @media (min-width: 689px) {
            .article.hero-card {
                grid-column: span 2;
                display: grid;
                grid-template-columns: 1.2fr 1fr;
                align-items: stretch;
            }
            .article.hero-card img {
                height: 100%;
                min-height: 280px;
                max-height: 380px;
            }
            .article.hero-card .article-content {
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 24px;
            }
            .article.hero-card .article-title {
                font-size: 1.55em;
                margin-bottom: 12px;
            }
            .article.hero-card .article-excerpt {
                font-size: 1.05em;
                -webkit-line-clamp: 5;
            }
        }
        .hero-badge {
            display: inline-block;
            background: linear-gradient(135deg, #ff3b30, #ff9500);
            color: white;
            font-size: 11px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 980px;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        /* Bookmarks (⭐ Mínar fréttir) */
        .bookmark-btn {
            position: relative;
            background: rgba(0,0,0,0.55);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: none;
            color: #fff;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.2s ease;
            z-index: 10;
            padding: 0;
            line-height: 1;
            flex-shrink: 0;
        }
        .bookmark-btn:hover { background: rgba(0,0,0,0.8); transform: scale(1.1); }
        .bookmark-btn.saved { background: #ff9500; color: #fff; }
        
        .special-tab.active-tab {
            background-color: var(--apple-blue) !important;
            color: white !important;
        }

/* Weather & Page Specific Styles */

        /* Main Content Container matching front page width and feel */
        .container {
            max-width: 1000px;
            margin: 24px auto 60px;
            padding: 0 16px;
        }

        /* Station Selector Bar */
        .station-bar-wrapper {
            margin-bottom: 24px;
        }

        .location-status {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            font-size: 13px;
            color: var(--apple-text-secondary);
            margin-bottom: 12px;
            padding: 0 4px;
        }

        .gps-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--apple-blue);
            color: white;
            border: none;
            padding: 8px 18px;
            border-radius: 980px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .gps-btn:hover {
            background: var(--apple-blue-hover);
            transform: scale(1.03);
        }

        .station-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding-bottom: 6px;
        }

        .station-pills::-webkit-scrollbar {
            display: none;
        }

        .station-pill {
            background: var(--apple-surface);
            color: var(--apple-text);
            border: 1px solid var(--apple-border);
            padding: 8px 16px;
            border-radius: 980px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s ease;
        }

        .station-pill:hover {
            border-color: var(--apple-blue);
        }

        .station-pill.active {
            background: var(--apple-blue);
            color: white;
            border-color: var(--apple-blue);
            box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
        }

        /* Hero Weather Card matching front page article card styles */
        .hero-card {
            background-color: var(--apple-surface);
            border: 1px solid var(--apple-border);
            border-radius: var(--apple-radius);
            padding: 36px 24px;
            text-align: center;
            box-shadow: var(--apple-shadow);
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            transition: box-shadow 0.3s ease;
        }

        .hero-station-name {
            font-size: 30px;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 6px;
        }

        .hero-temp-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin: 16px 0;
        }

        .hero-icon {
            font-size: 72px;
            line-height: 1;
        }

        .hero-temp {
            font-size: 76px;
            font-weight: 200;
            letter-spacing: -0.04em;
            line-height: 1;
        }

        .hero-desc {
            font-size: 20px;
            font-weight: 600;
            color: var(--apple-blue);
            margin-bottom: 8px;
        }

        .hero-hilo {
            font-size: 15px;
            color: var(--apple-text-secondary);
            font-weight: 500;
        }

        .api-badge {
            display: inline-block;
            margin-top: 18px;
            padding: 6px 14px;
            border-radius: 980px;
            background: var(--apple-chip-bg);
            border: 1px solid var(--apple-border);
            font-size: 12px;
            color: var(--apple-text-secondary);
            font-weight: 500;
        }

        /* Grid Layout for sections */
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        @media (min-width: 768px) {
            .grid-2 {
                grid-template-columns: 1.2fr 0.8fr;
            }
        }

        /* Section Card matching front page articles */
        .section-card {
            background-color: var(--apple-surface);
            border: 1px solid var(--apple-border);
            border-radius: var(--apple-radius);
            padding: 24px;
            box-shadow: var(--apple-shadow);
            margin-bottom: 20px;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--apple-text-secondary);
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--apple-border);
        }

        /* Hourly Scroll */
        .hourly-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding-bottom: 8px;
            scrollbar-width: thin;
        }

        .hourly-scroll::-webkit-scrollbar {
            height: 6px;
        }

        .hourly-scroll::-webkit-scrollbar-thumb {
            background: rgba(128, 128, 128, 0.3);
            border-radius: 3px;
        }

        .hour-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            min-width: 60px;
            text-align: center;
            padding: 10px 6px;
            border-radius: 14px;
            transition: background 0.2s;
        }

        .hour-item.current-hour {
            background: var(--apple-chip-bg);
            border: 1px solid var(--apple-blue);
        }

        .hour-time {
            font-size: 14px;
            color: var(--apple-text-secondary);
            font-weight: 500;
        }

        .hour-item.current-hour .hour-time {
            color: var(--apple-blue);
            font-weight: 700;
        }

        .hour-icon {
            font-size: 28px;
            margin: 0;
        }

        .hour-temp {
            font-size: 17px;
            font-weight: 600;
        }

        .hour-wind {
            font-size: 12px;
            color: var(--apple-text-secondary);
        }

        /* 7-Day Daily List */
        .daily-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .daily-item {
            display: grid;
            grid-template-columns: 110px 36px 1fr 40px 80px;
            align-items: center;
            gap: 12px;
            font-size: 15px;
            font-weight: 500;
        }

        .daily-day {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .daily-icon {
            font-size: 22px;
            text-align: center;
        }

        .daily-bar-wrapper {
            position: relative;
            height: 6px;
            background: var(--apple-chip-bg);
            border-radius: 3px;
            overflow: hidden;
        }

        .daily-bar-fill {
            position: absolute;
            top: 0;
            bottom: 0;
            background: linear-gradient(90deg, #30d158, #ff9500);
            border-radius: 3px;
        }

        .daily-temp-min {
            color: var(--apple-text-secondary);
            text-align: right;
            font-size: 14px;
        }

        .daily-temp-max {
            font-weight: 600;
            text-align: right;
            font-size: 15px;
        }

        /* Details Grid */
        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 14px;
        }

        .detail-box {
            background: var(--apple-chip-bg);
            border: 1px solid var(--apple-border);
            border-radius: 16px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .detail-label {
            font-size: 12px;
            color: var(--apple-text-secondary);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .detail-val {
            font-size: 24px;
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        .detail-sub {
            font-size: 12px;
            color: var(--apple-text-secondary);
            margin-top: 4px;
        }

        /* Loading & Error States */
        #loader {
            text-align: center;
            padding: 60px 20px;
            font-size: 16px;
            color: var(--apple-text-secondary);
        }

        .spinner {
            display: inline-block;
            width: 36px;
            height: 36px;
            border: 3px solid var(--apple-border);
            border-radius: 50%;
            border-top-color: var(--apple-blue);
            animation: spin 1s ease-in-out infinite;
            margin-bottom: 12px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @media (max-width: 520px) {
            .hero-temp { font-size: 60px; }
            .hero-icon { font-size: 56px; }
            .daily-item { grid-template-columns: 85px 30px 1fr 35px 70px; font-size: 14px; }
        }

/* Static Pages Styles (personuvernd.html, hafa-samband.html) */
body.static-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    line-height: 1.7;
}
body.static-page .card {
    background: #fff;
    border-radius: 16px;
    padding: 4px 24px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
body.dark-mode.static-page .card,
@media (prefers-color-scheme: dark) {
    body.static-page:not(.light-mode) .card {
        background: #1c1c1e;
    }
}
body.static-page h1 { font-size: clamp(28px, 6vw, 40px); letter-spacing: -0.02em; }
body.static-page h2 { margin-top: 40px; font-size: clamp(20px, 4vw, 26px); }
body.static-page .back { display: inline-block; margin-bottom: 24px; text-decoration: none; color: var(--apple-blue, #0071e3); }
body.static-page .email { font-size: clamp(18px, 4vw, 22px); font-weight: 500; }
body.static-page table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
body.static-page th, body.static-page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(128,128,128,0.25); vertical-align: top; }
body.static-page button.reopen {
    border: none; background: #0071e3; color: #fff; padding: 12px 22px;
    border-radius: 980px; font-size: 15px; cursor: pointer;
}

/* Shell Page Styles (shell.html) */
#frontpage-container { max-width: 650px; margin: 32px auto; padding: 0 20px; }
#frontpage-news-list,
#homepage-list ul,
#homepage-list ol { list-style: none; padding: 0; margin: 0; }
.frontpage-item { background: white; margin-bottom: 12px; padding: 16px 20px; border-radius: 8px; border: 1px solid #e4e4e7; transition: transform 0.15s ease; }
.frontpage-item:hover { transform: translateY(-1px); border-color: #cbd5e1; }
.frontpage-item a { text-decoration: none; color: #18181b; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.item-title { font-weight: 500; line-height: 1.4; }
.item-source { font-size: 0.75rem; font-weight: 600; color: #4b5563; background: #f3f4f6; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }


/* Site-wide Light Mode variables */
body.light-mode {
    --apple-bg: #000000;
    --apple-surface: #ffffff;
    --apple-text: #1d1d1f;
    --apple-text-secondary: #6e6e73;
    --apple-border: rgba(0,0,0,0.08);
    --apple-header-bg: rgba(22,22,23,0.72);
    --apple-chip-bg: rgba(0,0,0,0.05);
    --apple-chip-bg-active: #1d1d1f;
    --apple-chip-text-active: #ffffff;
    --apple-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
@media (prefers-color-scheme: light) {
    body:not(.dark-mode) {
        --apple-bg: #000000;
        --apple-surface: #ffffff;
        --apple-text: #1d1d1f;
        --apple-text-secondary: #6e6e73;
        --apple-border: rgba(0,0,0,0.08);
        --apple-header-bg: rgba(22,22,23,0.72);
        --apple-chip-bg: rgba(0,0,0,0.05);
        --apple-chip-bg-active: #1d1d1f;
        --apple-chip-text-active: #ffffff;
        --apple-shadow: 0 4px 24px rgba(0,0,0,0.08);
    }
}

/* Weather Page Light Mode Override: cards turn light, body background stays dark/same */
body.light-mode.weather-page {
    --apple-bg: #000000;
    --apple-surface: #ffffff;
    --apple-text: #1d1d1f;
    --apple-text-secondary: #6e6e73;
    --apple-border: rgba(0,0,0,0.12);
    --apple-chip-bg: rgba(0,0,0,0.05);
    --apple-shadow: 0 4px 24px rgba(0,0,0,0.15);
    --apple-header-bg: rgba(22,22,23,0.72);
}

@media (prefers-color-scheme: light) {
    body.weather-page:not(.dark-mode) {
        --apple-bg: #000000;
        --apple-surface: #ffffff;
        --apple-text: #1d1d1f;
        --apple-text-secondary: #6e6e73;
        --apple-border: rgba(0,0,0,0.12);
        --apple-chip-bg: rgba(0,0,0,0.05);
        --apple-shadow: 0 4px 24px rgba(0,0,0,0.15);
        --apple-header-bg: rgba(22,22,23,0.72);
    }
}
body.light-mode .site-header,
body.light-mode .utility-bar,
body.light-mode .location-status,
body.light-mode .site-header a,
body.light-mode .utility-bar .util-item,
body:not(.dark-mode) .site-header,
body:not(.dark-mode) .utility-bar,
body:not(.dark-mode) .location-status,
body:not(.dark-mode) .site-header a,
body:not(.dark-mode) .utility-bar .util-item {
    color: #ffffff;
}
body.light-mode .frettirnar,
body:not(.dark-mode) .frettirnar {
    fill: #ffffff;
}

/* Unified Weather Forecast Tabs */
.forecast-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.forecast-tabs {
    display: inline-flex;
    gap: 6px;
    background: var(--apple-chip-bg);
    padding: 6px;
    border-radius: 980px;
    border: 1px solid var(--apple-border);
}
.forecast-tab {
    background: transparent;
    border: none;
    color: var(--apple-text-secondary);
    padding: 10px 22px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.forecast-tab:hover {
    color: var(--apple-text);
}
.forecast-tab.active {
    background: var(--apple-surface);
    color: var(--apple-text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
body.light-mode .forecast-tab.active {
    background: #ffffff;
    color: #1d1d1f;
}


/* Interactive Weather Map Markers */
.custom-map-icon {
    background: transparent;
    border: none;
}
.map-station-pill {
    background: var(--apple-surface);
    color: var(--apple-text);
    border: 1.5px solid var(--apple-border);
    padding: 5px 11px;
    border-radius: 980px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translate(-50%, -50%);
}
.map-station-pill:hover {
    border-color: var(--apple-blue);
    transform: translate(-50%, -50%) scale(1.12);
    z-index: 1000 !important;
}
.map-station-pill.active {
    background: var(--apple-blue);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 113, 227, 0.85);
    z-index: 999 !important;
}
.map-st-temp {
    font-weight: 700;
}
body.light-mode .map-station-pill {
    background: #ffffff;
    color: #1d1d1f;
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
body.light-mode .map-station-pill.active {
    background: var(--apple-blue);
    color: #ffffff;
    border-color: #ffffff;
}
.leaflet-control-zoom a {
    background-color: var(--apple-surface) !important;
    color: var(--apple-text) !important;
    border-color: var(--apple-border) !important;
}
body.light-mode .leaflet-control-zoom a {
    background-color: #ffffff !important;
    color: #1d1d1f !important;
}
