/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 17px;
    color: #000;
    background: #fff;
    line-height: 1.6;
}

.container {
    max-width: 954px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.home-page {
    padding-top: 40px;
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}
/* Hero image */
.hero {
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Rotate animation */
.rotate {
    transition: transform 0.8s ease;
}

.rotate:hover {
    transform: rotate(360deg);
}

/* Accordion */
.accordion {
    max-width: 630px;
    margin: 40px auto 20px;
    text-align: center;
}

.accordion-toggle {
    background: #fff;
    border: none;
    cursor: pointer;
    font: 19px Helvetica, Arial, sans-serif;
    color: #666;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.045em;
}

.accordion-toggle:hover {
    color: #666;
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    background: #fff;
}

.accordion-content.open {
    opacity: 1;
}

.accordion-content p {
    margin-top: 12px;
    padding: 0 15px;
}

.edible-title {
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin-top: 0;
}

.archives-link {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

.archives-link:hover,
.archives-link:focus {
    color: #444;
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .08em;
}

.accordion-content .back-link {
    margin-top: 18px;
}

.back-link:hover,
.back-link:focus {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    color: #bbb;
    padding: 10px 0;
    font-size: 14px;
    margin-top: 20px;
}

.gray-text {
    color: #666;
}
/* Archives page */
.archives-page {
    padding: 30px 0 60px;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .08em;
}

.archives-label {
    margin-bottom: 40px;
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.archives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 897px;
    margin: 45px auto 0;
}

.archive-item {
    margin: 0 auto 45px;
    max-width: 680px;
    width: 100%;
}

.archive-item--small {
    max-width: 626px;
}

.archives-description {
    margin-top: 28px;
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.archive-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.press-details {
    max-width: 680px;
    margin: 0 auto;
    border-top: 1px solid #e4e4e4;
    padding-top: 30px;
}

.press-details summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    border: none;
    padding: 0;
    margin: 0;
}

.press-details summary::-webkit-details-marker {
    display: none;
}

.press-details .arrow {
    display: inline-flex;
    transition: transform 0.25s ease;
}

.press-details[open] .arrow {
    transform: rotate(180deg);
}

.press-content {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.press-card {
    display: grid;
    grid-template-columns: 241px 1fr;
    gap: 12px;
    align-items: center;
}

.press-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.press-details summary {
    color: #666;
}

.press-details summary .arrow {
    color: #666;
}

.press-card p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.press-card p strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}
