/* ==========================================================
   RESPONSIVE / MEDIA QUERIES
========================================================== */
@media (max-width: 1200px) {
    .wrapper { width: 95%; }
}

@media (max-width: 768px) {
    .masthead { flex-direction: column; align-items: flex-start; }
    .top-nav { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .house-name { font-size: 1.5rem; }
    .motto { font-size: 0.9rem; }
}

/* ==========================================================
   RESPONSIVE / ARCHIVAL CONTENT DROP DOWN LIST
========================================================== */
.archive-toggle {
    cursor: pointer;
}

.archive-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.archive-panel.open {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

#archiveIcon {
    font-size: 18px;
    color: #888;
}

/* ==========================================================
   RESPONSIVE / HOUSE LAW AMENDMENT CONTENT DROP DOWN LIST
========================================================== */
.gazette-amendments {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.amendment-item {
    margin-bottom: 25px;
}

.amendment-item h4 {
    color: #1f2a44;
    margin-bottom: 5px;
}

.amendment-item .date {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.amendment-item .content {
    line-height: 1.6;
    color: #333;
}


.leader-card {
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
}

.leader-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.leader-header h3 {
    color: #1f2a44;
    font-size: 18px;
}

.leader-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.leader-panel .content {
    line-height: 1.6;
    color: #444;
}

.emblem-card {
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
    max-width: 800px;
}

.emblem-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.emblem-header h3 {
    color: #1f2a44;
    font-size: 18px;
}

.emblem-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.emblem-panel .content {
    margin-top: 15px;
    line-height: 1.7;
    color: #444;
}

.emblem-panel h4 {
    margin-top: 15px;
    color: #1f2a44;
}