/* Wrapper for all tables */
.am-frontend-wrapper {
    margin: 30px 0;
    font-family: Arial, sans-serif;
}

/* Category Heading */
.am-category-title {
    font-size: 22px;
    font-weight: 700;
    color: #0073aa;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

/* Table Styling */
.am-frontend-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

/* Table Header */
.am-frontend-table th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

/* Table Cells */
.am-frontend-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Alternate Row Stripes */
.am-frontend-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* Hover Effect */
.am-frontend-table tr:hover {
    background-color: #eef7ff;
}

/* Title Link Styling */
.am-frontend-table td a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.am-frontend-table td a:hover {
    text-decoration: underline;
}

/* Download Buttons for Files */
.am-frontend-table td a.am-download-link {
    background-color: #7c0606;
    color: #fff;
    font-size: 13px;
    transition: 0.2s background-color;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: grid;
    place-content: center;
}
.am-frontend-table td a.am-download-link svg {
    fill: #fff;
    width: 22px;
    height: 22px;
}
.am-frontend-table td a.am-download-link:hover {
    opacity:0.8;
}

/* Responsive Table */
@media (max-width: 768px) {
    .am-frontend-table,
    .am-frontend-table thead,
    .am-frontend-table tbody,
    .am-frontend-table th,
    .am-frontend-table td,
    .am-frontend-wrapper {
        display: block;
        width: 100%;
    }

    .am-frontend-table thead {
        display: none;
    }

    .am-frontend-table tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #ddd;
        display: block;
    }

    .am-frontend-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .am-frontend-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
    }

    .am-frontend-table td a {
        margin-left: 10px;
    }
}

/*Single Agenda*/
/* Wrapper */
.am-single-wrapper {
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-family: 'Arial', sans-serif;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Title */
.am-title {
    font-size: 32px;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 10px;
}

/* Publish Date */
.am-publish-date {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* Meta */
.am-meta p {
    margin: 8px 0;
    font-size: 16px;
}

.am-meta strong {
    color: #222;
}

/* Download buttons */
.am-download-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.am-download-btn:hover {
    background-color: #005177;
}

/* Map link */
.am-map-link {
    color: #0073aa;
    text-decoration: underline;
}

.am-map-link:hover {
    color: #005177;
}

/* Address */
.am-address p {
    margin: 4px 0 10px 0;
}

/* Content */
.am-content {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .am-single-wrapper {
        padding: 15px;
    }

    .am-title {
        font-size: 26px;
    }
}
