/**
 * HOMEPAGE STYLES - Museum Editorial Design
 * Color Palette: Black, White, Yellow (Golden Ochre)
 * Focus: Superior UX, Reading Comfort, Visual Hierarchy
 */

/* Google Fonts @import moved to main.css for site-wide availability */

/* Design tokens (--hp-*, --font-display, --font-body, etc.) are now in variables.css */

/* Body styles moved to base.css for site-wide consistency */

/* ===== SECTION 1: INTRODUCTION ===== */
.intro-section {
    padding: var(--section-padding) 0;
    background: var(--hp-white);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--hp-yellow);
}

.intro-section .container {
    max-width: 900px;
}

/* added by mkogan */
.intro-section .container2 {
    max-width: 950px;
}

.intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--hp-black);
    margin-bottom: var(--content-gap);
    line-height: var(--line-height-heading);
    letter-spacing: -0.02em;
	    text-align: center;

}

.intro-text {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: var(--line-height-body);
    color: var(--hp-text-light);
    max-width: var(--reading-width);
    margin: 0 auto;
}

.intro-text a {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.intro-text a:hover {
    color: var(--hp-yellow-dark);
    text-decoration-color: var(--hp-yellow-dark);
}

/* ===== SECTION 2: EXPLORE CATALOGUE ===== */
.explore-section {
    padding: var(--section-padding) 0;
    background: var(--hp-warm-white);
}

.explore-section + .explore-section {
    padding-top: 0;
}

.explore-section:has(+ .explore-section) {
    padding-bottom: 0;
}

.explore-section + .explore-section {
    background: transparent;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--hp-black);
    margin-bottom: var(--content-gap);
    line-height: var(--line-height-heading);
    letter-spacing: -0.01em;
}

/* added by mkogan */
.section-title2 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--hp-black);
    margin-bottom: var(--content-gap);
    line-height: var(--line-height-heading);
    letter-spacing: -0.01em;
}

.section-title a {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

/* added by mkogan */
.section-title2 a {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

.section-title a:hover {
    color: var(--hp-yellow-dark);
}

/* added by mkogan */
.section-title2 a:hover {
    color: var(--hp-yellow-dark);
}
/* Catalogue Navigation & A-Z Nav
 * Base styles now in css/components/az-nav.css
 * No page-specific overrides needed.
 */

/* Current Year Card - always visible, homepage only */
.decades-browser--with-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.decades-browser__content {
    min-width: 0;
}

.current-year-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/*
mkogan the image size changed from 
56 x 56 to 75 x75
*/
.current-year-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.current-year-card:hover img {
    transform: scale(1.05);
}

/*
mkogan 
  font-size changed from 0.65rem to 0.70rem
  color changd from  --hp-yellow-dark  to 
--hp-black-soft
*/
.current-year-card span {
    margin-top: 0.25rem;
    font-family: var(--font-body);
    font-size: 0.70rem;
    font-weight: 600;
    color: var(--hp-black-soft);
    text-align: center;
    white-space: nowrap;
}

.current-year-card:hover span {
    text-decoration: underline;
    color: var(--hp-black);
}

/* Year nav + current-year-card side-by-side layout (year/index.html) */
.catalogue-nav--years:has(.current-year-card) {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.catalogue-nav--years:has(.current-year-card) .catalogue-nav__label,
.catalogue-nav--years:has(.current-year-card) .year-nav {
    grid-column: 1;
}

.catalogue-nav--years:has(.current-year-card) .current-year-card {
    grid-column: 2;
    grid-row: 1 / -1;
}

/* ===== LINK STYLING IN HOBBY-SECTION NOTES ===== */
.hobby-section .catalogue-nav li a {
    color: var(--hp-yellow-dark, #b8922a);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.hobby-section .catalogue-nav li a:hover {
    color: var(--hp-black, #0a0a0a);
}

/* Visual Cards Grid - 5 cards */
.visual-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .visual-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .visual-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.visual-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--hp-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.visual-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.visual-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.visual-card:hover img {
    transform: scale(1.05);
}

.visual-card__label {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hp-black);
    text-align: center;
    background: var(--hp-white);
    border-top: 3px solid var(--hp-yellow);
}

/* ===== SECTION 3: SEARCH SECTION ===== */
.search-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--hp-warm-white) 0%, var(--hp-cream) 100%);
    border-top: 1px solid var(--hp-gray);
    border-bottom: 1px solid var(--hp-gray);
}

.search-section .container {
    max-width: 900px;
}

.search-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--hp-black);
    text-align: center;
    margin-bottom: 1rem;
    line-height: var(--line-height-heading);
    letter-spacing: -0.02em;
}

.search-section__description {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.6;
    color: var(--hp-text-light);
    
    /* orig: mkogan center */
    text-align: left;

    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    background: var(--hp-white);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--hp-gray);
}

.search-input-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    align-items: stretch;
}
/* added by mkogan — scoped to search section to avoid leaking into header toolbar */
.search-section input[type="text"] {
    width: 90%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #888;
    border-radius: 4px;
}
.search-section input[type="submit"] {
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--hp-text);
    background: var(--hp-cream);
    border: 2px solid var(--hp-gray);
    border-radius: 10px;
    transition: all 0.25s ease;
    outline: none;
}

.search-input::placeholder {
    color: var(--hp-gray-medium);
}

.search-input:hover {
    border-color: var(--hp-yellow);
    background: var(--hp-white);
}

.search-input:focus {
    border-color: var(--hp-yellow);
    background: var(--hp-white);
    box-shadow: 0 0 0 3px var(--hp-yellow-glow);
}

.search-button {
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--hp-white);
    background: var(--hp-black);
    border: 2px solid var(--hp-black);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.search-button:hover {
    background: var(--hp-yellow);
    border-color: var(--hp-yellow);
    color: var(--hp-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 167, 44, 0.3);
}

.search-button:active {
    transform: translateY(0);
}

.search-button:focus-visible {
    outline: 3px solid var(--hp-yellow);
    outline-offset: 3px;
}

.search-button.is-loading {
    pointer-events: none;
    color: transparent;
    position: relative;
}

.search-button.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 1.25rem;
    height: 1.25rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

.search-button.is-loading:hover {
    background: var(--hp-black);
    border-color: var(--hp-black);
    transform: none;
    box-shadow: none;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.search-links {
    display: flex;
    justify-content: center;
    align-items: center;
    /* orig: mkogan 1.5rem; */
    gap: 0rem;

    flex-wrap: wrap;
    font-size: 0.875rem;
    /* offset to visually center under input field, not full form+button width */
    padding-right: 9rem;
}
/* added by  mkogan */
.search-links a {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}


.search-engine-note {
    color: var(--hp-gray-medium);
    font-style: italic;
}

.search-link {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.search-link:hover {
    color: var(--hp-yellow-dark);
    text-decoration-color: var(--hp-yellow-dark);
}

@media (max-width: 640px) {
    .search-form {
        padding: 1.5rem;
    }

    .search-input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-button {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .search-links {
        flex-direction: column;
        gap: 0.75rem;
        padding-right: 0;
    }
}

/* ===== DEFINITIONS SECTION (3-column gallery panels) ===== */
.definitions-section {
    padding: var(--section-padding) 0;
    background: var(--hp-warm-white);
}

.gallery-category__panels.gallery-category__panels--three {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-category__panels--three > .gallery-panel {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
}

.gallery-category__panels--three .gallery-item img {
    height: 220px;
    object-fit: contain;
}

.gallery-category__panels--three .gallery-panel__description a {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.gallery-category__panels--three .gallery-panel__description a:hover {
    color: var(--hp-yellow-dark);
}

@media (max-width: 768px) {
    .gallery-category__panels.gallery-category__panels--three {
        grid-template-columns: 1fr;
    }
}

/* ===== SECTION 4: EXPLORE GALLERY ===== */
.gallery-section {
    padding: var(--section-padding) 0;
    background: var(--hp-white);
}

.gallery-category {
    margin-bottom: 3.5rem;
}

.gallery-category:last-child {
    margin-bottom: 0;
}

/* mkogan 
   orig 
.gallery-category__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--hp-black);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--hp-yellow);
    display: inline-block;
}
*/

.gallery-category__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--hp-black);
    margin-bottom: 1.25rem;

    padding-top: 3.0rem;
    padding-bottom: 0.75rem;
    /* border-bottom: 3px solid var(--hp-yellow); */
    
	display: flex;
    justify-content: center;

}

/* Gallery Panels - Two-card layout per category */
.gallery-category__panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.gallery-panel {
    background: var(--hp-white);
    border: 1px solid var(--hp-gray);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.gallery-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 4px;
    border-radius: 0 0 4px 4px;
}

.gallery-panel--direct::before {
    background: var(--hp-yellow);
}

.gallery-panel--indirect::before {
    background: var(--hp-gray-medium);
}

.gallery-panel__heading {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-gray-dark);
    margin-bottom: 1rem;
    padding-top: 0.25rem;
}

.gallery-panel--direct .gallery-panel__heading {
    color: var(--hp-yellow-dark);
}

.gallery-panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--hp-gray-light);
}

.gallery-item a {
    display: block;
    transition: transform 0.25s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover a {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item__label {
    display: block;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--hp-gray-dark);
    margin-top: 0.5rem;
    font-weight: 500;
}

.gallery-panel__description {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--hp-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hp-text-light);
    flex-grow: 1;
}

.gallery-panel__description strong {
    color: var(--hp-black);
}

@media (max-width: 768px) {
    .gallery-category__panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-panel__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SECTION 5 & 6: HOBBY & TOPIC SECTIONS ===== */
.hobby-section,
.topic-section {
    padding: var(--section-padding) 0;
}

.hobby-section {
    background: var(--hp-warm-white);
}

.topic-section {
    background: var(--hp-white);
}

.hobby-section .section-title,
.topic-section .section-title {
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

/* added by mkogan */
.hobby-section .section-title2,
.topic-section .section-title2 {
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
}
/* Article Cards - 4 columns */
.article-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .article-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .article-cards {
        grid-template-columns: 1fr;
    }
}

.article-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--hp-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    border: 1px solid var(--hp-gray);
}

.article-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    text-decoration: none;
    border-color: var(--hp-yellow);
}

.article-card__image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.article-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    pointer-events: none;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.08);
}

.article-card__label {
    padding: 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hp-black);
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    background: var(--hp-white);
}

/* Large article cards */
.article-cards--large {
    gap: 2rem;
}

.article-cards--large .article-card__image {
    height: 220px;
}

.article-card--large .article-card__label {
    font-size: 1rem;
    padding: 1.5rem;
}

/* ===== SECTION 7 & 8: TWO COLUMN SECTIONS ===== */
.about-news-section,
.team-awards-section {
    padding: var(--section-padding) 0;
}

.about-news-section {
    background: var(--hp-warm-white);
}

.team-awards-section {
    background: var(--hp-white);
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

/* added by mkogan */
.two-column-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}


.three-column-grid {
    display: grid;
    grid-template-columns: 0.6fr 0.6fr;
    gap: 1.0rem;
}


@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



.column-box {
    background: var(--hp-white);
    padding: 2rem 2.25rem;
    border-radius: 12px;
    border: 1px solid var(--hp-gray);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* added by mkogan */
.column-box2 {
    background: var(--hp-white);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--hp-gray);
    position: relative;
    display: flex;
    flex-direction: column;
}


.column-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 4px;
    background: var(--hp-yellow);
    border-radius: 0 0 4px 4px;
}

.team-awards-section .column-box {
    background: var(--hp-gray-light);
}

.column-box__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--hp-black);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-top: 0.5rem;
}

.column-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--hp-text);
    margin-bottom: 1rem;
}

.column-box a {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.column-box a:hover {
    color: var(--hp-yellow-dark);
}

.column-box a.btn--primary {
    color: var(--hp-white);
    text-decoration: none;
}

.column-box a.btn--primary:hover {
    color: var(--hp-black);
}

.column-box h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--hp-text);
    margin-bottom: 0.5rem;
}

.column-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.column-box li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--hp-text);
}

.column-box__action {
    margin-top: auto;
    padding-top: 1.75rem;
    text-align: center;
}

.news-date {
    color: var(--hp-gray-dark);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Awards Image */
.awards-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.awards-image a {
    flex: 1;
    display: flex;
    justify-content: center;
}

.awards-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.awards-image a:hover img {
    transform: scale(1.05);
}

/* Large Gold Badge */
.large-gold-badge {
    display: inline-block;
    color: #d4a72c;
    background-color: var(--hp-black);
    padding: 2px 8px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

/* Team Publications Image */
.team-publications-image {
    margin-top: 1.5rem;
    text-align: center;
}

.team-publications-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-publications-image a:hover img {
    transform: scale(1.02);
}

/* Jury Feedback */
.jury-feedback {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hp-gray);
}

.jury-feedback__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--hp-black);
    margin-bottom: 1.25rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jury-quote {
    margin: 0 0 1.5rem 0;
    padding: 0;
    border: none;
    background: none;
}

.jury-quote p {
    font-style: italic;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--hp-text-light);
    margin-bottom: 0.5rem;
}

.jury-quote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hp-text);
}

.jury-quote:last-child {
    margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--hp-black);
    color: var(--hp-white);
    border-color: var(--hp-black);
}

.btn--primary:hover {
    background: var(--hp-yellow);
    border-color: var(--hp-yellow);
    color: var(--hp-black);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 167, 44, 0.3);
}

.btn--primary:active {
    transform: translateY(0);
}

/* ===== SECTION 9: QUICK NAVIGATION ===== */
.quick-nav-section {
    padding: var(--section-padding) 0;
    background: var(--hp-warm-white);
}

.quick-nav-section .section-title {
    color: var(--hp-black);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* added by mkogan */
.quick-nav-section .section-title2 {
    color: var(--hp-black);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (max-width: 576px) {
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hp-white);
    background: var(--hp-black);
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 2px solid var(--hp-black);
    line-height: 1.3;
}

.nav-button:hover {
    background: var(--hp-yellow);
    border-color: var(--hp-yellow);
    color: var(--hp-black);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 167, 44, 0.3);
}

.nav-button:active {
    transform: translateY(0);
}

/* ===== SECTION 10: STAY UPDATED ===== */
.stay-updated-section {
    padding: var(--section-padding) 0;
    background: var(--hp-cream);
    border-top: 1px solid var(--hp-gray);
}

.stay-updated-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* added by mkogan */
.stay-updated-section .section-title2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.stay-updated-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    background: var(--hp-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--hp-gray);
}

/* mkogan
 column-gap and row-gap added
*/
.stay-updated-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 310px;
    column-gap: 2rem;   /* space between the two QR codes */
    row-gap: 0.75rem;   /* space between QRs and the paragraph — change this */
}

.qr-code {
    width: 130px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.stay-updated-text {
    flex: 1;
    min-width: 300px;
}

.stay-updated-text p {
    font-size: 1rem;
    line-height: var(--line-height-body);
    color: var(--hp-text);
    margin-bottom: 1rem;
}

.stay-updated-text p:last-child {
    margin-bottom: 0;
}

.stay-updated-text a {
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.stay-updated-text a:hover {
    color: var(--hp-yellow-dark);
}

/*
mkogan text-align changed from center to left
*/
.stay-updated-qr-note {
    width: 100%;
    text-align: left;
    font-size: 0.8125rem;
    color: var(--hp-text-light);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .stay-updated-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .stay-updated-logos {
        justify-content: center;
    }

    .stay-updated-text {
        min-width: 100%;
    }
}

/* ===== SMOOTH SCROLL REVEAL ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Subtle entrance animations */
/* added by mkogan: three-column-grid */

.intro-section .container,
.visual-cards-grid,
.search-form,
.gallery-category,
.article-cards,
.two-column-grid,
.three-column-grid,
.nav-buttons,
.stay-updated-content {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
.visual-card:focus-visible,
.article-card:focus-visible,
.nav-button:focus-visible,
.btn:focus-visible,
.gallery-item a:focus-visible {
    outline: 3px solid var(--hp-yellow);
    outline-offset: 3px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .intro-section,
    .explore-section,
    .gallery-section,
    .hobby-section,
    .topic-section,
    .about-news-section,
    .team-awards-section,
    .quick-nav-section,
    .stay-updated-section {
        padding: clamp(2rem, 6vw, 3.5rem) 0;
    }

    .intro-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .visual-card img {
        height: 110px;
    }

    .gallery-item img {
        height: 130px;
    }

    .article-card__image {
        height: 140px;
    }

    .article-cards--large .article-card__image {
        height: 180px;
    }

    .column-box {
        padding: 1.5rem;
    }

    .column-box::before {
        left: 1.5rem;
        right: 1.5rem;
    }

    .catalogue-nav {
        padding: 1rem 1.25rem;
    }

    .az-nav__link {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .column-box {
        padding: 1rem;
    }

    .column-box::before {
        left: 1rem;
        right: 1rem;
    }

    .gallery-item img {
        height: 100px;
    }

    .article-card__image {
        height: 120px;
    }

    .article-cards--large .article-card__image {
        height: 150px;
    }

    .catalogue-nav {
        padding: 0.75rem 1rem;
    }

    .az-nav__link {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.6875rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .intro-section,
    .explore-section,
    .gallery-section,
    .hobby-section,
    .topic-section,
    .about-news-section,
    .team-awards-section,
    .quick-nav-section,
    .stay-updated-section {
        background: var(--hp-white) !important;
        padding: 1.5rem 0;
    }

    .nav-button {
        box-shadow: none !important;
        border: 1px solid var(--hp-gray);
        background: var(--hp-white);
        color: var(--hp-black);
    }

    .column-box::before {
        display: none;
    }
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: var(--hp-yellow-glow);
    color: var(--hp-black);
}

::-moz-selection {
    background: var(--hp-yellow-glow);
    color: var(--hp-black);
}
