@charset "UTF-8";
/* ==========================================================================
   Annual Report – HeveaBoard (/en/annual/)
   Same look as the original page (year buttons that open a panel of
   reports), tidied up. Navbar, banner and footer come from global.css.
   ========================================================================== */

.ar-container {
    width: 80%;
    max-width: 1400px;
    margin: 40px auto 60px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-sizing: border-box;
}

/* ── Year buttons ── */
.ar-heading { margin: 0; font-size: 1em; font-weight: normal; }
.accordion {
    position: relative;
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 15px 50px;
    font: inherit;
    font-size: 18px;
    text-align: center;
    color: #fff;
    background-color: #323232;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .2s ease;
}
.accordion:hover { background-color: #4a4a4a; }
.accordion:focus-visible { outline: 2px solid #323232; outline-offset: 3px; }

/* + / − sign on the right (drawn with CSS so it looks the same on every device) */
.accordion::before,
.accordion::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 12px;
    height: 2px;
    background: #fff;
    transition: transform .2s ease;
}
.accordion::after { transform: rotate(90deg); }
.accordion[aria-expanded="true"]::after { transform: rotate(0deg); }

/* ── Panel ── */
.panel {
    margin-top: 5px;
    padding: 20px 18px;
    background-color: #fff;
    border-radius: 5px;
}
.panel[hidden] { display: none; }
.panel-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 32px;
    text-align: center;
}
.ar-item { display: flex; flex-direction: column; align-items: center; width: 200px; }
.ar-item img {
    width: 200px;
    height: 300px;
    margin-bottom: 10px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.ar-btn {
    display: block;
    width: fit-content;
    margin: 6px auto;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
    background-color: #323232;
    border-radius: 5px;
    transition: background-color .2s ease;
}
.ar-btn:hover { color: #fff; background-color: #555; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .ar-container { width: auto; margin: 20px 12px 40px; padding: 12px; }
    .accordion { padding: 13px 44px; font-size: 16px; }
    .panel { padding: 16px 8px; }
    .panel-content { gap: 28px 16px; }
    .ar-item { width: calc(50% - 8px); }
    .ar-item img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
    .ar-btn { padding: 8px 12px; font-size: 14px; }
}