/* ============================================
   AUTHORSPARK BOOK AWARD PAGE â€” asb- prefix
   ============================================ */

/* Book Award dedicated header â€” logo only, centered */
.asb-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--white);
    box-shadow: 0 2px 18px rgba(58, 124, 146, 0.1);
}
.asb-header-main {
    padding: 14px 0;
    background: var(--white);
}
.asb-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.asb-header-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.asb-header-brand img {
    height: 60px;
    width: auto;
}

body.asb-page {
    scroll-behavior: smooth;
}
#asb-about,
#asb-prizes,
#asb-faq {
    scroll-margin-top: 100px;
}

.asb-hero {
    position: relative;
    padding: 50px 0 70px;
    overflow: hidden;
    background: var(--bg-light-green);
}
.asb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 30%, rgba(255, 196, 12, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 80%, rgba(58, 124, 146, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.asb-hero-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--yellow);
    margin-bottom: 14px;
}
.asb-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 600;
    color: var(--green);
    line-height: 1.15;
    margin-bottom: 18px;
}
.asb-hero-title span {
    color: var(--yellow);
}
.asb-hero-sub {
    font-size: 0.95rem;
    color: var(--text-paragraph);
    line-height: 1.85;
    max-width: 760px;
    margin: 0 auto 24px;
    opacity: 0.88;
}

.asb-highlights {
    padding: 0 0 60px;
    background: var(--bg-light-green);
    margin-top: -20px;
}
.asb-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.asb-highlight-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(58, 124, 146, 0.12);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.asb-highlight-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: var(--bg-light-yellow);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.asb-highlight-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    margin-bottom: 6px;
}
.asb-highlight-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1.3;
}
.asb-highlight-note {
    font-size: 0.78rem;
    color: #666;
    margin-top: 6px;
    line-height: 1.5;
}

.asb-content-section {
    padding: 70px 0 80px;
    background: var(--white);
}
.asb-faq-section {
    padding: 70px 0;
    background: var(--bg-light-yellow);
}
.asb-faq-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--green);
    margin-bottom: 10px;
}
.asb-faq-heading span {
    color: var(--yellow);
}
.asb-faq-sub {
    font-size: 0.9rem;
    color: var(--text-paragraph);
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 620px;
}

.asb-enter-box {
    background: linear-gradient(145deg, var(--green) 0%, #2a6275 100%);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    color: var(--white);
    margin-top: 10px;
}
.asb-enter-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 12px;
}
.asb-enter-box p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: white;
    opacity: 0.92;
    margin-bottom: 20px;
}
.asb-enter-box .btn {
    margin-right: 10px;
    margin-bottom: 8px;
}

@media (max-width: 991.98px) {
    .asb-hero { padding: 130px 0 50px; }
    .asb-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .asb-hero { padding: 110px 0 40px; }
    .asb-highlight-grid { grid-template-columns: 1fr; }
    .asb-enter-box { padding: 28px 22px; }
}

/* ============================================
   AUTHORSPARK AWARD ENTRY FORM
   ============================================ */

.asb-form-hero {
    padding: 140px 0 40px;
    background: var(--white);
}
.asb-form-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--green);
    line-height: 1.2;
    margin-bottom: 18px;
}
.asb-form-hero-title span {
    color: var(--yellow);
}
.asb-form-hero-intro {
    font-size: 0.92rem;
    color: var(--text-paragraph);
    line-height: 1.85;
    max-width: 820px;
    margin: 0 auto 12px;
    opacity: 0.88;
}

.asb-form-section {
    padding: 20px 0 90px;
    background: var(--white);
}
.asb-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 24px;
    color: #856404;
    font-size: 0.88rem;
    line-height: 1.6;
}
.asb-form-alert i {
    margin-top: 2px;
    flex-shrink: 0;
}

.asb-form-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.asb-form-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 24px;
    background: #f7f7f7;
    border-bottom: 1px solid var(--border-color);
}
.asb-form-card-head h2 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
    margin: 0;
}
.asb-form-total {
    font-size: 0.95rem;
    color: var(--text-paragraph);
}
.asb-form-total strong {
    color: var(--green);
    font-size: 1.1rem;
}

.asb-entry-form {
    padding: 28px 24px 32px;
}
.asb-form-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 28px 0;
}
.asb-form-section-head {
    margin-bottom: 22px;
}
.asb-form-section-head h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--green);
    margin-bottom: 8px;
}
.asb-form-section-head p {
    font-size: 0.88rem;
    color: var(--text-paragraph);
    line-height: 1.75;
    margin: 0;
    opacity: 0.85;
}

.asb-form-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px 24px;
    align-items: start;
    margin-bottom: 18px;
}
.asb-form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green);
    padding-top: 10px;
    line-height: 1.4;
}
.asb-optional {
    font-weight: 400;
    color: #888;
    font-size: 0.78rem;
}
.asb-form-field {
    position: relative;
}
.asb-input,
.asb-textarea,
.asb-file {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-paragraph);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.asb-input:focus,
.asb-textarea:focus,
.asb-file:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 2px rgba(255, 196, 12, 0.15);
}
.asb-textarea {
    resize: vertical;
    min-height: 110px;
}
.asb-form-row--required .asb-input,
.asb-form-row--required .asb-textarea,
.asb-form-row--required .asb-file {
    border-right: 3px solid #e74c3c;
}
.asb-required-note {
    display: block;
    font-size: 0.72rem;
    color: #e74c3c;
    margin-top: 4px;
    text-transform: lowercase;
}
.asb-field-help {
    font-size: 0.78rem;
    color: #777;
    margin: 6px 0 0;
    line-height: 1.5;
}

.asb-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}
.asb-radio-group--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 20px;
}
.asb-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-paragraph);
    cursor: pointer;
    margin: 0;
}
.asb-radio input {
    accent-color: var(--yellow);
    width: 16px;
    height: 16px;
    margin: 0;
}

.asb-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-paragraph);
    line-height: 1.65;
    cursor: pointer;
    margin: 0;
}
.asb-checkbox input {
    margin-top: 4px;
    accent-color: var(--yellow);
    flex-shrink: 0;
}
.asb-checkbox a {
    color: var(--yellow);
    font-weight: 600;
}

.asb-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.asb-form-legal {
    font-size: 0.76rem;
    color: #777;
    line-height: 1.6;
    margin: 16px 0 0;
    text-align: center;
}

/* Square card form */
.asb-square-card {
    min-height: 120px;
    border: 1px solid #ccc;
    border-right: 3px solid #e74c3c;
    border-radius: 4px;
    padding: 12px;
    background: var(--white);
}
.asb-square-card iframe {
    width: 100% !important;
    min-height: 44px;
}
.asb-square-loading {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
    padding: 8px 0;
}
.asb-form-alert--info {
    background: #e8f4f8;
    border-color: #3a7c92;
    color: #2a6275;
}
.asb-square-error {
    margin-top: 8px;
    font-size: 0.82rem;
    color: #c0392b;
    font-weight: 500;
}
.asb-form-alert code {
    font-size: 0.78rem;
    background: rgba(0,0,0,0.06);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Book Award dedicated footer */
.asb-footer {
    background: var(--green);
    color: rgba(255, 255, 255, 0.88);
    padding: 56px 0 28px;
}
.asb-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.asb-footer-logo img {
    height: 56px;
    width: auto;
}
.asb-footer-tagline {
    margin: 0;
    font-size: 0.88rem;
    max-width: 520px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}
.asb-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
}
.asb-footer-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}
.asb-footer-nav a:hover {
    color: var(--yellow);
}
.asb-footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 24px;
}
.asb-footer-contact a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}
.asb-footer-contact a i {
    color: var(--yellow);
    margin-right: 6px;
}
.asb-footer-contact a:hover {
    color: var(--white);
}
.asb-footer-cta {
    margin-top: 4px;
}
.asb-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    width: 100%;
    padding-top: 18px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.asb-footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}
.asb-footer-main-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}
.asb-footer-main-link:hover {
    color: var(--yellow);
}
.asb-footer-main-link i {
    margin-right: 4px;
}

@media (max-width: 991.98px) {
    .asb-hero { padding-top: 130px; }
}
@media (max-width: 767.98px) {
    .asb-header-brand img { height: 48px; }
    .asb-hero { padding-top: 110px; }
    .asb-form-hero { padding: 110px 0 30px; }
    .asb-form-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .asb-form-label { padding-top: 0; }
    .asb-form-card-head { padding: 16px 18px; }
    .asb-entry-form { padding: 22px 18px 26px; }
    .asb-form-actions { justify-content: stretch; }
    .asb-form-actions .btn { flex: 1; justify-content: center; }
}
.container.book-award-hero {
    padding-top: 50px;
}