/* Homepage-only title rhythm; the shared header and navigation remain untouched. */
.homepage-header > h1 {
    position: relative;
    display: inline-block;
    margin: 0 0 6px;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.homepage-header > h1::before,
.homepage-header > h1::after {
    position: absolute;
    z-index: 1;
    width: 8px;
    height: 8px;
    content: "";
    pointer-events: none;
    background: #f4d27b;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.homepage-header > h1::before {
    top: 0.08em;
    left: -11px;
}

.homepage-header > h1::after {
    right: -10px;
    bottom: 0.12em;
    width: 6px;
    height: 6px;
    background: #ffe7a6;
    transform: rotate(18deg);
}

.homepage-header > #cypriot-dictionary-heading {
    max-width: min(100%, 38ch);
    margin: 0 auto 8px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 2.1vw, 1.12rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}

@media (max-width: 390px) {
    .homepage-header > h1::before {
        top: -5px;
        left: 8%;
        width: 6px;
        height: 6px;
    }

    .homepage-header > h1::after {
        top: -3px;
        right: 10%;
        bottom: auto;
        width: 5px;
        height: 5px;
    }
}
