/* css/index.css - v6.2.7 - 2026-11-23
 * Homepage sections use index-pri-* and index-sec-*. Contact result pages use index-*. Sections use the general root variables from core.css.
 * Author: IT and events
 * Latest changes: 2026-11-23 - planned-service card buttons go full-width and no-wrap so labels like "View Planned Subscriptions" stop breaking onto two lines; previously: project card states: dashed temporary skin removed, Song-hub renders like the other cards.
 *
 * CSS files overview:
 * css/core.css - Shared shell: single root and dark theme, base, navigation, notifications, form errors, side panel with its ad, shared ad components (core-ads-*), error page, footer, scroll controls, Font Awesome subset styles.
 * css/index.css - Homepage: hero, index-pri-* and index-sec-* sections (projects, services, events agenda), contact form and contact result pages (index-*).
 * css/core-painting.css - Homepage living painting scene only (paint-*): monthly palettes, landscape, weather and motion.
 * css/admin.css - Administration: review queues, event editor, billing, purchases and support threads (admin-*).
 * css/ads.css - Public advertising directory: placements, listings and areas (ads-*).
 * css/auth.css - Sign-in, account setup and password recovery (auth-*).
 * css/legal.css - Legal pages, contact, refunds/withdrawal, press and FAQ (legal-*).
 * css/payment.css - Purchase flow, forms, service terms and invoice documents with print styles (payment-*).
 * css/rabo.css - Hosted bank payment return page (rabo-*).
 * css/shop.css - Shop catalogue, advertising info/calendar/examples, Chatocat plans and donations (shop-*).
 * css/user.css - Account dashboard, cases and agreements (user-*).
 *
 * index.css section overview:
 * 1. Homepage and request buttons
 * 2. Heroes and section copy
 * 3. Request status
 * 4. Form controls
 * 5. Homepage sections
 * 6. Homepage buttons
 * 7. Projects
 * 8. Products
 * 9. Empty agenda
 * 10. Event cards
 * 11. Contact
 * 12. Hero image
 * 13. Responsive homepage layout (media groups)
 */
/* Homepage and request buttons */
.index-hero-button:focus-visible {outline: 3px solid var(--accent-strong); outline-offset: 3px;}
.index-hero-button {position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: .72em 1.2em; overflow: hidden; border: 1px solid var(--border-color); border-radius: 8px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: var(--accent-dark); cursor: pointer; font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.2; text-align: center; text-decoration: none; transition: background .22s,border-color .22s,box-shadow .22s,color .22s;}
.index-hero-button::after {content: ""; position: absolute; inset: 1px; border-radius: calc(8px - 1px); background: linear-gradient(110deg,transparent,rgba(255,255,255,.28),transparent); opacity: 0; z-index: -1; transition: opacity .22s;}
.index-hero-button:hover {border-color: var(--accent); background: var(--accent-strong); box-shadow: var(--shadow-soft),inset 0 0 0 1px rgba(255,255,255,.4); color: var(--on-accent-strong);}
.index-hero-button:hover::after {opacity: .85;}
.index-hero-button:hover .fa-flip {transform: rotateY(180deg);}
/* Heroes and section copy */
.index-hero {display: flex; align-items: center; justify-content: center; width: 100%; padding: 76px 20px; background: linear-gradient(135deg,var(--hero-bg),var(--accent)); color: var(--hero-text); text-align: center;}
.index-hero-content {display: flex; flex-direction: column; align-items: center; max-width: 820px; margin: 0 auto;}
.index-hero-kicker {display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; color: var(--hero-text); font-size: .94rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-align: center;}
.index-hero-title {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 0 0 18px; color: var(--hero-text); font-size: clamp(2rem,4vw,3rem); font-weight: 800; line-height: 1.1; text-align: center;}
.index-hero-text {max-width: 760px; margin: 0 0 28px; color: var(--hero-text); font-size: 1.18rem; text-align: center;}
.index-request-section {padding: 60px 0; background: var(--surface); box-shadow: inset 0 1px 0 rgba(0,106,142,.08); transition: background .22s,box-shadow .22s;}
.index-request-heading {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; color: var(--page-text); font-size: 2rem; font-weight: 800; line-height: 1.15; text-align: center;}
.index-request-intro {max-width: 820px; margin: 0 auto 22px; color: var(--page-text); font-size: 1.08rem; text-align: center;}
/* Request status */
.index-request-status {width: 100%; max-width: 980px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow-soft); color: var(--page-text); text-align: center;}
/* Form controls */
.index-pri-contact-trap {position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;}
.index-request-form {display: flex; flex-direction: column; gap: 16px; width: min(760px,100%); margin: 22px auto 0; padding: 18px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow-soft);}
/* Homepage sections */
.index-pri-section {padding: 60px 0; background: var(--surface); box-shadow: inset 0 1px 0 rgba(0,106,142,.08); transition: background .22s,box-shadow .22s;}
.index-sec-section {padding: 60px 0; background: var(--page-bg); box-shadow: inset 0 1px 0 var(--border-color),inset 0 -1px 0 var(--border-color); transition: background .22s,box-shadow .22s;}
.index-pri-title {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; color: var(--page-text); font-size: 2rem; font-weight: 800; line-height: 1.15; text-align: center;}
.index-sec-title {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; color: var(--page-text); font-size: 2rem; font-weight: 800; line-height: 1.15; text-align: center;}
.index-pri-text {max-width: 820px; margin: 0 auto 22px; color: var(--page-text); font-size: 1.08rem; text-align: center;}
.index-pri-inline-link {color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em;}
.index-pri-inline-link:visited {color: var(--page-text); text-decoration-color: var(--accent-strong);}
.index-pri-inline-link:hover {color: var(--page-text); text-decoration-thickness: .15em;}
.index-pri-inline-link:focus-visible {color: var(--page-text); outline: 2px solid currentColor; outline-offset: 3px; text-decoration-thickness: .15em;}
.index-sec-text {max-width: 820px; margin: 0 auto 22px; color: var(--page-text); font-size: 1.08rem; text-align: center;}
/* Homepage buttons */
.index-pri-button:focus-visible {outline: 3px solid var(--accent-strong); outline-offset: 3px;}
.index-pri-button {position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: .72em 1.2em; overflow: hidden; border: 1px solid var(--border-color); border-radius: 8px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: var(--accent-dark); cursor: pointer; font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.2; text-align: center; text-decoration: none; transition: background .22s,border-color .22s,box-shadow .22s,color .22s;}
.index-pri-button::after {content: ""; position: absolute; inset: 1px; border-radius: calc(8px - 1px); background: linear-gradient(110deg,transparent,rgba(255,255,255,.28),transparent); opacity: 0; z-index: -1; transition: opacity .22s;}
.index-pri-button:hover {border-color: var(--accent); background: var(--accent-strong); box-shadow: var(--shadow-soft),inset 0 0 0 1px rgba(255,255,255,.4); color: var(--on-accent-strong);}
.index-pri-button:hover::after {opacity: .85;}
.index-pri-button:hover .fa-flip {transform: rotateY(180deg);}
/* Projects */
.index-sec-projects {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(250px,100%),1fr)); gap: 20px; width: 100%; padding: 0;}
.index-sec-project-card {position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 100%; overflow: hidden; padding: 20px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow-card); text-align: left; transition: background .22s,border-color .22s,box-shadow .22s;}
.index-sec-project-card::before {content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg,var(--accent-strong),var(--accent)); opacity: .65; transition: opacity .22s;}
.index-sec-project-card:hover {border-color: var(--accent); box-shadow: var(--shadow-panel);}
.index-sec-project-card:hover::before {opacity: 1;}
.index-sec-project-card.is-variant-featured {border-color: var(--border-color);}
.index-sec-project-card.is-soon {background: linear-gradient(180deg,var(--card-bg),var(--card-bg));}
.index-sec-project-icon {margin-bottom: 4px; color: var(--accent-strong); font-size: 3.2rem; text-shadow: 0 1px 0 rgba(255,255,255,.3),0 3px 8px rgba(0,48,61,.22); transition: color .22s;}
.index-sec-project-card:hover .index-sec-project-icon {color: var(--page-text);}
.index-sec-project-card:focus-within .index-sec-project-icon {color: var(--page-text);}
.index-sec-project-info {display: flex; flex-direction: column; gap: 10px; width: 100%;}
.index-sec-project-title {margin: 0; color: var(--page-text); font-size: 1.55rem; font-weight: 800; line-height: 1.2; text-align: left;}
.index-sec-project-text {margin: 0; color: var(--page-text); text-align: left;}
.index-sec-project-status {display: inline-flex; align-items: center; justify-content: center; width: max-content; max-width: 100%; padding: 4px 10px; border: 1px solid var(--border-color); border-radius: 999px; background: var(--card-bg); color: var(--accent-strong); font-size: .88rem; font-weight: 800; letter-spacing: 0; line-height: 1.2;}
.index-sec-project-links {display: flex; flex-direction: column; gap: 6px; width: 100%;}
.index-sec-project-link {display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: 3px 8px; border: 1px solid transparent; border-radius: 8px; color: var(--accent-strong); font-size: .95rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; transition: background .22s,border-color .22s,box-shadow .22s,color .22s;}
.index-sec-project-link:hover {border-color: var(--border-color); background: var(--card-bg); box-shadow: inset 0 0 0 1px rgba(0,48,61,.08); color: var(--accent-dark);}
.index-sec-project-inline-link {color: var(--accent-strong); font-weight: 700; text-decoration: none;}
.index-sec-project-inline-link:hover {color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;}
/* Products */
.index-pri-products {display: flex; flex-direction: column; align-items: stretch; gap: 20px; width: 100%;}
.index-pri-card-grid {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(250px,100%),1fr)); gap: 18px; width: 100%;}
.index-pri-status {width: 100%; max-width: 980px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow-soft); color: var(--page-text); text-align: center;}
.index-pri-card {position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-height: 100%; padding: 20px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow-card); text-align: left; transition: background .22s,border-color .22s,box-shadow .22s;}
.index-pri-card:hover {border-color: var(--accent); box-shadow: var(--shadow-panel);}
.index-pri-card-action {display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: auto;}
.index-pri-card-action .shop-button {flex: 1 1 100%; white-space: nowrap;}
.index-pri-card-icon {display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--border-color); border-radius: 50%; background: var(--card-bg); color: var(--accent-strong); font-size: 1.45rem; transition: border-color .22s,box-shadow .22s,color .22s,transform .5s ease;}
.index-pri-card:hover .index-pri-card-icon {border-color: var(--accent); box-shadow: var(--shadow-soft); color: var(--accent);}
.index-pri-card-title {margin: 0; color: var(--page-text); font-size: 1.25rem; font-weight: 800; line-height: 1.2; text-align: left; overflow-wrap: anywhere;}
.index-pri-card-text {margin: 0; color: var(--page-text); line-height: 1.58; text-align: left;}
.index-pri-strong {color: var(--page-text); font-weight: 800;}
/* Empty agenda */
.index-sec-agenda-empty {display: grid; justify-items: center; gap: .75rem; width: min(100%,34rem); margin: 0 auto; padding: clamp(1.25rem,5vw,2.5rem); border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow-soft); color: var(--page-text); text-align: center;}
.index-sec-agenda-empty-icon {display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid var(--border-color); border-radius: 50%; color: var(--accent-strong); font-size: 1.4rem;}
.index-sec-agenda-empty-title {margin: 0; font-size: clamp(1.25rem,3vw,1.55rem); line-height: 1.25;}
.index-sec-agenda-empty-text {margin: 0; line-height: 1.55;}
.index-sec-agenda-empty-link {display: inline-grid; place-items: center; min-height: 44px; padding: .35rem .75rem; border-radius: 4px; color: var(--accent-strong); font-weight: 700; text-decoration: underline; text-underline-offset: .2em;}
.index-sec-agenda-empty-link:hover {color: var(--page-text);}
/* Event cards */
.index-sec-events {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); align-items: stretch; gap: 20px; width: 100%;}
.index-sec-event-card {display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 560px; min-width: 0; justify-self: center; padding: 24px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow-soft); color: var(--page-text); text-align: left; overflow-wrap: anywhere;}
.index-sec-event-heading {display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px;}
.index-sec-event-title {flex: 1 1 190px; min-width: 0; margin: 0; color: var(--page-text); font-size: 1.3rem; font-weight: 800; line-height: 1.25;}
.index-sec-event-link {color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .16em;}
.index-sec-event-link:hover {color: var(--page-text); text-decoration-thickness: .13em;}
.index-sec-event-link:focus-visible {outline: 3px solid var(--accent-strong); outline-offset: 4px;}
.index-sec-agenda-empty-link:focus-visible {outline: 3px solid var(--accent-strong); outline-offset: 4px;}
.index-sec-event-badge {display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 30px; padding: 4px 10px; border: 1px solid var(--border-color); border-radius: 999px; background: var(--page-bg); color: var(--page-text); font-size: .82rem; font-weight: 800; line-height: 1.3; white-space: normal;}
.index-sec-event-badge.is-status-open {border-color: var(--accent-strong); background: var(--card-bg);}
.index-sec-event-badge.is-status-sold_out {border-style: double; border-width: 3px; padding: 2px 8px; background: var(--card-bg);}
.index-sec-event-badge.is-status-postponed {border-style: dashed; border-color: var(--page-text);}
.index-sec-event-date {margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--border-color); color: var(--page-text); font-size: 1.05rem; font-weight: 800; line-height: 1.5;}
.index-sec-event-timezone {display: block; margin-top: 3px; color: var(--accent-strong); font-size: .8rem; font-weight: 400; overflow-wrap: anywhere;}
.index-sec-event-detail {display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 12px; margin: 0; line-height: 1.55;}
.index-sec-event-label {color: var(--accent-strong); font-size: .9rem; font-weight: 700;}
.index-sec-event-value {min-width: 0; color: var(--page-text); font-size: .95rem; white-space: pre-line;}
/* Contact */
.index-pri-contact {display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 620px; margin: 0 auto;}
.index-pri-contact-label {display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--page-text); font-weight: 700; text-align: center;}
.index-pri-contact-field {width: 100%; padding: 13px 14px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); color: var(--page-text); font: inherit;}
.index-pri-contact-textarea {width: 100%; min-height: 160px; padding: 13px 14px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); color: var(--page-text); font: inherit; line-height: 1.55; resize: vertical;}
.index-pri-contact-field:focus {border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,184,206,.16); outline: none;}
.index-pri-contact-textarea:focus {border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,184,206,.16); outline: none;}
/* Hero image */
.index-hero-image {width: min(92%,1200px); margin: 56px auto; overflow: hidden; border: 1px solid var(--border-color); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-card); line-height: 0;}
.index-hero-image-art {display: block; width: 100%; height: auto; object-fit: contain; object-position: center;}
@media (max-width:820px) {
    /* Responsive homepage layout */
    .index-pri-section {padding: 44px 0;}
    .index-sec-section {padding: 44px 0;}
    /* Heroes and section copy */
    .index-hero {padding: 58px 16px;}
    .index-hero-title {font-size: 2rem;}
    .index-hero-text {font-size: 1.05rem;}
    .index-request-section {padding: 44px 0;}
}
@media (max-width:620px) {
    /* Responsive homepage layout */
    .index-pri-title {font-size: 1.55rem;}
    .index-sec-title {font-size: 1.55rem;}
    .index-sec-project-icon {font-size: 2.5rem;}
    .index-pri-button {width: 100%;}
    /* Buttons */
    .index-hero-button {width: 100%;}
    /* Heroes and section copy */
    .index-hero-title {font-size: 1.75rem;}
    .index-request-heading {font-size: 1.55rem;}
}
@media (max-width:480px) {
    /* Responsive homepage layout */
    .index-pri-title {font-size: 1.38rem;}
    .index-sec-title {font-size: 1.38rem;}
    .index-pri-text {font-size: 1rem;}
    .index-sec-text {font-size: 1rem;}
    .index-pri-card {padding: 16px;}
    .index-sec-project-card {padding: 16px;}
    .index-hero-image {margin: 32px auto;}
    .index-sec-event-card {padding: 18px; gap: 14px;}
    .index-sec-event-title {font-size: 1.18rem;}
    .index-sec-event-detail {grid-template-columns: 60px minmax(0,1fr); gap: 10px;}
    /* Heroes and section copy */
    .index-hero {padding: 46px 14px;}
    .index-hero-title {font-size: 1.55rem;}
    .index-hero-text {font-size: 1rem;}
    .index-request-intro {font-size: 1rem;}
    .index-request-heading {font-size: 1.38rem;}
}
