:root {
    color-scheme: light;

    --hdh-night-950: #130d25;
    --hdh-night-900: #21143d;
    --hdh-night-800: #322055;

    --hdh-violet-700: #6134a5;
    --hdh-violet-600: #7445c4;
    --hdh-violet-100: #f0e9fb;

    --hdh-gold-500: #d7a74c;

    --hdh-coral-500: #df705c;
    --hdh-coral-100: #fff0ec;

    --hdh-green-500: #4c9678;
    --hdh-blue-500: #537dc8;

    --hdh-ink: #201a2b;
    --hdh-text: #403749;
    --hdh-muted: #6f6678;
    --hdh-soft: #938a9d;

    --hdh-page: #f6f2ed;
    --hdh-surface: #fffdf9;
    --hdh-white: #ffffff;
    --hdh-border: #e5dde8;

    --hdh-shadow:
        0 12px 34px rgba(34, 21, 55, 0.08);

    --hdh-shadow-large:
        0 24px 68px rgba(34, 21, 55, 0.15);

    --hdh-radius-small: 13px;
    --hdh-radius-medium: 21px;
    --hdh-radius-large: 29px;

    --hdh-container: 1200px;
    --hdh-header-height: 74px;

    --hdh-font:
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --hdh-serif:
        Georgia,
        "Times New Roman",
        serif;
}

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-block-start:
        calc(var(--hdh-header-height) + 20px);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;

    color: var(--hdh-ink);

    background:
        radial-gradient(
            circle at 7% 0,
            rgba(116, 69, 196, 0.09),
            transparent 30rem
        ),
        radial-gradient(
            circle at 94% 15%,
            rgba(215, 167, 76, 0.10),
            transparent 28rem
        ),
        var(--hdh-page);

    font-family: var(--hdh-font);
    font-size: 17px;
    line-height: 1.65;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--hdh-violet-700);
}

button,
select {
    cursor: pointer;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(116, 69, 196, 0.4);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.hdh-container {
    width: min(
        calc(100% - 34px),
        var(--hdh-container)
    );

    margin-inline: auto;
}

.hdh-skip-link {
    position: fixed;
    inset-block-start: 8px;
    inset-inline-start: 8px;
    z-index: 999;

    padding: 10px 16px;
    border-radius: 10px;

    color: var(--hdh-white);
    background: var(--hdh-night-900);

    transform: translateY(-160%);
}

.hdh-skip-link:focus {
    transform: translateY(0);
}

/* Header */

.hdh-site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 100;

    min-height: var(--hdh-header-height);

    border-block-end:
        1px solid rgba(255, 255, 255, 0.09);

    color: var(--hdh-white);

    background:
        linear-gradient(
            135deg,
            rgba(19, 13, 37, 0.98),
            rgba(50, 32, 85, 0.98)
        );

    box-shadow:
        0 10px 30px rgba(19, 13, 37, 0.17);

    backdrop-filter: blur(16px);
}

.hdh-header-inner {
    position: relative;

    display: flex;
    min-height: var(--hdh-header-height);

    align-items: center;
    justify-content: space-between;

    gap: 22px;
}

.hdh-brand {
    display: inline-flex;
    min-width: 0;

    align-items: center;
    gap: 11px;

    color: var(--hdh-white);
    text-decoration: none;
}

.hdh-brand:hover {
    color: var(--hdh-white);
}

.hdh-brand strong {
    overflow: hidden;

    max-width: 280px;

    font-family: var(--hdh-serif);
    font-size: 1.18rem;
    line-height: 1.1;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdh-brand-mark {
    display: grid;

    width: 43px;
    height: 43px;
    flex: 0 0 43px;

    place-items: center;

    border:
        1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    color: var(--hdh-gold-500);
    background:
        rgba(255, 255, 255, 0.08);

    font-size: 1.35rem;
}

.hdh-primary-nav {
    display: flex;

    align-items: center;
    gap: 3px;
}

.hdh-primary-nav a {
    padding: 9px 12px;
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.9rem;
    font-weight: 750;

    text-decoration: none;
}

.hdh-primary-nav a:hover {
    color: var(--hdh-white);
    background:
        rgba(255, 255, 255, 0.09);
}

.hdh-header-actions {
    display: flex;

    align-items: center;
    gap: 9px;
}

.hdh-language-form {
    display: flex;

    align-items: center;
    gap: 5px;
}

.hdh-language-form label {
    position: absolute;

    overflow: hidden;
    width: 1px;
    height: 1px;

    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hdh-language-form select {
    max-width: 140px;
    height: 39px;

    padding-inline: 12px 30px;

    border:
        1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;

    color: var(--hdh-white);
    background: var(--hdh-night-800);
}

.hdh-language-form option {
    color: var(--hdh-ink);
    background: var(--hdh-white);
}

.hdh-language-form button {
    width: 39px;
    height: 39px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    color: var(--hdh-night-950);
    background: var(--hdh-gold-500);

    font-weight: 900;
}

.hdh-menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    padding: 10px;

    border:
        1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;

    color: var(--hdh-white);
    background:
        rgba(255, 255, 255, 0.08);
}

.hdh-menu-toggle span {
    display: block;

    height: 2px;
    margin-block: 4px;

    border-radius: 999px;
    background: currentColor;
}

/* Headings */

.hdh-page-top {
    padding-block: 48px 16px;
}

.hdh-home-heading,
.hdh-sign-heading,
.hdh-daily-page-heading,
.hdh-author-page-heading,
.hdh-astral-heading,
.hdh-not-found-heading {
    display: flex;

    align-items: center;
    gap: 22px;
}

.hdh-home-heading h1,
.hdh-sign-heading h1,
.hdh-daily-page-heading h1,
.hdh-article-page-heading h1,
.hdh-tag-heading h1,
.hdh-author-page-heading h1,
.hdh-astral-heading h1,
.hdh-not-found-heading h1 {
    margin: 0;

    font-family: var(--hdh-serif);
    font-size: clamp(2.45rem, 5vw, 4.65rem);
    font-weight: 650;

    letter-spacing: -0.05em;
    line-height: 1.02;
}

.hdh-home-symbol,
.hdh-astral-heading > span {
    display: grid;

    width: 84px;
    height: 84px;
    flex: 0 0 84px;

    place-items: center;

    border-radius: 25px;

    color: var(--hdh-gold-500);

    background:
        linear-gradient(
            145deg,
            var(--hdh-night-950),
            var(--hdh-violet-700)
        );

    box-shadow: var(--hdh-shadow-large);

    font-size: 2.8rem;
}

.hdh-sign-medallion {
    display: grid;

    width: 94px;
    height: 94px;
    flex: 0 0 94px;

    place-items: center;

    border-radius: 50%;

    color: var(--hdh-gold-500);

    background:
        linear-gradient(
            145deg,
            var(--hdh-night-950),
            var(--hdh-violet-700)
        );

    box-shadow: var(--hdh-shadow-large);

    font-family: var(--hdh-serif);
    font-size: 4rem;
}

.hdh-article-deck,
.hdh-tag-heading p,
.hdh-astral-heading p,
.hdh-not-found-heading p {
    max-width: 780px;

    margin: 16px 0 0;

    color: var(--hdh-text);

    font-family: var(--hdh-serif);
    font-size: 1.16rem;
    line-height: 1.7;
}

.hdh-article-byline,
.hdh-author-line {
    margin: 16px 0 0;

    color: var(--hdh-muted);

    font-size: 1rem;
}

/* Zodiac selector */

.hdh-zodiac-section {
    padding-block: 20px 35px;
}

.hdh-zodiac-heading {
    display: flex;

    margin-block-end: 13px;

    align-items: center;
    justify-content: space-between;

    gap: 16px;
}

.hdh-zodiac-heading h2 {
    margin: 0;

    font-family: var(--hdh-serif);
    font-size: 1.5rem;
    line-height: 1.2;
}

.hdh-zodiac-controls {
    display: flex;
    gap: 7px;
}

.hdh-zodiac-controls button {
    display: grid;

    width: 39px;
    height: 39px;

    padding: 0;

    place-items: center;

    border: 1px solid var(--hdh-border);
    border-radius: 50%;

    color: var(--hdh-ink);
    background: var(--hdh-surface);

    font-size: 1.6rem;
    line-height: 1;
}

.hdh-zodiac-rail {
    display: grid;
    overflow-x: auto;

    grid-auto-columns: 91px;
    grid-auto-flow: column;

    gap: 8px;

    padding-block: 2px 5px;

    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hdh-zodiac-rail::-webkit-scrollbar {
    display: none;
}

.hdh-zodiac-card {
    display: grid;

    min-height: 88px;

    place-items: center;
    gap: 3px;

    padding: 9px 7px;

    border: 1px solid var(--hdh-border);
    border-radius: 17px;

    color: var(--hdh-ink);
    background: var(--hdh-surface);

    box-shadow:
        0 7px 20px rgba(34, 21, 55, 0.06);

    scroll-snap-align: start;

    text-align: center;
    text-decoration: none;

    transition:
        transform 150ms ease,
        border-color 150ms ease;
}

.hdh-zodiac-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(116, 69, 196, 0.45);
}

.hdh-zodiac-card span {
    color: var(--hdh-violet-600);

    font-family: var(--hdh-serif);
    font-size: 2rem;
    line-height: 1;
}

.hdh-zodiac-card strong {
    font-size: 0.78rem;
    line-height: 1.15;
}

.hdh-zodiac-card.is-active {
    border-color: var(--hdh-violet-600);

    color: var(--hdh-white);

    background:
        linear-gradient(
            145deg,
            var(--hdh-night-900),
            var(--hdh-violet-700)
        );
}

.hdh-zodiac-card.is-active span {
    color: var(--hdh-gold-500);
}

/* Main layout */

.hdh-content-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(290px, 345px);

    align-items: start;
    gap: 29px;

    padding-block: 13px 82px;
}

.hdh-main-column,
.hdh-sidebar {
    display: grid;
    gap: 25px;
}

.hdh-sidebar {
    position: sticky;
    inset-block-start:
        calc(var(--hdh-header-height) + 22px);
}

.hdh-panel {
    border: 1px solid var(--hdh-border);
    border-radius: var(--hdh-radius-large);

    background: var(--hdh-surface);

    box-shadow: var(--hdh-shadow);
}

.hdh-empty-state {
    padding: 34px;
}

/* Articles */

.hdh-article-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.hdh-article-card {
    display: grid;
    min-width: 0;

    grid-template-columns:
        120px minmax(0, 1fr);

    align-items: start;
    gap: 18px;

    padding: 17px;

    border: 1px solid var(--hdh-border);
    border-radius: var(--hdh-radius-medium);

    background: var(--hdh-surface);

    box-shadow: var(--hdh-shadow);
}

.hdh-article-card.is-featured {
    grid-column: 1 / -1;

    grid-template-columns:
        minmax(280px, 40%)
        minmax(0, 1fr);

    align-items: stretch;

    overflow: hidden;
    padding: 0;

    border-radius: var(--hdh-radius-large);
}

.hdh-article-media {
    display: grid;

    width: 120px;
    height: 120px;

    overflow: hidden;

    place-items: center;

    border-radius: 17px;

    color: var(--hdh-gold-500);

    background:
        linear-gradient(
            145deg,
            var(--hdh-night-900),
            var(--hdh-violet-700)
        );

    font-size: 2.2rem;
    text-decoration: none;
}

.hdh-article-card.is-featured .hdh-article-media {
    width: 100%;
    height: 100%;
    min-height: 280px;

    border-radius: 0;
}

.hdh-article-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hdh-article-content {
    min-width: 0;
}

.hdh-article-card.is-featured .hdh-article-content {
    display: flex;

    flex-direction: column;
    justify-content: center;

    padding: clamp(27px, 5vw, 46px);
}

.hdh-article-card h2 {
    margin: 0;

    font-family: var(--hdh-serif);
    font-size: 1.38rem;
    letter-spacing: -0.025em;
    line-height: 1.24;
}

.hdh-article-card.is-featured h2 {
    font-size: clamp(1.9rem, 3.3vw, 2.9rem);
    line-height: 1.1;
}

.hdh-article-card h2 a {
    text-decoration: none;
}

.hdh-article-description {
    margin: 12px 0 0;

    color: var(--hdh-text);

    font-size: 1.04rem;
    line-height: 1.68;
}

.hdh-article-card.is-featured
.hdh-article-description {
    margin-block-start: 18px;

    font-size: 1.13rem;
    line-height: 1.72;
}

/* Load more */

.hdh-load-more {
    display: grid;

    margin-block-start: 24px;

    justify-items: center;
    gap: 10px;
}

.hdh-load-status {
    margin: 0;

    color: var(--hdh-muted);

    font-size: 0.95rem;
    text-align: center;
}

/* Sign hub */

.hdh-sign-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.hdh-summary-card {
    display: flex;

    flex-direction: column;
    align-items: flex-start;

    padding: 26px;
}

.hdh-summary-icon {
    display: grid;

    width: 52px;
    height: 52px;

    margin-block-end: 17px;

    place-items: center;

    border-radius: 17px;

    color: var(--hdh-gold-500);
    background: var(--hdh-night-900);

    font-size: 1.7rem;
}

.hdh-love-card {
    background:
        linear-gradient(
            140deg,
            var(--hdh-coral-100),
            var(--hdh-surface)
        );
}

.hdh-love-card .hdh-summary-icon {
    color: var(--hdh-white);
    background: var(--hdh-coral-500);
}

.hdh-summary-card h2,
.hdh-related-section > h2 {
    margin: 0;

    font-family: var(--hdh-serif);
    font-size: 2rem;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.hdh-summary-card p {
    flex: 1;

    margin: 15px 0 22px;

    color: var(--hdh-text);

    font-size: 1.04rem;
    line-height: 1.7;
}

.hdh-sign-actions {
    display: flex;
    justify-content: flex-start;
}

.hdh-related-section {
    display: grid;
    gap: 19px;

    padding-block-start: 14px;
}

/* Daily horoscope */

.hdh-daily-page {
    padding: clamp(25px, 5vw, 44px);
}

.hdh-prose {
    color: var(--hdh-text);

    font-family: var(--hdh-serif);
    font-size: 1.14rem;
    line-height: 1.84;
}

.hdh-prose p {
    margin-block: 0 1.25em;
}

.hdh-prose p:last-child {
    margin-block-end: 0;
}

.hdh-daily-prose {
    margin-block-end: 27px;

    font-size: clamp(1.16rem, 1.7vw, 1.3rem);
}

.hdh-metrics-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.hdh-metric {
    padding: 21px;

    border: 1px solid var(--hdh-border);
    border-radius: var(--hdh-radius-medium);

    background: var(--hdh-white);
}

.hdh-metric-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;
}

.hdh-metric h3 {
    margin: 0;

    font-size: 1.14rem;
    line-height: 1.25;
}

.hdh-metric-heading strong {
    color: var(--hdh-muted);

    font-size: 1rem;
}

.hdh-metric p {
    margin: 14px 0 0;

    color: var(--hdh-text);

    font-size: 1.04rem;
    line-height: 1.68;
}

.hdh-metric meter {
    width: 100%;
    height: 12px;

    margin-block-start: 14px;

    border: 0;
    border-radius: 999px;

    background: var(--hdh-violet-100);

    appearance: none;
}

.hdh-metric meter::-webkit-meter-bar {
    border: 0;
    border-radius: 999px;

    background: var(--hdh-violet-100);
}

.hdh-metric meter::-webkit-meter-optimum-value {
    border-radius: 999px;
    background: var(--hdh-violet-600);
}

.hdh-metric meter::-moz-meter-bar {
    border-radius: 999px;
    background: var(--hdh-violet-600);
}

.hdh-metric-gold
meter::-webkit-meter-optimum-value {
    background: var(--hdh-gold-500);
}

.hdh-metric-gold meter::-moz-meter-bar {
    background: var(--hdh-gold-500);
}

.hdh-metric-coral
meter::-webkit-meter-optimum-value {
    background: var(--hdh-coral-500);
}

.hdh-metric-coral meter::-moz-meter-bar {
    background: var(--hdh-coral-500);
}

.hdh-metric-green
meter::-webkit-meter-optimum-value {
    background: var(--hdh-green-500);
}

.hdh-metric-green meter::-moz-meter-bar {
    background: var(--hdh-green-500);
}

.hdh-metric-blue
meter::-webkit-meter-optimum-value {
    background: var(--hdh-blue-500);
}

.hdh-metric-blue meter::-moz-meter-bar {
    background: var(--hdh-blue-500);
}

.hdh-love-section {
    display: grid;

    margin-block-start: 23px;

    grid-template-columns:
        auto minmax(0, 1fr);

    gap: 18px;

    padding: 24px;

    border: 1px solid #f1ccc4;
    border-radius: var(--hdh-radius-medium);

    background:
        linear-gradient(
            135deg,
            var(--hdh-coral-100),
            var(--hdh-white)
        );
}

.hdh-love-section > span {
    display: grid;

    width: 54px;
    height: 54px;

    place-items: center;

    border-radius: 50%;

    color: var(--hdh-white);
    background: var(--hdh-coral-500);

    font-size: 1.8rem;
}

.hdh-love-section h2 {
    margin: 0 0 8px;

    font-family: var(--hdh-serif);
    font-size: 2rem;
}

.hdh-period-navigation {
    display: grid;

    margin-block-start: 27px;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 8px;
}

.hdh-period-navigation a {
    display: grid;

    min-height: 48px;

    place-items: center;

    padding: 10px;

    border: 1px solid var(--hdh-border);
    border-radius: 13px;

    color: var(--hdh-muted);
    background: var(--hdh-white);

    font-size: 0.91rem;
    font-weight: 800;

    text-align: center;
    text-decoration: none;
}

.hdh-period-navigation a.is-current {
    border-color: var(--hdh-violet-600);

    color: var(--hdh-white);
    background: var(--hdh-violet-600);
}

/* Full article */

.hdh-article-page {
    overflow: hidden;
}

.hdh-article-main-image {
    margin: 0;

    background: var(--hdh-violet-100);
}

.hdh-article-main-image img {
    width: 100%;
    max-height: 630px;

    object-fit: cover;
}

.hdh-article-body {
    padding: clamp(25px, 6vw, 55px);

    color: var(--hdh-text);

    font-family: var(--hdh-serif);
    font-size: 1.16rem;
    line-height: 1.86;
}

.hdh-article-body p {
    margin-block: 0 1.25em;
}

.hdh-article-body h2,
.hdh-article-body h3 {
    color: var(--hdh-ink);

    font-family: var(--hdh-serif);
    line-height: 1.18;
}

.hdh-article-body h2 {
    margin-block: 2em 0.65em;

    font-size: 2rem;
}

.hdh-article-body h3 {
    margin-block: 1.7em 0.6em;

    font-size: 1.55rem;
}

.hdh-article-body img {
    width: auto;
    height: auto;
    max-width: 100%;

    margin-inline: auto;
}

.hdh-article-body blockquote {
    margin-inline: 0;

    padding: 20px 24px;

    border-inline-start:
        5px solid var(--hdh-violet-600);

    background: var(--hdh-violet-100);
}

.hdh-inline-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    padding:
        0 clamp(25px, 6vw, 55px)
        clamp(25px, 6vw, 55px);
}

.hdh-inline-tags a {
    padding: 8px 13px;

    border: 1px solid var(--hdh-border);
    border-radius: 999px;

    color: var(--hdh-violet-700);
    background: var(--hdh-white);

    font-size: 0.9rem;
    font-weight: 750;

    text-decoration: none;
}

/* Author */

.hdh-author-large-avatar {
    display: grid;

    width: 94px;
    height: 94px;
    flex: 0 0 94px;

    place-items: center;

    border-radius: 50%;

    color: var(--hdh-white);

    background:
        linear-gradient(
            145deg,
            var(--hdh-violet-600),
            var(--hdh-night-900)
        );

    box-shadow: var(--hdh-shadow-large);

    font-family: var(--hdh-serif);
    font-size: 1.5rem;
}

.hdh-author-biography {
    padding: clamp(26px, 5vw, 45px);
}

/* Sidebar */

.hdh-sidebar-card,
.hdh-author-card,
.hdh-tag-cloud {
    padding: 27px;
}

.hdh-sidebar-card h2,
.hdh-author-card h2,
.hdh-tag-cloud h2 {
    margin: 0;

    font-family: var(--hdh-serif);
    font-size: 1.82rem;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.hdh-sidebar-card > p,
.hdh-author-card p:not(.hdh-eyebrow) {
    color: var(--hdh-text);

    font-size: 1rem;
    line-height: 1.65;
}

.hdh-sidebar-symbol {
    display: grid;

    width: 54px;
    height: 54px;

    margin-block-end: 17px;

    place-items: center;

    border-radius: 17px;

    color: var(--hdh-gold-500);
    background: var(--hdh-night-900);

    font-size: 1.7rem;
}

.hdh-author-card {
    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr);

    gap: 16px;
}

.hdh-author-avatar {
    display: grid;

    width: 60px;
    height: 60px;

    place-items: center;

    border-radius: 50%;

    color: var(--hdh-white);

    background:
        linear-gradient(
            145deg,
            var(--hdh-violet-600),
            var(--hdh-night-900)
        );

    font-family: var(--hdh-serif);
    font-weight: 750;
}

.hdh-eyebrow {
    margin: 0 0 7px;

    color: var(--hdh-violet-700);

    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.hdh-tag-cloud-links {
    display: flex;
    flex-wrap: wrap;

    margin-block-start: 18px;

    gap: 8px;
}

.hdh-tag-cloud-links a {
    padding: 7px 10px;

    border: 1px solid var(--hdh-border);
    border-radius: 999px;

    color: var(--hdh-violet-700);
    background: var(--hdh-white);

    font-size: 0.86rem;
    font-weight: 700;

    text-decoration: none;
}

/* Forms */

.hdh-subscription-form {
    display: grid;
    gap: 11px;
}

.hdh-subscription-form label,
.hdh-astral-form label {
    color: var(--hdh-text);

    font-size: 0.94rem;
    font-weight: 750;
}

.hdh-subscription-form input,
.hdh-astral-form input,
.hdh-astral-form textarea {
    width: 100%;

    border: 1px solid var(--hdh-border);
    border-radius: 14px;

    color: var(--hdh-ink);
    background: var(--hdh-white);
}

.hdh-subscription-form input,
.hdh-astral-form input {
    min-height: 49px;

    padding: 11px 14px;
}

.hdh-astral-form textarea {
    padding: 14px;

    resize: vertical;
}

.hdh-external-form-status {
    margin: 0;

    color: var(--hdh-muted);

    font-size: 0.9rem;
}

.hdh-form-result {
    width: 100%;
    min-height: 86px;

    margin-block-start: 12px;

    border: 1px solid var(--hdh-border);
    border-radius: 14px;

    background: var(--hdh-white);
}

/* Patricia AI */

.hdh-assistant-card {
    display: grid;
    gap: 22px;

    padding: clamp(27px, 5vw, 42px);

    border-radius: var(--hdh-radius-large);

    color: var(--hdh-white);

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(215, 167, 76, 0.27),
            transparent 18rem
        ),
        linear-gradient(
            145deg,
            var(--hdh-night-950),
            var(--hdh-violet-700)
        );

    box-shadow: var(--hdh-shadow-large);
}

.hdh-assistant-heading {
    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;
    gap: 19px;
}

.hdh-assistant-icon {
    display: grid;

    width: 70px;
    height: 70px;

    place-items: center;

    border:
        1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;

    color: var(--hdh-gold-500);
    background:
        rgba(255, 255, 255, 0.08);

    font-weight: 900;
}

.hdh-assistant-card .hdh-eyebrow {
    color: var(--hdh-gold-500);
}

.hdh-assistant-card h2 {
    margin: 0;

    font-family: var(--hdh-serif);
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.08;
}

.hdh-assistant-heading p:not(.hdh-eyebrow) {
    margin: 9px 0 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 1.08rem;
    line-height: 1.65;
}

.hdh-patricia-widget {
    min-width: 0;
    overflow: hidden;

    border-radius: 18px;

    color: var(--hdh-ink);
    background: var(--hdh-white);
}

.hdh-patricia-widget textarea,
.hdh-patricia-widget input,
.hdh-patricia-widget button,
.hdh-patricia-widget select {
    font: inherit;
}

.hdh-patricia-widget textarea {
    font-size: 1rem;
}

.hdh-widget-unavailable {
    margin: 0;
    padding: 22px;

    color: var(--hdh-muted);
}

/* Astral */

.hdh-astral-page {
    padding: clamp(27px, 5vw, 46px);
}

.hdh-astral-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;
}

.hdh-astral-form > div {
    display: grid;
    gap: 7px;
}

.hdh-form-wide {
    grid-column: 1 / -1;
}

/* Buttons */

.hdh-button {
    display: inline-flex;

    min-height: 48px;

    align-items: center;
    justify-content: center;

    padding: 12px 21px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.96rem;
    font-weight: 820;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}

.hdh-button:hover {
    transform: translateY(-2px);
}

.hdh-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.hdh-button-primary {
    color: var(--hdh-white);

    background:
        linear-gradient(
            135deg,
            var(--hdh-violet-600),
            var(--hdh-violet-700)
        );

    box-shadow:
        0 11px 26px rgba(97, 52, 165, 0.22);
}

.hdh-button-primary:hover {
    color: var(--hdh-white);
}

.hdh-button-secondary {
    border-color: var(--hdh-border);

    color: var(--hdh-violet-700);
    background: var(--hdh-white);
}

.hdh-button-ghost {
    border-color: var(--hdh-border);

    color: var(--hdh-ink);
    background: transparent;
}

.hdh-text-link {
    color: var(--hdh-violet-700);

    font-weight: 800;

    text-decoration: none;
}

/* Footer */

.hdh-site-footer {
    padding-block: 48px;

    color: rgba(255, 255, 255, 0.75);
    background: var(--hdh-night-950);
}

.hdh-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;
    gap: 30px;
}

.hdh-footer-brand {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    color: var(--hdh-white);

    font-family: var(--hdh-serif);
    font-size: 1.3rem;
    font-weight: 700;

    text-decoration: none;
}

.hdh-site-footer nav {
    display: flex;
    gap: 15px;
}

.hdh-site-footer nav a {
    color: rgba(255, 255, 255, 0.78);

    font-size: 0.94rem;

    text-decoration: none;
}

.hdh-site-footer p {
    margin: 0;

    white-space: nowrap;

    font-size: 0.9rem;
}

/* Tablet */

@media (max-width: 1080px) {
    .hdh-primary-nav {
        display: none;

        position: absolute;

        inset-block-start: calc(100% + 1px);
        inset-inline: 0;

        padding: 13px;

        border:
            1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 18px 18px;

        background: var(--hdh-night-900);

        box-shadow: var(--hdh-shadow-large);
    }

    .hdh-primary-nav.is-open {
        display: grid;
    }

    .hdh-primary-nav a {
        padding: 13px 15px;
    }

    .hdh-menu-toggle {
        display: block;
    }

    .hdh-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-sidebar {
        position: static;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .hdh-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-article-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-article-card.is-featured {
        grid-column: auto;
    }

    .hdh-sign-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-footer-grid {
        grid-template-columns:
            minmax(0, 1fr) auto;
    }

    .hdh-site-footer p {
        grid-column: 1 / -1;
    }
}

/* Mobile */

@media (max-width: 680px) {
    :root {
        --hdh-header-height: 67px;
    }

    body {
        font-size: 16px;
    }

    .hdh-container {
        width: min(
            calc(100% - 22px),
            var(--hdh-container)
        );
    }

    .hdh-brand strong {
        max-width: 145px;

        font-size: 1rem;
    }

    .hdh-brand-mark {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .hdh-language-form select {
        width: 83px;

        padding-inline: 8px;
    }

    .hdh-page-top {
        padding-block: 34px 10px;
    }

    .hdh-home-heading,
    .hdh-sign-heading,
    .hdh-daily-page-heading,
    .hdh-author-page-heading,
    .hdh-astral-heading,
    .hdh-not-found-heading {
        align-items: flex-start;
    }

    .hdh-home-symbol,
    .hdh-astral-heading > span {
        width: 62px;
        height: 62px;
        flex-basis: 62px;

        border-radius: 19px;

        font-size: 2rem;
    }

    .hdh-sign-medallion,
    .hdh-author-large-avatar {
        width: 69px;
        height: 69px;
        flex-basis: 69px;

        font-size: 2.8rem;
    }

    .hdh-home-heading h1,
    .hdh-sign-heading h1,
    .hdh-daily-page-heading h1,
    .hdh-article-page-heading h1,
    .hdh-tag-heading h1,
    .hdh-author-page-heading h1,
    .hdh-astral-heading h1,
    .hdh-not-found-heading h1 {
        font-size: clamp(2.15rem, 10vw, 3.15rem);
    }

    .hdh-zodiac-section {
        padding-block: 15px 27px;
    }

    .hdh-zodiac-heading h2 {
        font-size: 1.3rem;
    }

    .hdh-zodiac-rail {
        grid-auto-columns: 84px;
    }

    .hdh-zodiac-card {
        min-height: 82px;
    }

    .hdh-zodiac-card span {
        font-size: 1.8rem;
    }

    .hdh-content-grid {
        padding-block-end: 57px;
    }

    .hdh-article-card,
    .hdh-article-card.is-featured {
        grid-template-columns:
            100px minmax(0, 1fr);

        align-items: start;

        padding: 15px;

        border-radius: 19px;
    }

    .hdh-article-media,
    .hdh-article-card.is-featured .hdh-article-media {
        width: 100px;
        height: 100px;
        min-height: 100px;

        border-radius: 14px;
    }

    .hdh-article-card.is-featured
    .hdh-article-content {
        display: block;
        padding: 0;
    }

    .hdh-article-card h2,
    .hdh-article-card.is-featured h2 {
        font-size: 1.23rem;
        line-height: 1.25;
    }

    .hdh-article-description,
    .hdh-article-card.is-featured
    .hdh-article-description {
        margin-block-start: 8px;

        font-size: 0.98rem;
        line-height: 1.58;
    }

    .hdh-daily-page {
        padding: 21px;
        border-radius: 22px;
    }

    .hdh-metrics-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-love-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-period-navigation {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hdh-assistant-heading {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-astral-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-form-wide {
        grid-column: auto;
    }

    .hdh-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-site-footer nav {
        flex-wrap: wrap;
    }

    .hdh-site-footer p {
        grid-column: auto;
        white-space: normal;
    }
}

@media (max-width: 440px) {
    .hdh-article-card,
    .hdh-article-card.is-featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .hdh-article-media,
    .hdh-article-card.is-featured .hdh-article-media {
        width: 100%;
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

@media print {
    .hdh-site-header,
    .hdh-zodiac-controls,
    .hdh-sidebar,
    .hdh-assistant-card,
    .hdh-site-footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hdh-content-grid {
        display: block;
        padding: 0;
    }

    .hdh-panel,
    .hdh-article-card {
        border: 0;
        box-shadow: none;
    }
}

/* AdSense manual superior */

.hdh-ad-slot {
    width: 100%;
    min-width: 0;
}

.hdh-ad-slot-top {
    display: flex;

    width: min(100%, 970px);
    min-height: 110px;

    margin-block-start: 25px;
    margin-inline: auto;

    align-items: center;
    justify-content: center;

    padding: 10px;

    border: 1px solid var(--hdh-border);
    border-radius: 17px;

    background:
        rgba(255, 253, 249, 0.78);
}

.hdh-ad-slot-top .adsbygoogle {
    display: block;

    width: 100%;
    min-height: 90px;

    margin-inline: auto;
}

@media (max-width: 680px) {
    .hdh-ad-slot-top {
        width: 100%;
        min-height: 112px;

        margin-block-start: 20px;

        padding: 6px 0;

        border-radius: 14px;
    }

    .hdh-ad-slot-top .adsbygoogle {
        min-height: 100px;
    }
}

@media print {
    .hdh-ad-slot {
        display: none !important;
    }
}

/* Formularios seguros V5.1 */

.hdh-form-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}

.hdh-confirmation-form {
    display: flex;
    flex-wrap: wrap;

    margin-block-start: 8px;

    gap: 12px;
}
