* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    min-width: 860px;
}

.top-bar {
    background-color: #2d5016;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.top-bar h1 {
    color: white;
    font-size: 24px;
}

.search-btn {
    padding: 12px 30px;
    background-color: #4a7c28;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #5a8c38;
}

/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

/* Fixed size popup */
.popup {
    background-color: white;
    width: 700px;
    height: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popup-header {
    background-color: #2d5016;
    padding: 20px;
    border-bottom: 2px solid #4a7c28;
    padding-right: 50px;
}

.popup-header input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    outline: none;
}

#popup-list-label {
    display: none;
    padding: 12px;
    font-size: 20px;
    color:white;
}

.popup-results {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.result-item {
    padding: 15px;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-left: 3px solid transparent;
}

.result-item:hover {
    background-color: #e8f4e0;
    border-left-color: #4a7c28;
}

.result-item h3 {
    color: #2d5016;
    font-size: 18px;
    margin-bottom: 5px;
}

.result-item .meta {
    color: #666;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 50px;
    color: #999;
    font-size: 16px;
}

.close-popup {
position: absolute;
  top: 17px;
  right: 5px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 5px 10px;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.welcome {
    text-align: center;
    padding: 100px 20px;
    color: #999;
    font-size: 18px;
}

/* Article view */
.article-view {
    display: none;
    background-color: white;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-view.active {
    display: block;
}

.article-view h2 {
    color: #2d5016;
    font-size: 32px;
    margin-bottom: 15px;
}

.article-meta {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8f4e0;
}

.article-content {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 40px;
}

.attachments-section {
    border-top: 2px solid #e8f4e0;
    padding-top: 30px;
}

.attachments-section h3 {
    color: #4a7c28;
    font-size: 20px;
    margin-bottom: 20px;
}

.attachment {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f8fdf5;
    border-left: 4px solid #4a7c28;
    border-radius: 4px;
    text-decoration: none;
    color: #2d5016;
    transition: background-color 0.2s;
}

.attachment:hover {
    background-color: #e8f4e0;
}

.attachment-icon {
    font-size: 20px;
    margin-right: 12px;
}




    figure {
        padding:0px;
        margin:0px;
    }
    [data-block="layout"] {
    display: flex;
    gap: 20px;
    
    }
    div[data-block="column"] > figure > img {
        max-width: 100%;
        height: auto;
    }
    .cmsPage img {
            max-width:100%;
            height:auto
          }
     @media screen and (max-width: 768px) {
         [data-block="layout"] {{
            flex-wrap:wrap;
         }
         div[data-block="column"] {
            flex-basis:100% !important;
            padding-left:10px;
            padding-right:10px;
            
         }
         .cmsPage img {
            max-width:100%;
            height:auto
          }
        
     }
