:root {
    /* Calm warm-light palette: ivory background, porcelain surfaces, slate text, sage accent. */
    --color-black: #1f2421;
    --color-white: #ffffff;
    --color-semi-white: #fbfaf6;

    --color-light-grey: #8f978e;
    --color-light-grey2: #6f766f;
    --color-grey: #f6f4ef;
    --color-dark-grey: #2f3a35;
    --color-yellow: #b9c9bd;
    --color-orange: #5f7f72;
    --color-dark-orange: #48695f;
    --color-dark-yellow: #779889;

    --font-family-rubik: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, "Noto Sans", sans-serif;
    --default-page-max-width: 1200px;

    --page-bg: #f0eee7;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-solid: #ffffff;
    --surface-soft: #fbfaf6;
    --surface-muted: #ebe8df;
    --surface-dark: #35423c;
    --text-main: #2f3a35;
    --text-muted: #6f766f;
    --text-soft: #8f978e;
    --accent: #5f7f72;
    --accent-strong: #48695f;
    --accent-soft: rgba(95, 127, 114, 0.12);
    --accent-border: rgba(95, 127, 114, 0.24);
    --border-soft: rgba(23, 32, 51, 0.10);
    --border-strong: rgba(23, 32, 51, 0.16);
    --shadow-soft: 0 14px 40px rgba(23, 32, 51, 0.08);
    --shadow-card: 0 18px 46px rgba(23, 32, 51, 0.10);
    --shadow-hover: 0 24px 60px rgba(23, 32, 51, 0.14);
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html:not(.component),
html:not(.component) body {
    min-height: 100vh !important;
}

html,
body {
    font-family: var(--font-family-rubik);
    background:
        radial-gradient(circle at 10% 0%, rgba(95, 127, 114, 0.10), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(185, 201, 189, 0.26), transparent 32%),
        linear-gradient(180deg, #fbfaf6 0%, var(--page-bg) 100%);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-style: normal;
    color: var(--text-main);
    padding: 0;
    margin: 0;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(95, 127, 114, 0.18);
    color: var(--text-main);
}

header.siteHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    display: block;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 10px 34px rgba(23, 32, 51, 0.07);

    /* Important for the current template:
       .mobileMenuOverlay is nested inside header.siteHeader.
       backdrop-filter/filter/transform/contain on the header can make
       position: fixed descendants render inside the header height instead of the viewport. */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    perspective: none !important;
    contain: none !important;
    will-change: auto !important;
}

.headerContentHolder {
    display: flex;
    align-items: center;
    max-width: var(--default-page-max-width);
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 0 20px;
}

.logoHolder {
    max-width: 164px;
    width: auto;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.logoHolder a {
    margin: auto 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logoHolder img {
    position: relative;
    width: auto;
    height: 58px;
    max-width: 164px;
    max-height: 58px;
    object-fit: contain;
}

.headerMenuHolder {
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
    gap: 12px;
}

.headerNavDesktop {
    display: flex;
    align-items: center;
    gap: 10px;
}

.headerNavLink {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
    color: var(--text-main);
    background: transparent;
    border: 1px solid transparent;
    transition: .22s ease-in-out all;
}

.headerNavLink:hover {
    color: var(--accent-strong);
    text-decoration: none;
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

.mobileMenuBtn {
    display: none;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(23, 32, 51, 0.07);
    transition: .22s ease-in-out all;
}

.mobileMenuBtn:hover {
    color: var(--accent-strong);
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

.mobileMenuOverlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    overflow: hidden;
    background: rgba(47, 58, 53, 0.28);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.mobileMenuOverlay.isOpen {
    display: block;
}

.mobileMenuPanel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(360px, calc(100% - 28px));
    padding: 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-soft);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.mobileMenuLink {
    display: block;
    padding: 13px 14px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    color: var(--text-main);
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    transition: .22s ease-in-out all;
}

.mobileMenuLink + .mobileMenuLink {
    margin-top: 10px;
}

.mobileMenuLink:hover {
    color: var(--accent-strong);
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

ul.headerMenu {
    display: flex;
    list-style: none !important;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

ul.headerMenu li {
    margin: 0;
}

ul.headerMenu li a {
    text-decoration: none !important;
    color: var(--text-main);
    font-family: var(--font-family-rubik);
    font-size: 16px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 999px;
    transition: .22s ease-in-out all;
}

ul.headerMenu li a:hover {
    color: var(--accent-strong);
    background: var(--accent-soft);
}

ul.headerMenu li:not(:last-child) {
    margin-right: 0 !important;
}

main.content {
    width: 100%;
    min-height: 100vh;
    max-width: var(--default-page-max-width);
    background: var(--surface);
    display: flex;
    margin: 20px auto 0;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

div.contentHolder {
    width: 100%;
    max-width: var(--default-page-max-width);
    margin: 0;
    padding: 0 22px 46px;
}

footer {
    position: relative;
    top: auto;
    z-index: 10;
    display: block;
    max-width: 100%;
    background: transparent !important;
}

footer .footerContent {
    max-width: var(--default-page-max-width);
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--border-soft);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.footer {
    padding: 0;
}

.footerContent .footerInfoItems {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footerNavItem {
    text-decoration: none;
    margin: 0;
    text-align: right;
    color: var(--text-muted);
    transition: .22s ease-in-out all;
}

.footerNavItem:not(:last-child) {
    margin-right: 0;
    font-size: 16px;
    font-weight: 650;
}

.footerNavItem:hover {
    color: var(--accent-strong);
}

.footer .footerSiteInfo p {
    margin: 1em auto;
    max-width: 700px;
    text-align: center;
    color: var(--text-muted);
}

div.paginationContainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2em;
}

div.paginationContainer a {
    text-decoration: none;
    transition: all ease-in-out .22s;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 750;
    font-family: var(--font-family-rubik);
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
}

div.paginationContainer a:hover {
    color: var(--accent-strong);
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

div.paginationContainer a.selectedLink {
    color: var(--color-white);
    background: var(--accent);
    border-color: var(--accent);
}

.blockHeadline {
    margin: 2em 0 1.1em 0;
    font-size: 30px;
    font-weight: 850;
    color: var(--text-main);
}

.blockHeadline .headlineInfo {
    display: flex;
    align-items: center;
    margin-bottom: .55em;
}

.blockHeadline .headlineInfo h1 {
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    line-height: 1.12;
    margin: 0;
    letter-spacing: -0.035em;
}

.blockHeadline a {
    text-decoration: none;
}

.blockHeadline p,
.blockHeadline a {
    margin: 0;
    color: var(--text-main);
}

.blockHeadline img {
    position: relative;
    width: 25px;
    height: 25px;
    margin: auto .5em auto 0;
}

.blockHeadline .borderLine {
    margin: 0;
    border-bottom: 4px solid var(--accent);
    max-width: 96px;
    width: 100%;
    border-radius: 999px;
}

.favoritesListContainer {
    margin-top: 3em;
}

.bigFavoriteCardContainer {
    position: relative;
    max-width: 100%;
    padding: 0;
}

.bigFavoriteCard,
.materialCard,
.favoriteCard {
    transition: .24s ease-in-out transform, .24s ease-in-out box-shadow, .24s ease-in-out border-color;
}

.materialCard,
.favoriteCard {
    width: 100%;
    padding: 12px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.materialCard:hover,
.favoriteCard:hover {
    transform: translateY(-3px);
    border-color: rgba(95, 127, 114, 0.20);
    box-shadow: var(--shadow-card);
}

.bigFavoriteCard {
    padding: 14px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.bigCardImageContainer {
    position: relative;
    max-width: 100%;
}

.bigCardImageContainer img {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    object-fit: cover;
}

.bigCardImageContainer .bigCardCategoryContainer {
    position: absolute;
    top: 0;
    left: 0;
    margin: 18px;
    padding: 8px 14px;
    background: rgba(95, 127, 114, 0.94);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(95, 127, 114, 0.22);
}

.bigCardCategoryContainer .bigCardCategory {
    color: white;
    font-size: 1rem;
    font-weight: 850;
}

.bigFavoriteCard .bigCardInfoContainer {
    max-width: 100%;
}

.bigCardInfo .bigCardHeadline {
    display: inline-block;
    text-decoration: none;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 850;
    color: var(--text-main);
    margin: .6em 0 .25em;
    transition: .22s ease-in-out all;
}

.bigCardInfo .bigCardHeadline:hover {
    color: var(--accent-strong);
}

.bigCardInfo .bigCardPublishingInfo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: .6em;
}

.bigCardPublishingInfo p,
.bigCardPublishingInfo a {
    font-size: 1rem;
    margin: 0;
    text-decoration: none;
    color: var(--text-muted);
}

.bigCardPublishingInfo a:hover {
    color: var(--accent-strong);
}

.bigCardPublishingInfo .bigCardDate {
    font-weight: 500;
}

.bigCardPublishingInfo .bigCardSubCategory {
    font-weight: 750;
}

.bigCardPublishingInfo p:not(:first-child) {
    margin-left: 0;
}

.favoritesCardsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 0;
    box-sizing: border-box;
    justify-items: stretch;
}

.materialCardsGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    box-sizing: border-box;
    justify-items: stretch;
}

.materialCardsGrid .materialCard {
    max-width: none;
    margin-top: 0;
}

.favoritesCardsGrid .favoriteCard {
    max-width: none;
    margin-top: 0;
}

.favoriteImageContainer,
.materialCardImageContainer {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-muted);
}

.favoriteImageContainer img,
.materialCardImageContainer img {
    position: relative;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    transition: .28s ease-in-out transform;
}

.materialCard:hover .materialCardImageContainer img,
.favoriteCard:hover .favoriteImageContainer img {
    transform: scale(1.025);
}

.favoriteCategoryContainer,
.materialCardCategoryContainer {
    position: absolute;
    top: 0;
    left: 0;
    margin: 12px;
    padding: 7px 11px;
    background: rgba(95, 127, 114, 0.94);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(95, 127, 114, 0.20);
}

.favoriteCategoryContainer span,
.materialCardCategoryContainer span {
    color: white;
    font-weight: 850;
    font-size: .9rem;
}

.favoriteInfoContainer,
.materialCardInfoContainer {
    padding: 12px 2px 2px;
}

.favoriteCardHeadline,
.materialCardHeadline {
    display: inline-block;
    text-decoration: none;
    font-weight: 850;
    color: var(--text-main);
    font-size: 1.13rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    transition: .22s all ease-in-out;
}

.favoriteCardHeadline:hover,
.materialCardHeadline:hover {
    color: var(--accent-strong);
}

.favoritePublishingInfo,
.materialCardPublishingInfo {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: .75em;
}

.favoritePublishingInfo p,
.materialCardPublishingInfo p,
.favoritePublishingInfo a,
.materialCardPublishingInfo a {
    margin: 0;
    font-size: .95rem;
    text-decoration: none;
    color: var(--text-muted);
}

.favoritePublishingInfo a:hover,
.materialCardPublishingInfo a:hover {
    color: var(--accent-strong);
}

.favoriteSubcategory,
.materialCardSubcategory {
    font-weight: 750;
}

.favoriteDate,
.materialCardDate {
    font-weight: 500;
}

/* SINGLE MATERIAL STYLES */

.materialContentWrapper {
    max-width: 1050px;
    margin: 0 auto;
}

.topInfoBlock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 34px 0 0 0;
}

.topInfoBlock .materialCategory {
    margin: 0;
    color: var(--accent-strong);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 850;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
}

.materialContentWrapper h1 {
    font-weight: 900;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.055em;
    margin: 20px 0 16px;
    color: var(--text-main);
}

.materialContentWrapper h2 {
    font-weight: 850;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
    margin: 34px 0 12px;
    color: var(--text-main);
}

.materialContentWrapper h3 {
    font-weight: 800;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.22;
    margin: 28px 0 10px;
    color: var(--text-main);
}

.materialContentWrapper strong {
    font-weight: 850;
}

.materialContentWrapper p {
    font-size: 1.125rem;
    margin-bottom: 24px;
    line-height: 1.75;
    color: var(--text-main);
}

.materialContentWrapper .materialImageHolder {
    position: relative;
    max-width: 100%;
    margin: 18px 0 14px;
}

.materialImageRatio {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface-muted);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}

.materialImageRatio .materialImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.textWrapper {
    max-width: 760px;
    margin-left: 0;
}

.textWrapper ul,
.textWrapper ol {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-main);
    list-style: revert;
    padding-left: 1.35em;
    margin: 0 0 24px;
}

.textWrapper li + li {
    margin-top: 8px;
}

.textWrapper a {
    text-decoration: none;
    color: var(--accent-strong);
    font-weight: 700;
    border-bottom: 1px solid rgba(95, 127, 114, 0.20);
    transition: .22s ease-in-out all;
}

.textWrapper a:hover {
    color: var(--accent);
    border-color: rgba(95, 127, 114, 0.42);
}

figcaption {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: right !important;
    color: var(--text-soft) !important;
    max-width: 100%;
    overflow: hidden;
    display: block;
    font-size: .9rem;
    margin-top: 8px;
}

figcaption a {
    text-decoration: none !important;
    color: var(--text-soft) !important;
}

figure.imageFigure {
    margin: 0;
}

figure.image {
    max-width: 100%;
    position: relative;
    margin: 24px 0;
}

figure.image img {
    max-width: 100%;
    position: relative;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 46px rgba(23, 32, 51, 0.09);
}

blockquote {
    padding: 24px 24px 24px 72px;
    margin: 28px 0;
    border-left: none;
    position: relative;
    font-style: normal;
    font-size: 1.15rem;
    font-family: var(--font-family-rubik);
    background: linear-gradient(135deg, rgba(95, 127, 114, 0.10), rgba(255, 255, 255, 0.92));
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

blockquote footer {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1rem;
    background: transparent !important;
    box-shadow: none;
    border: 0;
}

blockquote footer span {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1rem;
}

blockquote footer:before {
    color: var(--text-muted);
    content: '– ';
    font-style: italic;
    font-size: 1rem;
}

blockquote:before {
    content: '“';
    position: absolute;
    left: 22px;
    top: 18px;
    display: block;
    height: 57px;
    font-size: 78px;
    font-weight: 900;
    line-height: 60px;
    color: var(--accent);
}

blockquote p {
    font-size: 1.125rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--text-main);
    margin: 0 0 12px;
}

blockquote cite {
    color: var(--text-muted);
    font-size: 1rem;
    padding-left: 0;
    font-style: normal;
}

.bottomInfoBlock {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    max-width: 760px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.bottomInfoBlock .materialAuthor,
.bottomInfoBlock .materialDatetime {
    font-size: .98rem;
    text-decoration: none;
    color: var(--text-muted);
    margin: 0;
}

.category,
.subcategory {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 750;
    color: var(--accent-strong);
}

.category::before {
    content: " / ";
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-soft);
}

.textWrapper .iframeWrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
    box-shadow: 0 14px 38px rgba(23, 32, 51, 0.08);
}

.iframeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shortsIframeWrapper {
    margin-left: auto;
    margin-right: auto;
}

.shortsIframeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.textWrapper .shortsIframeWrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
    box-shadow: 0 14px 38px rgba(23, 32, 51, 0.08);
}

.shareBlockContainer {
    margin-top: 1.5em;
}

.shareBlockHeader p {
    font-size: 1.05rem;
    font-weight: 850;
    text-transform: none;
    color: var(--text-main);
}

.shareBlockItemsContainer {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 12px;
}

.shareBlockItem {
    position: relative;
    max-width: 58px;
    margin-bottom: 2em;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.07);
    transition: .22s ease-in-out all;
}

.shareBlockItem:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.shareBlockItem:not(:first-child) {
    margin-left: 0;
}

.shareBlockItem img {
    position: relative;
    max-width: 100%;
    display: block;
}

.appBtnContainer {
    display: none;
}

.topBannerContainer,
.bottomBannerContainer,
.sideBannerContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 760px;
    width: 100%;
    background: var(--surface-soft);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.topBannerContainer,
.bottomBannerContainer {
    min-height: 260px;
}

.quizUrlBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 360px;
    height: auto;
    position: relative;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: white;
    border-radius: 999px;
    border: 0;
    box-shadow: 0 16px 36px rgba(95, 127, 114, 0.22);
    padding: 14px 24px;
    text-decoration: none;
    font-size: 1.12rem;
    font-weight: 900;
    margin: 24px 0;
    transition: .22s ease-in-out all;
}

.quizUrlBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(95, 127, 114, 0.24);
}

/* END SINGLE MATERIAL STYLES */

/* AUTHOR PAGE STYLES */
.authorInfoBlock {
    margin-left: 0;
    margin-top: 2em;
    padding: 20px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.authorHeadBlock {
    display: flex;
    align-items: center;
    margin-top: .5em;
}

.authorImageWrapper {
    position: relative;
    max-width: 150px;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 14px 36px rgba(23, 32, 51, 0.12);
}

.authorImageWrapper img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.authorInfoBlock .authorTextInfo {
    margin: 0 0 0 1em;
}

.authorTextInfo p {
    margin: 0;
}

.authorTextInfo .authorName {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.authorTextInfo .authorPost {
    font-size: 1.05rem;
    font-style: normal;
    color: var(--text-muted);
}

.authorSocialLink {
    text-decoration: none;
    transition: ease-in-out all .22s;
    color: var(--accent-strong);
    font-size: 1.05rem;
    font-weight: 750;
}

.authorSocialLink:hover {
    color: var(--accent);
}

.authorTextWrapper {
    max-width: 900px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-main);
}

.authorsListBlock {
    position: relative;
    max-width: 100%;
}

.authorBlockCardWrapper {
    position: relative;
}

.authorBlockCardWrapper:not(:first-child) {
    margin-top: 18px;
}

.authorInfoCard {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.authorInfoCard .authorTextInfo {
    margin-left: 24px;
}
/* END AUTHOR PAGE STYLES */

/* Cookie WARNING STyles */
.cookie-popup {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-main);
    gap: 10px;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 -18px 46px rgba(23, 32, 51, 0.10);
}

.cookie-popup .popupContentContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
}

.cookie-popup a {
    color: var(--accent-strong);
    text-decoration: underline;
}

.cookie-popup button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 850;
    border-radius: 999px;
    margin-left: 0;
}

.cookie-popup.show {
    opacity: 1;
    visibility: visible;
}
/* END Cookie Warning*/

/* HOME QUIZ STYLES (additions) */

.quizHomeIntro {
    margin: 0;
    margin-top: 1.5em;
    max-width: 950px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(95, 127, 114, 0.10), rgba(255, 255, 255, 0.72));
    border: 1px solid rgba(95, 127, 114, 0.16);
}

.quizHomeIntroText {
    margin: 0 0 1em 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-main);
}

.quizHomeFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.quizHomeFilterBtn {
    text-decoration: none;
    color: var(--text-main);
    background-color: var(--surface-solid);
    border: 1px solid var(--border-soft);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
    transition: .22s ease-in-out all;
}

.quizHomeFilterBtn:hover {
    background-color: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent-strong);
}

.quizHomeCard .materialCardInfoContainer {
    margin-top: 0;
}

.quizHomeDescription {
    margin: 9px 0 0 0;
    color: var(--text-muted);
    opacity: 1;
    font-size: .98rem;
    line-height: 1.55;
}

.quizHomeMetaRow {
    margin-top: 12px;
}

.quizHomePill {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 999px;
    background-color: var(--surface-soft);
    border: 1px solid var(--border-soft);
    font-size: .88rem;
    font-weight: 800;
    color: var(--text-muted);
}

.quizHomeImagePlaceholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: var(--radius-md);
    background: var(--surface-muted);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.quizHomeMoreLinkRow {
    margin: 2em 0 0 0;
    display: flex;
    justify-content: center;
}

.quizHomeMoreLink {
    text-decoration: none;
    color: white;
    background: var(--accent);
    border-radius: 999px;
    font-weight: 900;
    font-size: 1rem;
    padding: 12px 18px;
    box-shadow: 0 14px 34px rgba(95, 127, 114, 0.20);
    transition: .22s ease-in-out all;
}

.quizHomeMoreLink:hover {
    color: white;
    background: var(--accent-strong);
    transform: translateY(-2px);
}

.quizHomeSeoText {
    margin: 2.5em 0 0 0;
    max-width: 950px;
    padding: 20px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
}

.quizHomeSeoText h2 {
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.quizHomeSeoText p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.quizHomeImage {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

/* QUIZ LIST FILTERS */
.quizListFilters {
    margin: 1em 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quizFilterBtnSelected {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--color-white) !important;
}

.quizListEmpty {
    margin: 1.5em 0 0 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    padding: 16px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
}

.quizCategoryLink {
    text-decoration: none;
    display: inline-block;
    color: white;
    font-weight: 800;
    font-size: .9rem;
}

.quizCategoryLink:hover {
    text-decoration: underline;
}

/* HOME SEO SECTIONS */
.quizSeoSections {
    margin: 1.5em 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 950px;
}

.quizSeoSectionTitle {
    margin: 0 0 10px 0;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.quizSeoLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quizSeoLink {
    text-decoration: none;
    color: var(--text-main);
    background-color: var(--surface-solid);
    border: 1px solid var(--border-soft);
    padding: 9px 13px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
    transition: .22s ease-in-out all;
}

.quizSeoLink:hover {
    background-color: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent-strong);
}

.quizResultTopInfo {
    margin: 1.2em 0 0;
    max-width: 760px;
    padding: 16px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
}

.quizResultFromText {
    margin: 0 0 12px 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.quizResultQuizLink {
    text-decoration: none;
    color: var(--accent-strong);
    font-weight: 850;
    transition: .22s ease-in-out all;
}

.quizResultQuizLink:hover {
    color: var(--accent);
}

.breadcrumbs {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.25em 0 0;
}

.breadcrumbsList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumbsItem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    line-height: 1.2;
    color: var(--text-muted);
}

.breadcrumbsItem::after {
    content: "›";
    opacity: 0.5;
}

.breadcrumbsItem:last-child::after {
    content: "";
}

.breadcrumbsLink,
.breadcrumbsCurrent {
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    transition: .22s ease-in-out all;
}

.breadcrumbsLink:hover {
    color: var(--accent-strong);
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

.breadcrumbsCurrent {
    color: var(--accent-strong);
    font-weight: 850;
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

.quizJumpWrapper {
    margin: 12px 0 8px 0;
}

.quizJumpLink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .95rem;
    line-height: 1;
    color: var(--accent-strong);
    text-decoration: none;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    transition: .22s ease-in-out all;
}

.quizJumpLink:hover {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
}

#jumpAnchor {
    scroll-margin-top: 20vh;
}

.quizTaxonomyIntro {
    margin: 1em 0 0;
    max-width: 950px;
    padding: 18px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
}

.quizTaxonomyIntroText {
    margin: 0 0 1em 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.quizTaxonomySection {
    margin: 1.5em 0 0;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quizTaxonomyGroupTitle {
    margin: 0 0 10px 0;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-main);
}

.quizTaxonomyGroupLink {
    text-decoration: none;
    color: var(--text-main);
    transition: .22s ease-in-out all;
}

.quizTaxonomyGroupLink:hover {
    color: var(--accent-strong);
    text-decoration: none;
}

.quizTaxonomyLinks {
    margin-bottom: 6px;
}

.quizSeoSectionTitleRow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px 0;
}

.quizSeoAllLink {
    text-decoration: none;
    color: var(--accent-strong);
    font-weight: 850;
    font-size: 1rem;
    transition: .22s ease-in-out all;
}

.quizSeoAllLink:hover {
    color: var(--accent);
}

.topAdContainer {
    min-height: 280px;
    margin: 20px 0;
    position: relative;
    background: var(--surface-soft);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
}

.feedAdContainer {
    margin: 20px 0;
    position: relative;
    background: var(--surface-soft);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
}

.quizDatetimeBlock {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
}

.quizDatetimeBlock .quizDatetime {
    margin-top: 0;
    margin-bottom: 0;
    font-size: .9rem !important;
    font-style: normal;
    color: var(--text-muted);
}

.quizDatetimeBlock .quizDatetime:not(:first-child) {
    margin-left: 12px;
}

.quizDatetimeBlock .quizDatetime:first-child:after {
    content: "|";
    margin-left: 12px;
    font-style: normal;
    color: var(--text-soft);
}

.quizDisclaimer {
    font-size: .98rem !important;
    font-style: italic;
    color: var(--text-muted);
}

.quizSharingWrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 20px auto;
    max-width: 760px;
}

.quizSharingWrapper .quizShareTitle {
    text-align: center;
    color: var(--text-main);
}

/* QUIZ COLLECTIONS HINT ON SINGLE QUIZ PAGE */
.borderedCardWrapper {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 18px 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.quizCollectionsHint {
    max-width: 760px;
    margin: 24px auto;
    padding: 18px;
    background: linear-gradient(135deg, rgba(95, 127, 114, 0.10), rgba(255, 255, 255, 0.94));
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.quizCollectionsHintTitle {
    margin: 0 0 6px 0;
    color: var(--text-main);
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.quizCollectionsHintText {
    margin: 0 0 12px 0;
    color: var(--text-muted);
    opacity: 1;
    font-size: 1rem;
    line-height: 1.55;
}

.quizCollectionsHintLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quizCollectionsHintLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--accent-border);
    color: var(--accent-strong);
    text-decoration: none;
    font-size: .96rem;
    font-weight: 850;
    line-height: 1.15;
    box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
    transition: .22s ease-in-out all;
}

.quizCollectionsHintLink:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--color-white);
    text-decoration: none;
}
/* END QUIZ COLLECTIONS HINT ON SINGLE QUIZ PAGE */

/* QUIZ COLLECTION DETAIL CARD */
.collectionQuizCard {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    margin: 26px 0;
    padding: 14px;
    background: var(--surface-solid);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
    transition: .22s ease-in-out all;
}

.collectionQuizCard:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: rgba(95, 127, 114, 0.18);
}

.collectionQuizImageLink {
    display: block;
    flex: 0 0 230px;
    max-width: 230px;
    text-decoration: none !important;
    color: inherit !important;
}

.collectionQuizImageRatio {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-muted);
}

.collectionQuizImage {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collectionQuizImagePlaceholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-weight: 800;
}

.collectionQuizInfo {
    min-width: 0;
    flex: 1;
}

.collectionQuizTopLine {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.collectionQuizLabel,
.collectionQuizCategory {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none !important;
}

.collectionQuizLabel {
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    color: var(--accent-strong);
}

.collectionQuizCategory {
    background: var(--accent);
    color: var(--color-white) !important;
}

.collectionQuizCategory:hover {
    background: var(--accent-strong);
    color: var(--color-white) !important;
}

.collectionQuizTitle {
    display: block;
    color: var(--text-main) !important;
    text-decoration: none !important;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
    transition: .22s ease-in-out all;
}

.collectionQuizTitle:hover {
    color: var(--accent-strong) !important;
}

.collectionQuizDescription {
    margin: 8px 0 0 0 !important;
    color: var(--text-muted);
    opacity: 1;
    font-size: .98rem !important;
    line-height: 1.55 !important;
}

.collectionQuizButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background-color: var(--accent);
    color: var(--color-white) !important;
    text-decoration: none !important;
    font-weight: 900;
    font-size: .92rem;
    box-shadow: 0 12px 30px rgba(95, 127, 114, 0.18);
    transition: .22s ease-in-out all;
}

.collectionQuizButton:hover {
    background-color: var(--accent-strong);
    color: var(--color-white) !important;
    transform: translateY(-1px);
}

.quizContinueAnchor {
    scroll-margin-top: 115px;
}
/* END QUIZ COLLECTION DETAIL CARD */

@media screen and (max-width: 1000px) {
    .materialCardsGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .materialCardHeadline {
        font-size: 1.08rem !important;
    }

    .materialCardSubcategory,
    .materialCardDate {
        font-size: .94rem !important;
    }

    .materialCardCategoryContainer {
        padding: 6px 10px !important;
    }
}

@media screen and (max-width: 900px) {
    ul.headerMenu {
        display: none !important;
    }

    .textWrapper p,
    .textWrapper ul,
    .textWrapper ol,
    blockquote {
        font-size: 1.08rem !important;
    }

    .favoriteCategoryContainer {
        padding: 6px 10px !important;
    }

    .favoriteCategoryContainer span {
        font-size: .9rem !important;
    }
}

@media screen and (max-width: 750px) {
    main.content {
        margin-top: 12px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    div.contentHolder {
        padding: 0 16px 36px;
    }

    .footerInfoItems {
        flex-direction: column;
    }

    .footerNavItem {
        margin-right: 0 !important;
        text-align: center;
    }

    .materialCardsGrid,
    .favoritesCardsGrid {
        grid-template-columns: 1fr !important;
    }

    .favoriteCardHeadline {
        font-size: 1.1rem !important;
    }

    .favoritePublishingInfo p,
    .favoritePublishingInfo a {
        font-size: .95rem !important;
    }

    .bigCardHeadline {
        font-size: 1.45rem !important;
    }

    .bigCardPublishingInfo p,
    .bigCardPublishingInfo a {
        font-size: .98rem !important;
    }

    .bigCardCategoryContainer {
        margin: 12px !important;
    }

    .collectionQuizCard {
        align-items: flex-start;
    }

    .collectionQuizImageLink {
        flex-basis: 190px;
        max-width: 190px;
    }
}

@media screen and (max-width: 590px) {
    :root {
        --header-height: 60px;
    }

    .headerContentHolder {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        justify-content: space-between !important;
        padding: 0 14px;
        min-height: var(--header-height);
    }

    .headerMenuHolder {
        margin-left: auto;
    }

    .headerNavDesktop {
        display: none;
    }

    .mobileMenuBtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .breadcrumbs {
        padding: 12px 0 0 0;
    }

    .breadcrumbsItem {
        font-size: .86rem;
    }

    .breadcrumbsLink,
    .breadcrumbsCurrent {
        padding: 6px 9px;
        border-radius: 999px;
    }

    .logoHolder {
        max-width: 120px;
    }

    .logoHolder img {
        width: auto;
        height: 42px;
        max-width: 120px !important;
        max-height: 42px !important;
    }

    main.content {
        margin-top: 8px;
        border-radius: 18px 18px 0 0;
        border-left: 0;
        border-right: 0;
    }

    div.contentHolder {
        padding: 0 12px 30px;
    }

    footer .footerContent {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px;
        margin-bottom: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .materialCardsGrid,
    .favoritesCardsGrid {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        gap: 14px;
    }

    .materialCardsGrid .materialCard,
    .favoritesCardsGrid .favoriteCard {
        max-width: 100% !important;
    }

    .materialCardHeadline,
    .favoriteCardHeadline {
        font-size: 1.12rem !important;
    }

    .blockHeadline {
        margin: 1.35em 0 .9em 0 !important;
    }

    .blockHeadline .headlineInfo h1 {
        font-size: 1.65rem;
    }

    .bigFavoriteCardContainer {
        padding: 0 !important;
    }

    .bigFavoriteCard {
        padding: 10px;
        border-radius: 20px;
    }

    .bigCardCategoryContainer {
        padding: 6px 10px !important;
    }

    .bigCardCategoryContainer span {
        font-size: .88rem !important;
    }

    .bigCardHeadline {
        font-size: 1.35rem !important;
    }

    .bigCardPublishingInfo {
        justify-content: flex-start !important;
    }

    .bigCardPublishingInfo p,
    .bigCardPublishingInfo a {
        font-size: .94rem !important;
    }

    .authorInfoBlock {
        padding: 14px;
    }

    .authorHeadBlock,
    .authorInfoCard {
        align-items: flex-start;
    }

    .authorImageWrapper {
        max-width: 96px !important;
        width: 96px !important;
        height: 96px !important;
        flex: 0 0 96px !important;
    }

    .authorName,
    .authorPost {
        font-size: 1.1rem !important;
    }

    .shareBlockItem {
        max-width: 50px !important;
    }

    .appBtnContainer {
        margin: 20px 0;
        display: flex !important;
        max-width: 100%;
        justify-content: center;
    }

    .appBtn {
        background-color: var(--text-main);
        padding: 11px 18px;
        border-radius: 999px;
        box-shadow: 0 12px 30px rgba(23, 32, 51, 0.12);
    }

    .appBtn .appBtnLink {
        text-decoration: none;
        color: var(--color-white);
        font-weight: 850;
    }

    #jumpAnchor {
        scroll-margin-top: 45vh;
    }

    .quizDatetimeBlock {
        flex-direction: column !important;
    }

    .quizDatetimeBlock .quizDatetime:not(:first-child) {
        margin-left: 0 !important;
    }

    .quizDatetimeBlock .quizDatetime:first-child:after {
        content: "" !important;
    }

    .textWrapper {
        margin-left: 0 !important;
        max-width: 100%;
    }

    .topInfoBlock,
    .bottomInfoBlock {
        flex-direction: column;
        align-items: flex-start;
    }

    .materialContentWrapper h1 {
        font-size: 2rem;
        letter-spacing: -0.045em;
    }

    .materialContentWrapper p,
    .textWrapper ul,
    .textWrapper ol {
        font-size: 1.06rem;
        line-height: 1.68;
    }

    blockquote {
        padding: 22px 18px 22px 58px;
        border-radius: 18px;
    }

    blockquote:before {
        left: 18px;
        top: 18px;
        font-size: 64px;
    }

    .quizHomeIntro,
    .quizHomeSeoText,
    .quizTaxonomyIntro,
    .quizResultTopInfo {
        padding: 14px;
        border-radius: 18px;
    }

    .collectionQuizCard {
        display: block;
        margin: 24px 0;
        padding: 12px;
        border-radius: 18px;
    }

    .collectionQuizImageLink {
        max-width: 100%;
        width: 100%;
    }

    .collectionQuizInfo {
        margin-top: 12px;
    }

    .collectionQuizTitle {
        font-size: 1.1rem;
    }

    .collectionQuizDescription {
        font-size: .95rem !important;
    }

    .collectionQuizButton {
        width: 100%;
        box-sizing: border-box;
    }

    .quizGoogleSourceBox {
        margin-top: 0 !important;
        padding: 13px 12px 14px 12px !important;
    }

    .quizGoogleSourceBtn {
        width: 100% !important;
        padding: 0 !important;
    }

    .quizCollectionsHint {
        margin: 20px 0 0 0;
        padding: 14px;
        border-radius: 18px;
    }

    .quizCollectionsHintTitle {
        font-size: 1.08rem;
    }

    .quizCollectionsHintText {
        font-size: .96rem;
    }

    .quizCollectionsHintLinks {
        gap: 8px;
    }

    .quizCollectionsHintLink {
        width: 100%;
        box-sizing: border-box;
        padding: 11px 12px;
    }

    .quizContinueAnchor {
        scroll-margin-top: 70px;
    }

    .cookie-popup .popupContentContainer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

@media screen and (max-width: 420px) {
    .content {
        margin-top: .5em !important;
    }

    figure.imageFigure {
        margin: 0 !important;
    }

    .textWrapper {
        margin: 0 !important;
    }

    .textWrapper p,
    blockquote {
        font-size: 1.04rem !important;
    }

    figcaption {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .favoritePublishingInfo,
    .materialCardPublishingInfo {
        flex-direction: column;
        gap: 4px;
    }

    .quizSeoSectionTitleRow {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* FINAL COMPATIBILITY GUARD FOR HEADER-NESTED MOBILE MENU */
header.siteHeader,
header.siteHeader#menu,
#menu.siteHeader {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    perspective: none !important;
    contain: none !important;
    will-change: auto !important;
}

.mobileMenuOverlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.mobileMenuOverlay.isOpen {
    display: block !important;
}
