:root {
    --vr-font-primary: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --vr-font-secondary: "Oswald", "Arial Narrow", sans-serif;
    --vr-font-tertiary: Verdana, sans-serif;
    --page-bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #eef2f6;
    --text: #172033;
    --text-soft: #657086;
    --line: rgba(21, 35, 57, .11);
    --accent: #e11d48;
    --accent-dark: #be123c;
    --link: #123e77;
    --nav: rgba(15, 23, 42, .94);
    --shadow-sm: 0 6px 20px rgba(15, 23, 42, .08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, .16);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --content-width: 1480px;
}

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

html {
    scroll-behavior: smooth;
    background: var(--page-bg);
}

body {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .06), transparent 28rem),
        var(--page-bg);
    font-family: var(--vr-font-primary);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe {
    max-width: 100%;
}

a {
    color: var(--link);
    text-decoration-thickness: .08em;
    text-underline-offset: .17em;
}

a:hover {
    color: var(--accent-dark);
}

button, input, select, textarea {
    font: inherit;
}

button, select {
    cursor: pointer;
height: 28px;
}

/* Fixed site navigation */
div#navtop {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10000;
    min-height: 50px;
    padding: 5px 10px;
    color: #fff;
    background: var(--nav);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 8px 30px rgba(2, 6, 23, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#menu, #menu ul, #menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu {
    min-height: 40px;
    color: #fff;
    background: transparent;
}

#menu li {
    position: relative;
    float: left;
    display: inline-flex;
    border: 0;
    font: 600 12px/1 var(--vr-font-primary);
    letter-spacing: .035em;
    text-transform: uppercase;
    text-shadow: none;
}

#menu a {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: 0 13px;
    color: rgba(255, 255, 255, .9);
    border-radius: 9px;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

#menu a:hover,
#menu li:hover > a {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

#menu a.home {
    color: #fff;
    background: var(--accent);
}

#menu input {
    display: none;
}

#menu label {
    display: none;
}

#menu ul.menus {
    position: absolute;
    z-index: 10001;
    top: calc(100% + 5px);
    left: 0;
    display: none;
    width: 220px;
    height: auto;
    padding: 7px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

#menu li:hover > ul.menus {
    display: block;
}

#menu ul.menus li {
    display: block;
    float: none;
    width: 100%;
    font-size: 12px;
    text-transform: none;
}

#menu ul.menus a {
    width: 100%;
    min-height: 38px;
}

#menu ul.menus .submenu {
    position: absolute;
    top: 0;
    left: calc(100% + 7px);
    display: none;
    width: 220px;
    padding: 7px;
    background: #111827;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

#menu ul.menus .has-submenu:hover .submenu {
    display: block;
}

.logo {
    float: left;
    width: 32px;
    height: 32px;
    margin: 4px 8px 0 4px;
    object-fit: contain;
}

#google_translate {
    position: absolute !important;
    top: 9px;
    right: 18px;
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
}

#google_translate_element2,
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt {
    position: fixed !important;
    top: -999px !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Main listing container */
div.all {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 82px 24px 34px;
}

.all > h1,
.all > form,
.all > p,
.all > .pagination,
.all > nav,
.all > .similar {
    grid-column: 1 / -1;
}

.all > h1 {
    margin: 0 !important;
    padding: 8px 2px 4px !important;
    color: var(--text);
    font-family: var(--vr-font-secondary) !important;
    font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
    font-weight: 600 !important;
    line-height: 1.08;
    letter-spacing: -.025em;
    background: transparent !important;
    border: 0 !important;
}

/* Search and filter forms */
.all > form[role="search"] {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px !important;
    margin: 0 0 6px !important;
    padding: 13px !important;
    background: rgba(255, 255, 255, .84);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.all > form[role="search"] input[type="search"] {
    flex: 1 1 320px !important;
    min-width: 0;
}

.all > form[role="search"] input,
.all > form[role="search"] select,
.all > form[role="search"] button {
    min-height: 44px;
    padding: 10px 13px !important;
    color: var(--text);
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.all > form[role="search"] input:focus,
.all > form[role="search"] select:focus {
    border-color: #6689bb;
    box-shadow: 0 0 0 4px rgba(45, 97, 166, .13);
}

.all > form[role="search"] button {
    padding-inline: 22px !important;
    color: #fff;
    font-weight: 700;
    background: var(--accent);
    border-color: var(--accent);
}

.all > form[role="search"] button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}

.all > p {
    margin: 0;
    padding: 2px 2px 8px !important;
    color: var(--text-soft);
}

/* Image-led article cards */
div.stire {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 285px;
width:100%;
    aspect-ratio: 4 / 3;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: #fff;
    background: #172033;
    border: 0 !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-shadow: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

div.stire:hover {
    background: #172033;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

div.stire .desc {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 0 !important;
}

div.stire .desc::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, .50) 0, rgba(2, 6, 23, .03) 34%, rgba(2, 6, 23, .09) 50%, rgba(2, 6, 23, .94) 100%);
}

div.stire .desc span.imgspan {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    float: none;
    background: #dce3eb;
}

div.stire .imgspan a {
    display: block;
    width: 100%;
    height: 100%;
}

div.stire .imgspan img {
    display: block;
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transform: scale(1.002);
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

div.stire:hover .imgspan img {
    transform: scale(1.07);
    filter: saturate(1.04) contrast(1.02);
}

div.stire h2 {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    margin: 0 !important;
    padding: 76px 17px 17px !important;
    overflow: visible;
    white-space: normal;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .92));
    font-family: var(--vr-font-secondary) !important;
    font-weight: 400;
    line-height: 1.16;
    pointer-events: none;
}

div.stire h2 a {
    display: -webkit-box;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    color: #fff !important;
    font-size: clamp(1.08rem, 1.45vw, 1.38rem);
    text-decoration: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
    pointer-events: auto;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

div.stire h2 a::after,
div.stire h3 a::after {
    display: none !important;
}

div.stire .desc > span:not(.imgspan),
div.stire .desc > em {
    position: absolute;
    z-index: 4;
    top: 13px;
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    max-width: calc(70% - 13px);
    margin: 0;
    padding: 6px 10px;
    overflow: hidden;
    color: #fff;
    background: rgba(15, 23, 42, .76);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    box-shadow: 0 5px 15px rgba(2, 6, 23, .18);
    font-family: var(--vr-font-primary) !important;
    font-size: .72rem !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 1;
    letter-spacing: .055em;
    text-overflow: ellipsis;
    text-transform: uppercase !important;
    white-space: nowrap;
    backdrop-filter: blur(9px);
}

div.stire .desc > span:not(.imgspan) {
    left: 13px;
}

div.stire .desc > em {
    right: 13px;
    left: auto;
    max-width: 42%;
    float: none !important;
    letter-spacing: .02em;
    text-transform: none !important;
}

/* A message card that has no image */
div.stire:not(:has(.desc)) {
    display: flex;
    min-height: 190px;
    aspect-ratio: auto;
    align-items: center;
    justify-content: center;
    padding: 28px !important;
    color: var(--text);
    background: var(--surface);
}

div.stire:not(:has(.desc)) h2 {
    position: static;
    padding: 0 !important;
    color: var(--text);
    background: none;
    text-align: center;
    pointer-events: auto;
}

div.stire:not(:has(.desc)) h2 a,
div.stire:not(:has(.desc)) h2 {
    color: var(--text) !important;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 10px 0 0 !important;
}

.pagination a,
.pagination strong {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    margin: 0;
    padding: 8px !important;
    place-items: center;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
    text-decoration: none;
}

.pagination strong,
.pagination a:hover {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

/* Article page */
body > h1 {
    width: min(100% - 32px, 1120px) !important;
    margin: 82px auto 0 !important;
    padding: 0 !important;
    color: var(--text) !important;
    background: transparent !important;
    border: 0 !important;
    font-family: var(--vr-font-secondary) !important;
    font-size: clamp(2rem, 5vw, 3.7rem) !important;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.articol {
    width: min(100% - 32px, 1120px);
    margin: 30px auto 0;
    padding: 0;
    color: var(--text);
    font-size: clamp(1rem, 1.2vw, 1.14rem);
    text-align: left;
}

.articol figure,
.articol figure.shine {
    float: none;
    clear: both;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
    background: #101827;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.articol figure > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: cover;
}

.articol figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    color: #dce5f3;
    background: #111827;
    font-size: .82rem;
}

.articol figcaption a {
    color: #fff;
}

.article-content {
    width: min(100%, 820px);
    margin: 0 auto;
    padding: 6px 0 22px;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
    margin: 0 0 1.15em;
}

.article-content p {
    padding: 0;
    text-indent: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 1.7em 0 .55em;
    color: var(--text);
    font-family: var(--vr-font-secondary) !important;
    line-height: 1.18;
}

.article-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: var(--radius-md);
}

.article-content iframe,
.article-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin: 24px auto;
    border: 0;
    border-radius: var(--radius-md);
}

.article-content blockquote {
    padding: 18px 22px;
    color: #3b465a;
    background: #eef3f8;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sharingbuttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 100%;
    margin-left: auto;
    float: none;
    overflow: visible;
}

.resp-sharing-button__link {
    display: inline-flex;
    margin: 0;
    color: #fff;
    text-decoration: none;
}

.resp-sharing-button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    transition: transform .2s ease, filter .2s ease;
}

.resp-sharing-button__link:hover .resp-sharing-button {
    transform: translateY(-1px);
    filter: brightness(.92);
}

.resp-sharing-button--facebook { background: #315ca8; }
.resp-sharing-button--twitter { background: #111827; }
.resp-sharing-button--reddit { background: #e75b23; }
.resp-sharing-button--pinterest { background: #bd081c; }
.resp-sharing-button--tumblr { background: #35465c; }

/* Related stories */
.similar {
    clear: both;
    width: min(100% - 32px, 1120px);
    margin: 20px auto 38px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.similar h2 {
    margin: 0 0 15px;
    padding: 0;
    color: var(--text);
    background: transparent;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 600;
    text-align: left;
}

.similar h2 a {
    color: var(--text);
}

.similar h3 {
    margin: 0;
    padding: 0;
    overflow: visible;
    white-space: normal;
    border-top: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 500;
}

.similar h3 a {
    display: block;
    min-width: 0;
    padding: 12px 2px;
    color: var(--text);
    font-family: var(--vr-font-primary) !important;
    font-size: 1rem;
    text-decoration: none !important;
}

.similar h3 a:hover {
    color: var(--accent-dark) !important;
}

.similar hr {
    display: none;
}

#disqus_thread {
    width: min(100% - 32px, 900px);
    margin: 0 auto 40px;
    padding: 0 !important;
}

/* Footer and category navigation */
#navigationMenu,
.bottom {
    clear: both;
    width: 100%;
    padding: 18px 20px;
    color: #dbe3ef;
    background: #111827;
    text-align: center;
}

#navigationMenu a,
.bottom a,
div#navtop a {
    color: #fff;
    text-decoration: none;
}

#navigationMenu a {
    display: inline-flex;
    margin: 4px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
}

#navigationMenu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

a.ads {
    display: block;
    clear: both;
    margin: 20px 0;
    padding: 14px 16px;
    color: var(--text);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

a.ads::before {
    display: block;
    margin-bottom: 4px;
    color: var(--text-soft);
    content: "Reclama";
    font-size: .66rem;
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}

/* Subtle image shine */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    position: absolute;
    z-index: 5;
    top: 0;
    left: -90%;
    width: 45%;
    height: 100%;
    content: "";
    pointer-events: none;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-18deg);
}

.shine:hover::before {
    animation: actualitate-shine .75s ease;
}

@keyframes actualitate-shine {
    to { left: 140%; }
}

@media (max-width: 1280px) {
    div.all {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    div.all {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding-inline: 16px;
    }

    .all > form[role="search"] select {
        flex: 1 1 170px;
    }

    .articol figcaption {
        align-items: flex-start;
    }

    .sharingbuttons {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    div.all {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 70px 12px 26px;
    }

    div.stire {
        min-height: 255px;
        aspect-ratio: 16 / 11;
        border-radius: 14px;
    }

    div.stire h2 {
        padding: 68px 15px 15px !important;
    }

    div.stire h2 a {
        font-size: 1.18rem;
    }

    .all > form[role="search"] {
        padding: 10px !important;
    }

    .all > form[role="search"] input,
    .all > form[role="search"] select,
    .all > form[role="search"] button {
        flex: 1 1 100%;
        width: 100%;
    }

    body > h1 {
        width: calc(100% - 24px) !important;
        margin-top: 72px !important;
        font-size: clamp(1.8rem, 9vw, 2.65rem) !important;
    }

    .articol,
    .similar,
    #disqus_thread {
        width: calc(100% - 24px);
    }

    .articol figure,
    .articol figure.shine {
        border-radius: 14px;
    }

    .articol figcaption > span {
        display: inline-flex !important;
        width: 100%;
        flex-wrap: wrap;
    }

    .resp-sharing-button {
        min-height: 32px;
        padding: 6px 10px;
    }

    #google_translate {
        right: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}