.show-more-button {
    display: block;
    width: min(360px, calc(100% - 48px));
    margin: -1px auto 0;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: var(--panel);
    color: var(--ink);
    padding: 12px 22px 13px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(27, 39, 69, .06);
}

.show-more-button:hover {
    border-color: rgba(49, 92, 190, .45);
    border-top: 0;
    color: var(--accent);
}

.home-seo-text {
    max-width: none;
}

.clock-panel {
    --clock-map-width: 328px;
    --clock-map-height: 205px;
    margin: 0 0 28px;
    border-radius: 8px;
    padding: 24px;
    display: grid;
    grid-template-columns: 251px minmax(0, 1fr) minmax(269px, var(--clock-map-width));
    gap: 6px;
    align-items: center;
    color: #fff;
    background: linear-gradient(120deg, #35418f, #826be3);
    box-shadow: var(--shadow);
}

.clock-face {
    width: 251px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fbfbfb;
    border: 12px solid rgba(0, 0, 0, .18);
    position: relative;
    color: #111;
    box-shadow: inset 0 0 0 1px #ddd;
}

.minute-tick {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 8px;
    border-radius: 999px;
    background: #222;
    transform: translate(-50%, -50%) rotate(calc(var(--tick) * 6deg)) translateY(-101px);
    transform-origin: center;
    z-index: 1;
}

.minute-tick:nth-child(5n + 1) {
    width: 4px;
    height: 12px;
}

.hour { position: absolute; z-index: 2; font-size: 24px; font-weight: 700; transform: translate(-50%, -50%); }

.h12 { left: 50%; top: 15%; }

.h1 { left: 68%; top: 20%; }

.h2 { left: 81%; top: 32%; }

.h3 { left: 86%; top: 50%; }

.h4 { left: 81%; top: 68%; }

.h5 { left: 68%; top: 80%; }

.h6 { left: 50%; top: 85%; }

.h7 { left: 32%; top: 80%; }

.h8 { left: 19%; top: 68%; }

.h9 { left: 14%; top: 50%; }

.h10 { left: 19%; top: 32%; }

.h11 { left: 32%; top: 20%; }

.clock-watermark {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: calc(50% - 20px);
    max-width: 68%;
    color: #1c2430;
    opacity: .2;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    pointer-events: none;
}

.hand {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    border-radius: 999px;
    background: #151515;
}

.hour-hand { width: 7px; height: 58px; margin-left: -3.5px; }

.minute-hand { width: 5px; height: 82px; margin-left: -2.5px; }

.second-hand { width: 2px; height: 94px; margin-left: -1px; background: #d51f35; }

.pin { position: absolute; z-index: 4; width: 14px; height: 14px; border-radius: 50%; background: #111; left: calc(50% - 7px); top: calc(50% - 7px); }

.clock-main {
    min-width: 0;
    container-type: inline-size;
}

.clock-date {
    font-size: 22px;
    font-weight: 700;
    padding-left: 10px;
    text-wrap: pretty;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.digital-time {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 1em;
    padding-left: 10px;
    font-size: min(161px, 23cqi);
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    white-space: nowrap;
    text-shadow: 0 2px 2px rgba(0,0,0,.25);
}

.clock-facts-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-top: 12px;
    padding-left: 10px;
    color: rgba(255,255,255,.9);
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.clock-timezone {
    display: inline-flex;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    align-items: center;
    gap: 9px;
}

.clock-timezone img {
    flex: 0 0 auto;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.location-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: center;
    width: 100%;
    min-height: calc(var(--clock-map-height) + 58px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.location-preview:hover {
    background: rgba(255,255,255,.12);
}

.location-map-mini,
.location-map-large {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #d8edf5;
}

.location-map-mini {
    width: 100%;
    height: var(--clock-map-height);
    min-height: var(--clock-map-height);
}

.location-preview-text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    margin-top: auto;
    margin-bottom: 5px;
}

.location-preview-text strong {
    font-size: 17px;
    min-width: 0;
}

.location-preview-text small {
    color: rgba(255,255,255,.82);
    white-space: nowrap;
}

.location-map-expanded {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: -10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.location-map-expanded[hidden] {
    display: none;
}

.location-map-large {
    height: 560px;
}

.location-map-meta {
    align-self: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.location-map-title {
    display: inline;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.location-map-meta p {
    margin: 0;
}

.market-time {
    margin: 14px 0;
}

.ad-block {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.ad-block:empty {
    display: none;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 48px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 18px;
    box-shadow: var(--shadow);
}

.market-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
    color: var(--accent);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    min-width: 0;
}

.market-card:hover {
    text-decoration: none;
}

.market-city {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    min-width: 0;
}

.market-city img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border: 1px solid #d5dce8;
    border-radius: 2px;
    flex: 0 0 auto;
}

.market-city span {
    min-width: 0;
}

.market-card strong {
    color: var(--ink);
    font-family: Consolas, "Courier New", monospace;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

.country-time-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 48px;
    padding: 10px 18px;
}

.country-time-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
    color: var(--accent);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    min-width: 0;
}

.country-time-card:hover {
    text-decoration: none;
}

.country-time-card strong {
    color: var(--ink);
    font-family: Consolas, "Courier New", monospace;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

.link-table,
.region-list,
.country-time-grid {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    box-shadow: var(--shadow);
}

.link-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 18px; }

.link-table.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.region-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px 32px;
}

.time-list-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #edf1f6;
    min-width: 0;
}

.time-list-row a {
    min-width: 0;
}

.time-list-row span[data-mini-time] {
    color: var(--ink);
    font-family: Consolas, "Courier New", monospace;
    white-space: nowrap;
}

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.info-grid > div {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0;
}

.facts-grid > div {
    border-top: 1px solid var(--line);
    padding: 9px 0;
}

.facts-grid dt {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 3px;
}

.facts-grid dd {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 1180px) {
    .clock-panel {
            --clock-map-width: 100%;
            --clock-map-height: 190px;
            grid-template-columns: 251px minmax(0, 1fr);
            gap: 16px 28px;
            padding: 22px;
        }

    .clock-date {
            padding-left: 0;
            font-size: 21px;
        }

    .digital-time {
            padding-left: 0;
            font-size: min(124px, 23cqi);
        }

    .clock-facts-row {
            padding-left: 0;
            gap: 9px 18px;
            font-size: 17px;
        }

    .location-preview {
            grid-column: 1 / -1;
            width: 100%;
            min-height: auto;
            padding: 10px;
        }

    .location-map-mini {
            height: var(--clock-map-height);
            min-height: var(--clock-map-height);
        }
}

@media (max-width: 980px) {
    .market-grid,
    .country-time-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0 24px;
        }
}

@media (max-width: 860px) {
    .clock-panel { grid-template-columns: 1fr; text-align: center; }

    .clock-face { margin: 0 auto; }

    .clock-facts-row { justify-content: center; }

    .digital-time {
            padding-left: 0;
            justify-content: center;
        }

    .location-preview {
            justify-self: center;
            width: min(100%, var(--clock-map-width));
            text-align: left;
        }

    .location-map-expanded { grid-template-columns: 1fr; }

    .info-grid,
    .facts-grid { grid-template-columns: 1fr; }

    .market-grid,
    .country-time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }

    .link-table,
    .link-table.wide,
    .region-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .clock-panel { padding: 18px 10px; }

    .location-preview {
            width: 100%;
            min-height: auto;
        }

    .location-map-mini {
            height: 190px;
            min-height: 190px;
        }

    .clock-facts-row {
            justify-content: center;
            gap: 8px 12px;
            padding-left: 0;
            font-size: 16px;
            line-height: 1.2;
        }

    .clock-timezone {
            gap: 6px;
        }

    .clock-timezone img {
            width: 20px;
            height: 15px;
        }

    .location-map-expanded {
            padding: 14px;
            gap: 12px;
        }

    .location-map-large {
            height: 390px;
        }

    .digital-time { font-size: min(77px, 23cqi); }

    .market-grid { grid-template-columns: 1fr; }

    .country-time-grid { grid-template-columns: 1fr; }

    .market-card { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
}

@media (max-width: 520px) and (orientation: portrait) {
    .clock-date-separator { display: none; }

    .clock-date-details { display: block; }
}

.city-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
