/* Base styles and reset */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+3:400,500,600,700");

:root {
    --black: rgba(0, 0, 0, 1);
    --body-textbody-color: rgba(33, 37, 41, 1);
    --white: rgba(255, 255, 255, 1);
    --gray-400: rgba(206, 212, 218, 1);
    --hitbox: rgba(255, 255, 255, 0.0);
    --themeprimary: rgba(13, 110, 253, 1);
    --gray-900: rgba(33, 37, 41, 1);
    --blue-600: rgba(10, 88, 202, 1);
    --blue-100: rgba(231, 241, 255, 1);
    --blue-300: rgba(110, 168, 254, 1);
    --graywhite: rgba(255, 255, 255, 1);
    --componentsdropdownsborder: rgba(0, 0, 0, 0.15);
    --gray-300: rgba(222, 226, 230, 1);
    --main-red: rgba(214, 26, 56, 1);
    --gray-100: rgba(248, 249, 250, 1);
    --gray-200: rgba(233, 236, 239, 1);
    --themedark: rgba(33, 37, 41, 1);
    --blue-500: rgba(13, 110, 253, 1);
    --gray-700: rgba(73, 80, 87, 1);
    --primary-color: #d61a38;
    --text-color: #212529;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --border-color: #ced4da;
    --light-border: #dee2e6;
    --dark-gray: #343a40;
    --componentslist-groupactiontext: rgba(33, 37, 41, 0.75);
    --componentslist-groupactiondefaultdefault-background: rgba(255, 255, 255, 1);
    --themeborder: rgba(222, 226, 230, 1);
    --themebody-background: rgba(255, 255, 255, 1);
    --gray-500: rgba(173, 181, 189, 1);
    --gray-800: rgba(52, 58, 64, 1);
    --gray-600: rgba(108, 117, 125, 1);
    --body-all-caps-font-family: "Source Sans 3", Helvetica;
    --body-all-caps-font-weight: 700;
    --body-all-caps-font-size: 14px;
    --body-all-caps-letter-spacing: 0.42px;
    --body-all-caps-line-height: 150%;
    --body-all-caps-font-style: normal;
    --body-regular-font-family: "Source Sans 3", Helvetica;
    --body-regular-font-weight: 400;
    --body-regular-font-size: 16px;
    --body-regular-letter-spacing: 0px;
    --body-regular-line-height: 150%;
    --body-regular-font-style: normal;
    --body-small-font-family: "Source Sans 3", Helvetica;
    --body-small-font-weight: 400;
    --body-small-font-size: 14px;
    --body-small-letter-spacing: 0px;
    --body-small-line-height: 150%;
    --body-small-font-style: normal;
    --heading-h6-font-family: "Publico", Helvetica;
    --heading-h6-font-weight: 700;
    --heading-h6-font-size: 16px;
    --heading-h6-letter-spacing: 0px;
    --heading-h6-line-height: 120.00000762939453%;
    --heading-h6-font-style: normal;
    --body-underline-font-family: "Source Sans 3", Helvetica;
    --body-underline-font-weight: 400;
    --body-underline-font-size: 16px;
    --body-underline-letter-spacing: 0px;
    --body-underline-line-height: 150%;
    --body-underline-font-style: normal;
    --body-large-font-family: "Source Sans 3", Helvetica;
    --body-large-font-weight: 500;
    --body-large-font-size: 18px;
    --body-large-letter-spacing: 0px;
    --body-large-line-height: 150%;
    --body-large-font-style: normal;
    --body-bold-font-family: "Source Sans 3", Helvetica;
    --body-bold-font-weight: 700;
    --body-bold-font-size: 16px;
    --body-bold-letter-spacing: 0px;
    --body-bold-line-height: 150%;
    --body-bold-font-style: normal;
    --heading-h1-font-family: "Publico", Helvetica;
    --heading-h1-font-weight: 700;
    --heading-h1-font-size: 40px;
    --heading-h1-letter-spacing: 0px;
    --heading-h1-line-height: 120.00000762939453%;
    --heading-h1-font-style: normal;
    --body-mini-text-font-family: "Source Sans 3", Helvetica;
    --body-mini-text-font-weight: 500;
    --body-mini-text-font-size: 12px;
    --body-mini-text-letter-spacing: 0px;
    --body-mini-text-line-height: 150%;
    --body-mini-text-font-style: normal;
    --heading-h5-font-family: "Publico", Helvetica;
    --heading-h5-font-weight: 700;
    --heading-h5-font-size: 20px;
    --heading-h5-letter-spacing: 0px;
    --heading-h5-line-height: 120.00000762939453%;
    --heading-h5-font-style: normal;
    --body-semibold-font-family: "Source Sans 3", Helvetica;
    --body-semibold-font-weight: 600;
    --body-semibold-font-size: 16px;
    --body-semibold-letter-spacing: 0px;
    --body-semibold-line-height: 150%;
    --body-semibold-font-style: normal;
    --heading-h2-font-family: "Publico", Helvetica;
    --heading-h2-font-weight: 700;
    --heading-h2-font-size: 32px;
    --heading-h2-letter-spacing: 0px;
    --heading-h2-line-height: 120.00000762939453%;
    --heading-h2-font-style: normal;
    --active-shadow-outline-primary: 0px 0px 0px 4px rgba(13, 110, 253, 0.25);
    --regular-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #f8f9fa;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.5;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
    color: #0C2F64;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

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

/* Typography */
h1 {
    font-family: 'Publico', 'Georgia', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-family: 'Publico', 'Georgia', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-family: 'Publico', 'Georgia', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

h4 {
    font-family: 'Publico', 'Georgia', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

h5 {
    font-family: 'Publico', 'Georgia', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h6 {
    font-family: 'Publico', 'Georgia', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.layout-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    padding: 0 72px;
}

.header-actions {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}

.main-nav {
  position: sticky;
  top: 64px;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-mobile {
    position: static;
    z-index: 100;
    background: #fff;
}

.nav-active {
    border-bottom: 3px solid #D61A38;
}

.h-red-text {
    color: #d20222 !important;
}

#mobile-menu-overlay {
  position: fixed;
  top: 64px; left: 0;
  width: 100vw;
  height: calc(100vh - 64px);
  z-index: 100;
  display: none;
  background: #fff;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}

#mobile-menu-overlay.show {
  display: flex;
  align-items: end;
  animation: 0.3s ease-in-out;
}

#mobile-menu-overlay .mobile-main-nav {
  width: 100%;
}

#mobile-menu-overlay .mobile-nav-item {
  padding: 8px 16px;
  width: 100%;
  cursor: pointer;
}

#mobile-menu-overlay .mobile-nav-2 {
    border-top: 1px solid #CED4DA;
    border-bottom: 1px solid #CED4DA;
    background: #F8F9FA;
    padding: 12px 0;
}

#mobile-menu-overlay a {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  display: block;
}

#mobile-menu-overlay a:hover {
  opacity: 0.8;
}

.mobile-social-icons-nav {
    padding: 16px 52px;
}

.mobile-nav-search {
    padding: 8px 12px;
    background: #F8F9FA;
}

.show-2 {
    position: fixed !important;
    width: 100%;
}
#hamburger-icon {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#hamburger-btn.active #hamburger-icon {
  transform: rotate(90deg);
}

.min-height {
    min-height: calc(100vh - 282px);
}
.min-height-2 {
    min-height: calc(100vh - 322px);
}

.search-dropdown {
    min-width: 260px;
    top: 72px;
    left: 0px;
    animation: fadeIn 0.2s ease-in-out;
}

.btn-social.copy-url {
    background-color: #fff;
    border: 1px solid #DEE2E6;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


.child-comment .reply.text-wrapper-29 {
    display: none !important;
}

/* Sidebar */
.sidebar-ad {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 32px;
    max-width: 300px;
}

.ad-big {
    max-width: 1200px;
    max-height: 300px;
    margin: 0 auto;
    margin-bottom: 32px;
}

.ad-big-wide {
    max-width: 1200px;
    max-height: 400px;
    margin: 0 auto;
}

.ad-left-big {
    max-width: 966px;
    max-height: 204px;
    margin: 0 auto;
}

.mobile-sticky-ad {
    max-width: 600px;
    max-height: 100px;
    margin: 0 auto;
    position: sticky;
    top: 64px;
    z-index: 99;
}

.mobile-sticky-ad-2 {
    max-width: 600px;
    max-height: 100px;
    margin: 0 auto;
    position: sticky;
    bottom: 71px;
    z-index: 99;
}

.ad-kvadrata {
    max-width: 600px;
    max-height: 600px;
    margin: 0 auto;
}


input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.guest-author-input::placeholder {
    color: #888;
    font-style: italic;
}

input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  background: url('/images/calendar-icon.svg') no-repeat right 12px center;
  background-size: 14px;
  height: 24px;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
  display: none;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 380px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    box-shadow: 0px 18px 88px -4px rgba(24,39,75,0.14);
    z-index: 90;
    padding: 8px 0;
}

.mobile-bottom-nav_items {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-bottom-nav_item {
    flex: 1;
}

.mobile-bottom-nav_link,
.mobile-bottom-nav_search-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.mobile-bottom-nav_search-dropdown {
    position: absolute;
    bottom: 70px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 380px;
    background: #fff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0px 12px 40px rgba(0,0,0,0.12);
    z-index: 90;
}

.mobile-bottom-nav_search-form {
    display: flex;
    gap: 8px;
}

.sidebar-random-wrapper .blog-sidebar-cards {
    margin-bottom: 40px !important;
}

.sidebar-random-wrapper .blogs-sidebar-component {
    padding-top: 0 !important;
}

.sidebar-random-wrapper .events-section {
    margin-bottom: 40px !important;
}

.sidebar-random-wrapper .events-section {
    margin-bottom: 40px !important;
}

.like-btn:hover svg path {
    fill: #28a745 !important;
}
.dislike-btn:hover svg path {
    fill: #dc3545 !important;
}

.like-btn.active svg path {
    fill: #28a745 !important;
}
.dislike-btn.active svg path {
    fill: #dc3545 !important;
}


@media (max-width: 1260px) {
    .logo-container {
        width: 224px;
        top: 11px !important;
        transform: translateX(-112px) !important;
    }
    .logo-container img {
        width: 224px;
    }
    .logo {
        height: 40px !important;
    }
}

@media (max-width: 1200px) {
    .layout-wrapper {
        padding: 0;
    }
    .secondary-nav {
        justify-content: end !important;
        width: fit-content !important;
    }
    .language-selector {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 1018px) {
    .main-nav a{
        padding: 0 12px !important;
    }
    .secondary-nav {
        justify-content: end !important;
        width: 331px !important;
    }
}

@media (max-width: 992px) {
    .logo-container {
        right: 16px !important;
        transform: none !important;
        left: unset !important;
    }
    .min-height , .min-height-2 {
        min-height: calc(100vh - 643.98px);
    }
}

@media (max-width: 992px) {
    .header-actions {
        top: 0 !important;
    }
    .btn-social {
        width: 48px;
        height: 32px;
        border-radius: 8px !important;
    }
}

@media (max-width: 768px) {
    .sidebar-random-wrapper .blog-sidebar-cards {
        margin-bottom: 24px !important;
    }
    .sidebar-random-wrapper .events-section {
        margin-bottom: 24px !important;
    }
    .sidebar-random-wrapper .recent-sluds {
        margin-bottom: 24px !important;
    }
    .news-row .sidebar-ad-mobile {
        margin: 0 auto !important;
    }
    .recent-slud-card .recent-slud-img {
        min-width: 118px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 16px;
    }
    .pagination .common-pages:nth-child(n+5), .pagination .common-card-no {
        display: none !important;
    }
    
    .pagination-btn.prev, .pagination-btn.next, .pagination-btn.ellipsis {
        padding: 6px 6px !important;
    }
    .pagination-btn {
        font-size: 14px !important;
    }
    .fs-36 {
        font-size: 24px !important;
    }
    .comment-wrapper .child-comment {
        padding-left: 16px;
        padding-right: 8px;
    }
    .comment-wrapper .child-comment .div-2 {
        flex-shrink: 0;
    }
    .comment {
        padding: 16px 0px !important;
    }
}

.contrast-mode {
    border-left: 1px solid #dee2e6;
    height: 100%;
}

body.high-contrast-mode {
    background-color: #fff86e !important;
    color: #000 !important;
}

body.high-contrast-mode .subscriber-card,
body.high-contrast-mode .product-card,
body.high-contrast-mode .paper-magazine-form,
body.high-contrast-mode .adv-list,
body.high-contrast-mode .adv-list-wrapper-1,
body.high-contrast-mode .adv-price-card,
body.high-contrast-mode .adv-prices,
body.high-contrast-mode .bg-white,
body.high-contrast-mode .bg-light,
body.high-contrast-mode .category-nav,
body.high-contrast-mode .main-nav,
body.high-contrast-mode .footer,
body.high-contrast-mode .video-card,
body.high-contrast-mode .blog-section,
body.high-contrast-mode .question-options,
body.high-contrast-mode .question-footer,
body.high-contrast-mode .question-content,
body.high-contrast-mode #header-actions {
    background-color: #fff86e !important;
    color: #000 !important;
}
body.high-contrast-mode .copyright {
    color: #000 !important;
}
/* Links */
body.high-contrast-mode a {
    color: #000 !important;
    text-decoration: underline !important;
}

/* Buttons */
body.high-contrast-mode .btn {
    background-color: #fff86e !important;
    color: #000 !important;
    border: 2px solid #f9f150 !important;
    font-weight: 600;
}
body.high-contrast-mode .btn:hover {
    background-color: #f9f150 !important;
    color: #0a0a1a !important;
}

/* Forms */
body.high-contrast-mode .form-control,
body.high-contrast-mode .input-group-text {
    background-color: #fff86e !important;
    color: #000 !important;
    border-color: #000 !important;
}

/* Cards / Modals */
body.high-contrast-mode .card,
body.high-contrast-mode .modal-content {
    background-color: #f9f150 !important;
    border: 2px solid #000;
    color: #000 !important;
}

/* Navbars / Dropdowns */
body.high-contrast-mode .navbar,
body.high-contrast-mode .dropdown-menu {
    background-color: #f9f150 !important;
    border-color: #000 !important;
    color: #000 !important;
}

/* Tables */
body.high-contrast-mode .table {
    color: #000 !important;
}
body.high-contrast-mode .table th,
body.high-contrast-mode .table td {
    border-color: #000 !important;
}

/* Alerts */
body.high-contrast-mode .alert {
    background-color: #f9f150 !important;
    color: #000 !important;
    border-color: #000 !important;
}

/* Focus states for accessibility */
body.high-contrast-mode *:focus {
    outline: 3px solid #000 !important;
    outline-offset: 2px;
}
