:root {
    --brown:#3a150d;
    --gold:#d99b2b;
    --gold2:#f1c66e;
    --cream2:#fffdf6;
    --ink:#321307;
    --line:#e5b95b;
    --green:#1c6a3d
}

* {
    box-sizing:border-box
}

body {
    margin:0;
    font-family:Georgia, 'Times New Roman', serif;
    background:radial-gradient(circle at top, #fff8dd 0, #f3e6c8 44%, #ead7ae 100%);
    color:var(--ink);
    padding:8px 0 20px
}

.site-wrap {
    width:94vw;
    max-width:1200px;
    margin:0 auto;
    padding: 0 15px;
    background:var(--cream2);
    border:1px solid var(--line);
    border-radius:10px 10px 12px 12px;
    overflow:hidden;
    box-shadow:0 14px 24px rgba(55, 22, 6, .22)
}

.site-header {
    min-height:95px;
    color:#fff;
    text-align:center;
    position:sticky;
    top:0;
    z-index:50;
    padding:10px 88px 9px;
    border-bottom:2px solid var(--line);
    background:radial-gradient(circle at 20% 20%, rgba(255, 218, 144, .15), transparent 20%), radial-gradient(circle at 80% 40%, rgba(255, 218, 144, .13), transparent 22%), linear-gradient(rgba(70, 23, 10, .88), rgba(70, 23, 10, .88)), repeating-linear-gradient(45deg, #4a1d11 0 8px, #371106 8px 16px)
}

.logo {
    position:absolute;
    top:14px;
    width:45px;
    height:45px;
    border-radius:50%;
    background:radial-gradient(circle at 35% 28%, #fff7d6 0 32%, #e9b844 33% 70%, #7b3b18 71%);
    border:1px solid #b66b16;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#3c150b;
    font-family:Arial, sans-serif;
    font-size:10px;
    font-weight:900;
    box-shadow:0 3px 7px rgba(0, 0, 0, .35)
}

.logo.left {
    left:18px
}

.logo.right {
    right:18px
}

.title-ti {
    font-weight:900;
    font-size:22px;
    line-height:1.08;
    text-shadow:2px 2px 2px #1b0502;
    white-space:nowrap
}

.title-en {
    font-size:22px;
    line-height:.96;
    font-weight:900;
    text-shadow:2px 2px 2px #1b0502
}

.motto {
    font-size:12px;
    font-weight:800;
    color:#ffd56d;
    text-shadow:1px 1px #260a03;
    margin-top:4px
}

.main-nav {
    min-height:36px;
    background:#fffbed;
    border-bottom:1px solid var(--line);
    display:flex;
      padding: 12px 0;   /* 👈 adds top & bottom space */
    align-items:center;
    justify-content:center;
    gap:11px;
    flex-wrap:wrap;
    position:sticky;
    top:95px;
    z-index:49
}


.main-nav a {
    font-size: 18px;        /* 👈 increase text size */
    font-weight: 600;
    padding: 8px 16px;
    margin: 0 6px;
    display: inline-block;
    color: #3b1d0f;         /* keep your theme color */
    text-decoration: none;
}


.main-nav a.active {
    font-size: 20px;        /* 👈 match size */
    font-weight: bold;

    background: #5a1f12;
    color: #fff;

    border-radius: 20px;
    padding: 6px 18px;        /* 👈 slightly smaller vertical padding */
    margin: 4px 6px;                 /* 👈 creates space from top/bottom lines */

    display: inline-block;
}
.layout {
    display:grid;
    grid-template-columns:minmax(190px, 250px) 1fr minmax(230px, 310px);
    gap:20px;
    padding:18px 18px 12px
}

.panel, .card {
    border:1px solid var(--line);
    border-radius:8px;
    background:linear-gradient(180deg, #fffdf6, #fffaf0);
    overflow:hidden
}

.panel {
    min-height:515px
}

.panel-title, .section-title {
    font-size:15px;
    font-weight:900;
    line-height:1.02;
    padding:8px;
    border-bottom:1px solid #efd188;
    background:#fff8e7;
    color:#331207
}

.section-title {
    font-size:18px
}

.panel-content {
    padding:8px
}

.assoc-list {
    display:flex;
    flex-direction:column;
    gap:5px
}

.assoc-list a {
    display:block;
    text-decoration:none;
    background:#fff3dc;
    border-left:3px solid var(--gold);
    border-radius:6px;
    padding:9px 8px;
    font-size:12px;
    font-weight:900;
    line-height:1.08;
    color:#3a1408
}

.assoc-list a:hover {
    background:#f8d99d
}

.objective-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:8px;
    padding:8px
}

.obj {
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff8e7;
    padding:8px;
    min-height:112px
}

.obj b {
    display:block;
    font-size:18px;
    margin-bottom:4px
}

.obj p {
    font-size:14px;
    line-height:1.28;
    margin:0;
    color:#5a3218
}


.mountain-card {
    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.55)),
        url("adwa-mountain.jpg") center center / cover no-repeat;

    position: relative;
    overflow: hidden;
    box-sizing: border-box;

    min-height: 190px;
    border-radius: 12px;
    border: 1px solid #d9a441;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px #000;

    white-space: normal;
    word-break: normal;
}

.mountain-card span {
    max-width: 95%;
    white-space: normal;
}

.mountain-card:after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to right, rgba(238, 219, 166, .25), transparent 30%, rgba(255, 232, 177, .2))
}

.mountain-caption {
    position:absolute;
    left:8px;
    bottom:9px;
    color:#fff;
    font-size:14px;
    font-weight:900;
    line-height:1;
    text-shadow:1px 2px 2px #000;
    z-index:2
}

.events {
    padding:8px
}

.event-row {
    display:grid;
    grid-template-columns:48px 1fr;
    gap:7px;
    border-bottom:1px dashed #dfb66a;
    padding:6px 0
}

.datebox {
    background:var(--brown);
    color:#fff;
    border-radius:6px;
    text-align:center;
    font-family:Arial, sans-serif;
    font-weight:900;
    padding:4px 2px;
    line-height:1
}

.datebox span {
    display:block
}

.datebox .m {
    font-size:10px
}

.datebox .d {
    font-size:9px
}

.event-title {
    font-size:14px;
    font-weight:900
}

.event-desc {
    font-size:12px;
    color:#70451f;
    line-height:1.18
}

.archive-link {
    font-size:14px;
    font-weight:900;
    line-height:1.25;
    border-bottom:1px dashed #d8ae66a;
    padding:7px 0;
    color:#4b1b0e
}

.archive-link {
    display:block;
    text-decoration:none;
    color:var(--green)
}

.footer {
    background:#39150c;
    color:#fff7d8;
    text-align:center;
    padding:12px 10px 10px;
    border-top:2px solid var(--line)
}

.footer-title {
    font-size:11px;
    font-weight:900
}

.footer-links {
    display:flex;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
    margin:7px 0
}

.footer-links a {
    border:1px solid #d89d2b;
    color:#ffe58e;
    text-decoration:none;
    border-radius:12px;
    padding:4px 9px;
    font-size:10px;
    font-weight:900
}

.copyright {
    font-size:8px;
    color:#fff;
    margin-top:5px
}

.content-page {
    padding:12px 16px 20px;
    min-height:520px
}

.content-card {
    border:1px solid var(--line);
    border-radius:8px;
    background:#fffdf6;
    padding:14px;
    margin-bottom:12px
}

.content-card h1 {
    margin:0 0 10px;
    font-size:22px
}

.detail-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
}

.detail-box {
    border:1px solid #e6be6b;
    background:#fff8e8;
    border-radius:8px;
    padding:10px;
    white-space:pre-line;
    font-size:13px;
    line-height:1.35
}

.back-btn, .btn {
    display:inline-block;
    background:#3a150d;
    color:#fff;
    text-decoration:none;
    border:2px solid var(--gold2);
    border-radius:16px;
    padding:7px 13px;
    font-size:12px;
    font-weight:900;
    cursor:pointer
}

.form {
    display:grid;
    gap:9px
}

.form input, .form textarea, .form select {
    width:100%;
    border:1px solid var(--line);
    background:#fffaf0;
    border-radius:6px;
    padding:8px;
    font-family:Arial, sans-serif;
    font-size:13px
}

.form textarea {
    min-height:92px
}

.notice {
    background:#fff4d4;
    border:1px dashed #d1982d;
    border-radius:8px;
    padding:10px;
    font-size:12px
}

.admin-grid {
    display:grid;
    grid-template-columns:150px 1fr;
    gap:12px
}

.admin-list button {
    display:block;
    width:100%;
    margin-bottom:5px;
    text-align:left;
    background:#fff3dc;
    border:1px solid #e6be6b;
    border-left:3px solid var(--gold);
    border-radius:6px;
    padding:7px;
    font-weight:900;
    font-size:11px;
    cursor:pointer
}

.small {
    font-size:11px;
    color:#6d4b2d
}

.jsonbox {
    width:100%;
    min-height:160px;
    font-family:monospace;
    font-size:11px
}

/* Balanced content and form width */
.content-card {
    max-width:1120px;
    margin-left:auto;
    margin-right:auto
}

.content-card .form {
    max-width:700px;
    margin:18px auto 6px
}

.form-success {
    display:none;
    max-width:700px;
    margin:14px auto 0;
    background:#f4ffe8;
    border:1px solid #79a85a;
    color:#24551f;
    border-radius:8px;
    padding:11px 12px;
    font-weight:900;
    font-size:14px;
    text-align:center
}

.form-success.show {
    display:block
}

@media(max-width:800px) {
    body {
    padding:0
}

@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }
}
.site-wrap {
    width:100%;
    max-width:100%;
    border-radius:0;
    border-left:0;
    border-right:0
}

.site-header {
    padding:12px 60px;
    min-height:90px;
    position:sticky;
    top:0
}

.main-nav {
    top:90px
}

.logo {
    width:38px;
    height:38px;
    font-size:8px
}

.logo.left {
    left:10px
}

.logo.right {
    right:10px
}

.title-en {
    font-size:22px
}

.main-nav {
    gap:5px
}


.main-nav a {
    font-size: 18px;        /* 👈 increase size */
    font-weight: 600;       /* slightly bold */
    padding: 10px 16px;     /* better spacing */
    display: inline-block;
}

.main-nav a:hover {
    color: #d9a441;
}

.layout {
    grid-template-columns:1fr;
    gap:10px;
    padding:10px
}

.panel {
    min-height:auto
}

.objective-grid, .detail-grid, .admin-grid {
    grid-template-columns:1fr
}

.mountain-card {
    height:140px
}

.assoc-list {
    display:grid;
    grid-template-columns:repeat(2, 1fr)
}

}

@media(max-width:520px) {
    .title-en {
    font-size:18px
}

.motto {
    font-size:10px
}

.main-nav a {
    font-size:9px;
    padding:5px 6px
}

.layout {
    padding:8px
}

.assoc-list {
    grid-template-columns:1fr!important
}

.objective-grid {
    gap:7px
}

.content-page {
    padding:10px
}

.panel-title, .section-title {
    font-size:16px
}

}
.assoc-list a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.assoc-list a.active-org {
    background: #5a1f12;
    color: #fff;
    border: 2px solid #d9a441;
    font-weight: bold;
}
@media (max-width: 768px) {
    .main-nav a {
        font-size: 16px;
        padding: 8px 10px;
    }
}

/* News system additions: keeps homepage previews compact and image sizes controlled */
.news-thumb {
    width:100%;
    max-height:90px;
    object-fit:cover;
    border-radius:8px;
    margin-bottom:7px;
    border:1px solid var(--line);
    display:block;
}


.news-title {
    font-size:16px;
    font-weight:800;
    color:#7a1f1f !important; /* 👈 FORCE override */
    margin-bottom: 4px;
    line-height:1.3;
}



.news-date {
    font-size:12px;
    color:#888;
    margin-bottom: 9px;
}

.news-item p {
  
    font-size:13px;
    line-height:1.4;
    color:#333;
}


.news-item p {
display: -webkit-box;
-webkit-line-clamp: 4;/* number of lines */
-webkit-box-orient: vertical;
overflow: hidden;
}


/* fade out effect */
.news-item p::after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 20px;
    background: linear-gradient(to right, transparent, #fffdf6 60%);
}




.read-more {
    display:inline-block;
    margin-top:3px;
    color:var(--green);
    font-weight:900;
    text-decoration:none;
}

/* News detail page image control 
Make news detail image smaller and centered
*/
.news-detail-img {
width: auto;
max-width: 420px;
max-height: 360px;
object-fit: contain;
display: block;
margin: 15px auto;
}

.news-full-body {
    font-size:15px;
    line-height:1.55;
    color:#331207;
    margin:15px 0;
}

.news-admin-item {
    margin-bottom:10px;
}

/* Compact Top News thumbnails */


.news-item {
margin-bottom: 14px;
}






/*Fix blank left space on detail page*/


.news-full-body {
max-width: 720px;
margin: 0 auto;
line-height: 1.5;
}

.content-card h1,
.content-card .small {
max-width: 720px;
margin-left: auto;
margin-right: auto;
}

/* FORCE Top News title color */
.panel-content .news-item .news-title,
.panel-content .news-item > strong,
.panel-content .news-item h3,
.panel-content .news-item h4 {
color: #9b1c1c !important;
font-size: 16px !important;
font-weight: 900 !important;
line-height: 1.25 !important;
}
/* Final Top News title style */
.panel-content .news-item .news-title {
color: #9b1c1c !important;
font-size: 17px !important;
font-weight: 900 !important;
line-height: 1.25 !important;
}



.leadership-section {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 30px !important;
margin-top: 40px !important;
}

.leadership-column {
background: #fffaf0 !important;
border: 2px solid #d7a447 !important;
border-radius: 16px !important;
padding: 25px !important;
box-shadow: 0 8px 22px rgba(0,0,0,0.10) !important;
}

.leadership-column h2 {
text-align: center !important;
color: #5c1807 !important;
font-size: 32px !important;
margin-bottom: 22px !important;
padding-bottom: 12px !important;
border-bottom: 2px solid #d7a447 !important;
}

.leader-card {
background: #ffffff !important;
border-left: 6px solid #6b1f0f !important;
border-radius: 12px !important;
padding: 16px 18px !important;
margin-bottom: 16px !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.leader-card strong {
display: block !important;
color: #3f1207 !important;
font-size: 21px !important;
font-weight: 800 !important;
}

.leader-card span {
display: block !important;
color: #7a2a12 !important;
font-size: 17px !important;
margin-top: 4px !important;
}

@media (max-width: 768px) {
.leadership-section {
grid-template-columns: 1fr !important;
}
}


.page-title {
    text-align: center;
}

.pdf-open-btn {
    display: inline-block;
    margin: 15px 0;
    padding: 10px 18px;
    background: #6b1f0f;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.pdf-wrap {
    width: 100%;
    height: 80vh;
    min-height: 650px;
    border: 1px solid #d9a441;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px;
}

.bylaw-pdf {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile fix */
@media (max-width: 768px) {
    .pdf-wrap {
        height: 85vh;
        min-height: 600px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bylaw-pdf {
        height: 100%;
    }
}



.donation-form {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
}

.donation-form .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 15px;
}

.donation-form label {
    width: 220px;
    font-weight: 700;
    font-size: 16px;
}

.donation-form input,
.donation-form textarea {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #b88b3c;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.donation-form textarea {
    min-height: 110px;
    resize: vertical;
}

.donation-form button {
    margin-top: 15px;
    padding: 12px 22px;
    background: #6b1f0f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.donation-form button:hover {
    opacity: 0.92;
}

.deposit-section {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #d9a441;
}

/* Mobile responsive */
@media (max-width: 768px) {

    .donation-form .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .donation-form label {
        width: 100%;
        margin-bottom: 6px;
    }

    .donation-form input,
    .donation-form textarea {
        width: 100%;
    }
}


.donation-info {
    font-size: 18px;
    font-weight: 700;
    color: #5a1f12;
    line-height: 1.8;
    margin-top: 18px;
    text-align: center;
}

@media (max-width: 600px) {
.site-header {
padding: 14px 55px 18px;
min-height: 170px;
overflow: visible;
}

.title-ti {
font-size: 22px;
line-height: 1.15;
white-space: normal;
max-width: 100%;
word-break: normal;
}

.title-en {
font-size: 34px;
line-height: 1.05;
}

.motto {
font-size: 20px;
line-height: 1.3;
}

.logo {
top: 42px;
width: 58px;
height: 58px;
}
}


