/* Cylingo homepage — restrained heritage editorial polish.
   All rules are deliberately scoped; other pages retain the shared site skin. */
.homepage {
    --home-teal: #00a99b;
    --home-teal-deep: #145665;
    --home-ink: #174b48;
    --home-yellow: #ffebb5;
    --home-paper: #fffcf5;
    --home-coral: #fa8056;
    --home-purple: #49315e;
    --home-gold: #c9a04b;
    --home-line: rgba(20, 86, 101, .17);
    --home-soft-shadow: 0 2px 8px rgba(23, 75, 72, .08);
    --home-card-shadow: 0 6px 20px rgba(23, 75, 72, .09);
    --home-radius-sm: 8px;
    --home-radius: 12px;
    --home-radius-card: 18px;
    --home-space-sm: 8px;
    --home-space-md: 16px;
    --home-space-lg: 24px;
    --home-font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --home-transition: 180ms ease;
    font-family: var(--home-font-body);
    color: var(--home-ink);
    background: var(--home-yellow);
}

.homepage main {
    background: transparent;
    padding: clamp(16px, 3vw, 36px) clamp(12px, 3vw, 40px) 20px;
}

.homepage .homepage-header {
    padding: 18px 22px 22px;
    background: linear-gradient(125deg, #00b5a2 0%, #00c5ad 58%, #00b1a1 100%);
    box-shadow: 0 3px 12px rgba(20, 86, 101, .14);
}

.homepage .homepage-header::before {
    background-color: rgba(255, 255, 255, .05);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .1) 25%, transparent 25%);
    background-size: 3em 3em;
}

.homepage .homepage-header #logo {
    width: clamp(106px, 15vw, 164px);
    height: auto;
    margin: 2px auto 6px;
    object-fit: contain;
}

.homepage .homepage-header > h1 {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 64, 58, .38);
    font-size: clamp(1.58rem, 2.8vw, 1.9rem);
    line-height: 1.2;
    text-wrap: balance;
}

.homepage .homepage-header > h1::before,
.homepage .homepage-header > h1::after {
    opacity: .62;
}

.homepage .homepage-header > #cypriot-dictionary-heading {
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: transparent;
    font-size: clamp(.98rem, 1.8vw, 1.12rem);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 64, 58, .38);
}

.homepage .homepage-header .lang-dropdown-btn {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 25px;
    background: rgba(0, 92, 83, .82);
    color: #fff;
    box-shadow: 0 2px 8px rgba(20, 86, 101, .2);
}

.homepage .homepage-header .lang-dropdown-btn:hover,
.homepage .homepage-header .lang-dropdown-btn:focus-visible {
    background: rgba(0, 75, 68, .9);
    color: #fff;
}

.homepage .homepage-header .lang-dropdown-btn option {
    background: var(--home-paper);
    color: var(--home-ink);
}

.homepage .cy-site-header .cy-global-nav ul#cy-primary-links > li > a {
    color: #173f3b;
}

.homepage .cy-site-header .cy-global-nav ul#cy-primary-links > li > a.nav-support-button {
    background: var(--home-teal-deep);
    color: #fff;
}

.homepage .homepage-header .hamburger {
    border-radius: var(--home-radius-sm);
}

.homepage .homepage-header nav a {
    border-radius: var(--home-radius-sm);
    box-shadow: 0 2px 7px rgba(20, 86, 101, .14);
}

.homepage .search-bar-container {
    position: relative;
    z-index: 20;
    margin: 4px auto 12px !important;
    padding: 0 8px;
}

.homepage .search-form {
    width: min(820px, 100%);
    min-height: 60px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid rgba(20, 86, 101, .22);
    border-radius: 14px;
    background: var(--home-paper);
    box-shadow: 0 3px 11px rgba(23, 75, 72, .10);
    backdrop-filter: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.homepage .search-form:focus-within {
    border-color: var(--home-teal);
    outline: 2px solid rgba(0, 157, 145, .16);
    outline-offset: 2px;
    transform: none;
    box-shadow: 0 4px 13px rgba(20, 86, 101, .13);
}

.homepage .dictionary-search-icon {
    position: relative;
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--home-teal-deep);
    font-size: 0;
    line-height: 0;
    transform: none;
}

.homepage .dictionary-search-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    overflow: visible;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.homepage .search-dropdown {
    min-height: 46px;
    padding: 9px 28px 9px 12px;
    border: 0;
    border-right: 1px solid var(--home-line);
    border-radius: 8px;
    background-color: #f1f8f5;
    color: var(--home-ink);
    font-size: 15px;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #145665 50%),
        linear-gradient(135deg, #145665 50%, transparent 50%);
    background-size: 5px 5px;
    background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
    background-repeat: no-repeat;
}

.homepage #searchInput {
    min-width: 0;
    min-height: 46px;
    padding: 10px 14px;
    color: var(--home-ink);
    font-size: 17px;
    margin: 0;
}

.homepage #searchInput::placeholder {
    color: #55736e;
    opacity: 1;
}

.homepage #suggestions {
    width: min(820px, calc(100% - 16px));
    max-width: 820px;
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-paper);
    background-image: none;
    box-shadow: var(--home-card-shadow);
}

.homepage .suggestion-item {
    min-height: 48px;
    border: 1px solid rgba(20, 86, 101, .10);
    border-radius: var(--home-radius-sm);
    box-shadow: none;
}

.homepage .suggestion-item:hover {
    transform: none;
    background: #eef8f4;
}

.homepage .homepage-woty {
    width: min(760px, calc(100% - 24px));
    margin: 12px auto 20px;
    padding: 12px 15px;
    border: 1px solid rgba(201, 160, 75, .66);
    border-radius: var(--home-radius);
    background: linear-gradient(110deg, #fff9e9, #fffdf7 66%, #f8efd9);
    box-shadow: var(--home-soft-shadow);
    transition: border-color .18s ease, transform .18s ease;
}

.homepage .homepage-woty::before,
.homepage .homepage-woty::after {
    display: none;
}

.homepage .homepage-woty:hover {
    transform: translateY(-1px);
    border-color: var(--home-gold);
    box-shadow: var(--home-card-shadow);
}

.homepage .homepage-woty h2 {
    color: var(--home-purple);
    font-size: 1.05rem;
}

.homepage .homepage-woty p {
    border-color: rgba(201, 160, 75, .38);
    background: rgba(255,255,255,.68);
    color: #5c5261;
    font-variant-numeric: tabular-nums;
}

.homepage .homepage-woty-link {
    min-height: 44px;
    border: 1px solid rgba(201, 160, 75, .7);
    border-radius: var(--home-radius-sm);
    background: var(--home-purple);
    box-shadow: none;
}

.homepage .homepage-woty:hover .homepage-woty-link,
.homepage .homepage-woty:focus-visible .homepage-woty-link {
    background: #5a3e70;
    box-shadow: none;
    transform: translateY(-1px);
}

.homepage .boxes-container {
    width: min(1100px, 100%);
    gap: clamp(14px, 2.2vw, 24px);
    align-items: stretch;
    margin: 16px auto 20px;
    padding: 0;
}

.homepage .daily-word-box,
.homepage .recently-added-box {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: unset !important;
    height: auto !important;
    padding: clamp(16px, 2vw, 22px);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-card);
    background: var(--home-paper);
    box-shadow: var(--home-soft-shadow);
    backdrop-filter: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.homepage .daily-word-box:hover,
.homepage .recently-added-box:hover {
    transform: none;
    border-color: rgba(0, 157, 145, .38);
    box-shadow: var(--home-card-shadow);
}

.homepage .daily-word-box h3,
.homepage .recently-added-box h3 {
    margin: 0 0 12px;
    color: var(--home-teal-deep);
    font-size: clamp(1.2rem, 2vw, 1.42rem);
    line-height: 1.25;
}

.homepage .recently-added-box h3 {
    color: #b34824;
}

.homepage .recently-added-box {
    border-color: rgba(250, 128, 86, .45);
}

.homepage .daily-word-box .word-content,
.homepage .recently-added-box .word-content {
    width: 100% !important;
    max-width: 100%;
    min-height: 78px;
    margin: 8px auto 12px;
    padding: 12px;
    border: 1px solid rgba(0, 157, 145, .12);
    border-radius: var(--home-radius);
    background: #edf7f3;
    color: var(--home-ink);
    overflow: visible;
    text-overflow: clip;
    word-break: normal;
}

.homepage .daily-word-box #word.word-text,
.homepage .recently-added-box #word-display {
    max-width: 100%;
    color: var(--home-ink);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

.homepage .daily-word-box #meaning,
.homepage .recently-added-box #meaning-display {
    color: #355c56;
    font-size: .98rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.homepage .daily-quiz-container,
.homepage .quiz-options {
    gap: 9px;
    margin: 10px 0;
    grid-auto-rows: 1fr;
}

.homepage .daily-word-box .quiz-option,
.homepage .daily-quiz-container .quiz-option,
.homepage .daily-word-box .quiz-options .quiz-option {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(0, 127, 114, .4) !important;
    border-radius: var(--home-radius-sm);
    background: #e8f5ef !important;
    color: #145665 !important;
    box-shadow: none !important;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
}

.homepage .daily-word-box .quiz-option:hover {
    background: #d8eee5 !important;
    transform: none;
}

.homepage .daily-word-box .quiz-option.correct,
.homepage .daily-word-box .daily-quiz-btn.correct,
.homepage .daily-word-box .quiz-option[style*="background-color: rgb(0, 150, 136)"] {
    background: #008374 !important;
    color: #fff !important;
    border-color: #006f66 !important;
}

.homepage .daily-word-box .quiz-option.incorrect,
.homepage .daily-word-box .daily-quiz-btn.incorrect,
.homepage .daily-word-box .quiz-option[style*="background-color: rgb(244, 67, 54)"] {
    background: #a23832 !important;
    color: #fff !important;
    border-color: #8e302c !important;
}

.homepage .daily-word-box #revealMeaning,
.homepage .recently-added-box #reveal-meaning {
    width: auto;
    min-width: 150px;
    min-height: 44px;
    margin: 10px auto 4px;
    padding: 10px 18px;
    border: 0 !important;
    border-radius: var(--home-radius-sm);
    background: #008374 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .18s ease, transform .18s ease;
}

.homepage .daily-word-box #revealMeaning:hover,
.homepage .recently-added-box #reveal-meaning:hover {
    background: #006f66 !important;
    transform: translateY(-1px);
}

.homepage .recently-added-box #word-content-container {
    min-height: 78px !important;
    height: auto !important;
    padding: 12px !important;
    background: #ffede1;
    border-color: rgba(250, 128, 86, .34);
}

.homepage .recently-added-box #reveal-meaning {
    background: #b94823 !important;
}

.homepage .recently-added-box #reveal-meaning:hover {
    background: #9d391b !important;
}

.homepage .recently-added-box #word-display {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    font-size: clamp(1.3rem, 2vw, 1.58rem) !important;
    font-weight: 750;
}

.homepage .recently-added-box #prev,
.homepage .recently-added-box #next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    min-height: 42px;
    margin: 4px;
    padding: 8px 12px;
    border: 1px solid #a84220 !important;
    border-radius: var(--home-radius-sm);
    background: #b94823 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 650;
}

.homepage .recently-added-box #prev:hover,
.homepage .recently-added-box #next:hover {
    background: #9d391b !important;
}

.homepage .recently-added-box button:hover {
    transform: translateY(-1px);
    box-shadow: none !important;
}

.homepage .bibliography-section {
    display: flex;
    flex: .9 1 0;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin: 0;
}

.homepage .bibliography-section a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.homepage .bibliography-button {
    width: min(300px, 100%);
    height: auto;
    margin: 0;
    filter: drop-shadow(0 3px 6px rgba(20, 86, 101, .16));
    animation: none;
    transition: transform .18s ease, filter .18s ease;
}

.homepage .bibliography-button:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 5px 8px rgba(20, 86, 101, .19));
}

.homepage .wsa-home-note {
    width: min(820px, calc(100% - 12px));
    margin: 14px auto 22px;
}

.homepage .wsa-home-badge {
    border: 1px solid rgba(20, 86, 101, .18);
    border-radius: var(--home-radius);
    box-shadow: none;
}

.homepage main > div[style*="text-align: center"][style*="margin: 30px"] {
    margin: 20px auto 28px !important;
}

.homepage main > div[style*="text-align: center"][style*="margin: 30px"] > a {
    min-height: 48px;
    padding: 12px 23px !important;
    border: 1px solid rgba(73, 49, 94, .26);
    border-radius: var(--home-radius);
    background: linear-gradient(135deg, #57436b, #49315e) !important;
    box-shadow: 0 3px 10px rgba(73, 49, 94, .16) !important;
    font-size: 16px !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.homepage main > div[style*="text-align: center"][style*="margin: 30px"] > a:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(73, 49, 94, .2) !important;
}

.homepage main > div[style*="display: flex"][style*="margin: 70px"] {
    margin: 28px auto !important;
}

.homepage .history-box {
    width: min(100% - 12px, 1100px) !important;
    padding: clamp(18px, 3vw, 30px) !important;
    border: 1px solid rgba(20, 86, 101, .22) !important;
    border-radius: var(--home-radius-card) !important;
    background: var(--home-paper) !important;
    box-shadow: var(--home-soft-shadow) !important;
    text-align: left !important;
}

.homepage .cyprus-languages-title {
    width: min(100%, 760px) !important;
    margin: 0 auto 16px !important;
    padding: 0 0 12px !important;
    border-bottom: 2px solid var(--home-coral) !important;
    color: var(--home-teal-deep) !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem) !important;
    line-height: 1.25;
    letter-spacing: -.01em !important;
    text-align: center !important;
    text-wrap: balance;
}

.homepage .history-content {
    max-width: 900px;
    padding: clamp(16px, 3vw, 26px) !important;
    border: 1px solid rgba(20, 86, 101, .1);
    border-radius: var(--home-radius);
    margin: 16px auto 0 !important;
    background: #f3f8f4 !important;
    box-shadow: none !important;
    text-align: left !important;
}

.homepage .history-paragraph {
    margin: 0 0 16px !important;
    color: #34534e !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-indent: 0 !important;
}

.homepage .history-paragraph:last-child {
    margin-bottom: 0 !important;
}

.homepage .history-content.is-collapsed::after {
    height: 46px;
    background: linear-gradient(transparent, #f3f8f4) !important;
}

.homepage .toggle-history {
    min-height: 44px;
    margin: 12px auto 0;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: var(--home-radius-sm) !important;
    background: #008374 !important;
    color: #fff !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .18s ease, transform .18s ease;
}

.homepage .toggle-history:hover {
    background: #006f66 !important;
    transform: translateY(-1px);
}

.homepage #suggestions.homepage-discovery {
    padding: 0;
    border-radius: var(--home-radius);
    background: #edf7f3;
    box-shadow: none;
}

.homepage .homepage-discovery .suggestion-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    padding: 14px 18px;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.homepage .homepage-discovery-label {
    color: #41635c;
    font-size: .9rem;
    font-weight: 400;
}

.homepage .homepage-discovery-word {
    flex: 1;
    color: var(--home-teal-deep);
    font-size: 1.25em;
    font-weight: 750;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
}

.homepage .homepage-discovery,
.homepage .homepage-discovery *,
.homepage #suggestions.homepage-discovery,
.homepage #suggestions.homepage-discovery * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.homepage #suggestions.homepage-discovery {
    box-sizing: border-box;
    width: min(760px, calc(100% - 24px));
}

.homepage .cy-footer {
    margin-top: 28px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    border-top: 3px solid var(--home-coral);
    background: linear-gradient(135deg, #145665, #0e515d 72%, #12696b);
}

.homepage .cy-submit-section {
    padding: 28px 20px;
    border-radius: 18px;
    background: #ffc2a6;
}

.homepage .cy-submit-section h3 {
    margin-bottom: 5px;
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 700;
    color: var(--home-ink);
}

.homepage .cy-submit-section .cy-submit-sub {
    margin-bottom: 16px;
    color: var(--home-ink) !important;
    line-height: 1.6;
}

.homepage .cy-submit-form {
    gap: 9px;
}

.homepage .cy-submit-form input,
.homepage .cy-submit-form input[type="text"],
.homepage .cy-submit-form input[type="email"] {
    min-height: 46px;
    border: 1px solid rgba(20, 86, 101, .18) !important;
    border-radius: var(--home-radius-sm) !important;
    background: var(--home-paper) !important;
    color: var(--home-ink) !important;
    box-shadow: none;
}

.homepage .cy-submit-form input::placeholder {
    color: #55736e;
    opacity: 1;
}

.homepage .cy-submit-form input:focus {
    outline: 2px solid #ffe6a9;
    outline-offset: 1px;
    border-color: var(--home-teal) !important;
    transform: none;
}

.homepage .cy-submit-form input:invalid:not(:placeholder-shown) {
    border-color: #7b302a !important;
    box-shadow: 0 0 0 2px rgba(123, 48, 42, .14);
}

.homepage .cy-submit-form input:valid:not(:placeholder-shown) {
    border-color: #a9dfc8 !important;
}

.homepage .cy-submit-form button {
    min-height: 46px;
    border-radius: var(--home-radius-sm);
    background: #008374;
}

.homepage .cy-submit-form button:hover {
    background: #0d6873;
    transform: translateY(-1px);
}

.homepage .cy-submit-thanks {
    border: 1px solid rgba(20, 86, 101, .15);
}

.homepage .cy-footer-main {
    max-width: 1260px;
    margin: 0 auto;
    padding: 30px 22px 0;
}

.homepage .cy-footer .cy-submit-section {
    border-radius: 18px;
}

.homepage .cy-footer-grid {
    gap: 25px;
}

.homepage .cy-footer-brand .cy-footer-logo img {
    filter: none;
}

.homepage .cy-footer-linktree {
    border: 1px solid rgba(255, 252, 245, .68);
    background: transparent;
    color: #fffaf0;
}

.homepage .cy-footer-linktree:hover {
    background: rgba(255, 252, 245, .1);
    box-shadow: none;
}

.homepage .cy-footer-linktree svg {
    fill: currentColor;
}

.homepage .cy-footer-bottom,
.homepage .cy-footer-bottom p {
    color: #daeee8;
}

.homepage .cy-footer-col ul li {
    margin-bottom: 4px;
}

.homepage .cy-footer-col ul li a,
.homepage .cy-footer-bottom .cy-footer-mini-links a {
    min-height: 44px;
    align-content: center;
}

.homepage .cy-footer-socials a {
    width: 40px;
    height: 40px;
}

.homepage #backToTop {
    left: auto;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.75);
    background: var(--home-teal-deep);
    box-shadow: 0 3px 10px rgba(20, 86, 101, .18);
    font-family: inherit;
    transition: background-color .18s ease, transform .18s ease;
}

.homepage #backToTop.homepage-backtotop-obstructed {
    visibility: hidden;
    pointer-events: none;
}

.homepage :where(a, button, input, select):focus-visible {
    outline: 3px solid rgba(0, 113, 104, .75);
    outline-offset: 3px;
}

.homepage .homepage-header :where(a, button):focus-visible,
.homepage .cy-footer :where(a, button):focus-visible {
    outline-color: #ffe6a9;
}

@media (max-width: 768px) {
    .homepage .homepage-header {
        padding: 12px 14px 16px;
    }

    .homepage .homepage-header #logo {
        width: 134px;
        margin: 0 auto 3px;
    }

    .homepage main {
        padding: 15px 12px;
    }

    .homepage .search-bar-container {
        margin: 8px auto 12px !important;
        padding: 0;
    }

    .homepage .search-form {
        width: 100%;
        min-height: 58px;
        margin: 0;
    }

    .homepage #suggestions,
    .homepage #suggestions.homepage-discovery {
        width: calc(100% - 24px);
    }

    .homepage .boxes-container {
        flex-direction: column;
        gap: 14px;
        margin: 16px auto;
    }

    .homepage .daily-word-box,
    .homepage .recently-added-box {
        width: 100%;
        min-height: auto;
        margin: 0 auto;
    }

    .homepage .bibliography-section {
        order: -1 !important;
        width: 100%;
        min-width: 0;
        min-height: 150px;
        margin: 0;
    }

    .homepage .bibliography-button {
        width: min(245px, 78vw);
    }

    .homepage .homepage-woty {
        width: calc(100% - 24px);
        margin: 12px auto 16px;
    }

    .homepage .homepage-woty-copy {
        flex-basis: auto;
    }

    .homepage .homepage-woty-link {
        width: 100%;
    }

    .homepage main > div[style*="display: flex"][style*="margin: 70px"] {
        margin: 22px auto !important;
    }

    .homepage .history-box {
        width: 100% !important;
        padding: 17px 14px !important;
    }

    .homepage .history-content {
        padding: 15px !important;
    }

    .homepage .history-paragraph {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .homepage .cy-submit-section {
        padding: 24px 15px;
    }

    .homepage .cy-footer-main {
        padding: 24px 16px 0;
    }

    .homepage .cy-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 21px 18px;
    }

    .homepage .cy-footer-brand,
    .homepage .cy-footer-support {
        grid-column: 1 / -1;
    }

    .homepage .cy-footer-brand {
        align-items: flex-start;
    }

    .homepage .cy-footer-linktree {
        white-space: normal;
    }

    .homepage .cy-footer-col ul li {
        margin-bottom: 2px;
    }

    .homepage .cy-footer-bottom {
        margin-top: 22px;
    }
}

@media (max-width: 380px) {
    .homepage .search-form {
        flex-wrap: wrap;
        gap: 4px;
        padding: 6px;
    }

    .homepage .dictionary-search-icon {
        flex-basis: 34px;
        width: 34px;
    }

    .homepage .dictionary-search-icon svg {
        width: 20px;
        height: 20px;
    }

    .homepage .search-dropdown {
        flex: 1 0 calc(100% - 44px);
        border-right: 0;
    }

    .homepage #searchInput {
        flex: 1 0 100%;
        width: 100%;
        border-top: 1px solid rgba(20, 86, 101, .12);
    }

    .homepage .cy-footer-grid {
        grid-template-columns: 1fr;
    }

    .homepage .cy-footer-brand,
    .homepage .cy-footer-support {
        grid-column: auto;
    }
}

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