/* Homepage: keep the image indexable and place it behind the introduction. */
.illana-wp.home .hero {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    min-height: 600px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #101a22;
    color: #fbf7ee;
}
.illana-wp.home .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}
.illana-wp.home .hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.illana-wp.home .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(16,26,34,.97) 0%, rgba(16,26,34,.92) 31%, rgba(16,26,34,.64) 57%, rgba(16,26,34,.12) 100%), linear-gradient(0deg, rgba(16,26,34,.48), transparent 65%);
}
.illana-wp.home .hero-copy {
    position: relative;
    z-index: 2;
    display: block;
    grid-template-columns: none;
    grid-template-areas: none;
    width: min(calc(100% - 3rem), 1180px);
    max-width: none;
    margin: 0 auto;
    padding: clamp(2.4rem, 4.5vw, 4.25rem) 0;
}
.illana-wp.home .hero-copy .eyebrow { color: #e1c78e; margin: 0 0 1.1rem; }
.illana-wp.home .hero-copy h1 {
    max-width: 740px;
    margin: 0;
    color: #fbf7ee;
    font-size: clamp(2.5rem, 4.65vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.illana-wp.home .hero-copy .dek {
    max-width: 680px;
    margin: 1.45rem 0 1.6rem;
    color: #efeae1;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.65;
}
.illana-wp.home .hero-copy .subtle-author-link { color: #eed29a; }
.illana-wp.home .hero-copy .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.illana-wp.home .hero-copy .button { min-height: 48px; font-size: .94rem; }
.illana-wp.home .hero-copy .button.ghost { color: #fbf7ee; border-color: #d7cbb5; background: #101a2238; }
.illana-wp.home .hero-copy > p:empty { display: none; }
.illana-wp.home .hero-meta { display: none; }

/* Theme My Login: centered card and aligned, accessible form controls. */
.illana-wp.tml-action #main {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100svh - var(--portal-header-height, 82px));
    margin: 0;
    padding: 2rem 1rem 3rem;
    background: radial-gradient(ellipse at 50% 15%, #f9f3e5, transparent 65%), #eee8dc;
}
.illana-wp.tml-action #main > .portal-breadcrumbs {
    box-sizing: border-box;
    width: min(100%, 480px);
    max-width: none;
    margin: 0 auto 1rem;
    padding: 0;
    text-align: center;
    font-size: .78rem;
}
.illana-wp.tml-action #main > .portal-page-title {
    width: min(100%, 580px);
    max-width: none;
    margin: 0 auto 1.35rem !important;
    padding: 0;
    color: #17242c;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    text-align: center;
    letter-spacing: -.025em;
}
.illana-wp.tml-action #main > .wp-block-post-content {
    box-sizing: border-box;
    width: min(100%, 480px);
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.illana-wp.tml-action .tml {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid #d5c6ac;
    border-top: 3px solid #c5a362;
    border-radius: 18px;
    background: #fbf8f1;
    box-shadow: 0 18px 50px #101a2214;
    color: #17242c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}
.illana-wp.tml-action .tml form { margin: 0; }
.illana-wp.tml-action .tml .tml-field-wrap { margin: 0 0 1.15rem; }
.illana-wp.tml-action .tml .tml-label { margin: 0 0 .5rem; font-size: .88rem; font-weight: 600; line-height: 1.45; }
.illana-wp.tml-action .tml .tml-field {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: .75rem .85rem;
    border: 1px solid #bdb3a3;
    border-radius: 8px;
    background: #fff;
    color: #17242c;
    font: 16px/1.4 Arial, Helvetica, sans-serif;
}
.illana-wp.tml-action .tml .tml-field:focus { border-color: #9c673b; outline: 2px solid #c5a362; outline-offset: 2px; box-shadow: none; }
.illana-wp.tml-action .tml .tml-field:-webkit-autofill { -webkit-text-fill-color: #17242c; box-shadow: inset 0 0 0 1000px #fffaf1; }
.illana-wp.tml-action .tml .tml-pwd .tml-field { padding-right: 3rem; }
.illana-wp.tml-action .tml .tml-toggle-pwd { min-width: 44px; min-height: 44px; right: 2px !important; }
.illana-wp.tml-action .tml .tml-rememberme-wrap { display: flex; align-items: center; gap: .6rem; }
.illana-wp.tml-action .tml .tml-checkbox { width: 18px; height: 18px; margin: 0; accent-color: #995336; }
.illana-wp.tml-action .tml .tml-rememberme-wrap .tml-label { margin: 0; font-weight: 400; }
.illana-wp.tml-action .tml .tml-submit-wrap { margin: .25rem 0 0; }
.illana-wp.tml-action .tml .tml-submit-wrap .tml-button {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: .75rem 1rem;
    border: 1px solid #995336;
    border-radius: 999px;
    background: #995336;
    color: #fff;
    font: 700 15px/1.4 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.illana-wp.tml-action .tml .tml-submit-wrap .tml-button:hover { background: #7e4028; }
.illana-wp.tml-action .tml .tml-submit-wrap .tml-button:focus-visible { outline: 3px solid #c5a362; outline-offset: 3px; }
.illana-wp.tml-action .tml .tml-links { list-style: none; margin: 1.3rem 0 0; padding: 1rem 0 0; border-top: 1px solid #e0d6c4; text-align: center; }
.illana-wp.tml-action .tml .tml-links li { margin: 0; padding: 0; }
.illana-wp.tml-action .tml .tml-links a { display: inline-flex; align-items: center; min-height: 32px; color: #82492f; font-size: .85rem; text-underline-offset: 3px; }
.illana-wp.tml-action #main > .portal-context { display: none; }
@media (max-width: 760px) {
    .illana-wp.home .hero { min-height: 0; }
    .illana-wp.home .hero-copy { width: calc(100% - 2rem); padding: 2.25rem 0 2.5rem; }
    .illana-wp.home .hero-copy h1 { max-width: 100%; font-size: clamp(2.2rem, 7.5vw, 3.4rem); line-height: 1.08; }
    .illana-wp.home .hero-copy .dek { max-width: 100%; font-size: 1rem; line-height: 1.65; }
    .illana-wp.home .hero-image { object-position: 62% center; }
    .illana-wp.home .hero::before { background: linear-gradient(90deg, #101a22ed, #101a22bd), linear-gradient(0deg, #101a2280, transparent); }
    .illana-wp.home .hero-copy .actions { display: grid; grid-template-columns: 1fr; }
    .illana-wp.home .hero-copy .button { width: 100%; }
    .illana-wp.tml-action #main { padding: 1.5rem 1rem 2rem; }
    .illana-wp.tml-action .tml { padding: 1.5rem; }
}
