/*all pages*/
html {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-size: 15px;
}
.uniform__potty {
    position: absolute;
    left: -9999px;
}

/*Serif Font*/
.ser {
    font-family: 'Times New Roman';
    font-weight: 200;
}
/*Sans serif Font*/
.sans{
    font-family:'Quicksand', sans-serif;
}

/* Font settings for Body text 
body, p, a, li, span {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400; 
}
*/

/* Fonts */


@font-face {
    font-family: 'CMU Serif Roman';
    src: url('/assets/fonts/cmunrm.ttf') format('truetype'),
    url('/assets/fonts/cmunrm-webfont.woff2') format('woff2'),
         url('/assets/fonts/cmunrm-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'Times New Roman';
    src: url('/assets/fonts/timesnewromanpsmt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }


/*Header*/
.header-holder {
    background: white;
    padding: 10px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 1px solid black;
    z-index: 20;
}
header.header.pagetop {
    padding: 6px 6px;
}
img.header-logo-img {
    width: inherit;
}
.header .tagline {
    font-family: serif;
}


.lang-tabs {
    position: fixed;
}

/* Hide/show blocks based on device width */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

@media (max-width:868px){
      .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
    /*Header*/
    .lang-tabs { 
        right: 14px;
        top: 10px;
    }
    .header .tagline {
        max-width: calc(100% - 70px);
    }
    .header-logo {
        width: 220px;
    }
    .header-holder {
            padding: unset !important;
            height: 94px !important;
    }
       .entries-header {
    top: 95px !important
    }
    .accordion-header.active {
    top: 153px !important;
}
    .header .tagline {
        font-size: 11px;
    }
    a.lang-option {
        padding: 1px 3px;
        text-decoration: none;
        font-size: 10px;
    }
    /*Main Contain*/
    main.main {
        margin: 146px 10px;
    }
     /*Main Contain*/
    .page-default main.main, body.page-legal main.main {
        margin: 90px 10px !important;
    }
    header nav {
        top: 35px;
        right: 5px;
    }
    .homepage-additional .column .button{
            font-size: 14px !important;
    margin: auto;
    text-align: center;
    }

    .entries, tbody.accordion {
    font-size: 11px !important;
    }
    .accordion td.chevron{
        right: 7px !important
    }
    .accordion td {
    padding: 12px 3px !important;
        line-height: 16px;
    }
    td.col-4 {
    padding-right: 7px !important;
}
.accordion tr.accordion-header.active .chevron {
    right: -3px !important;
}
.accordion-summary {
    border-right: unset !important;
    padding-right: unset !important;
}
.nav-links {
        top: 45px;
}

}
.accordion-summary h2 {
    line-height: 19px;
    font-size: 15px;
}

@media (min-width:869px){
    /*Header*/
    .header-col-1, .header-col-2 {
        display: inline-block;
        padding-right: 18px;
        vertical-align: top;
    }
    .lang-tabs { 
        right: 100px;
        top: 27px;
    }  
    .header-logo {
        width: 240px;
    }
    .header .tagline {
        font-size: 13px;
        padding-top: 5px;
        max-width: 200px;
        padding-left: 10px;
    }
    a.lang-option {
        padding: 2px 6px;
    }

    /*Main Contain*/
    .page-home main.main {
        margin: 116px 0;
}
.nav-links {
        top: 59px;
}

/* Grid Layout for Expanded Content */
.accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.columns {
    display: flex
}
header nav {
    top: 16px;
    right: 15px;
}

}
.lang-tabs ul {
    margin: 0;
}
.lang-tabs li {
    list-style: none;
    display: inline-block;
}
a.lang-option {
    text-decoration: none;
    color: black;
    text-transform: lowercase;
    font-weight: 700;
}
a.lang-option[aria-current] {
    border-bottom: 2px solid black;
    background: gainsboro;
}



/* Navigation styles */
header nav {
    position: fixed;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    border-radius: 10px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;
    height: 25px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
button:focus {
    outline: none;
  }
.bar {
    height: 4px;
    width: 100%;
    background-color: black;
}

.hamburger:focus {
    outline: 2px dashed #fff;
}

.nav-links {
    list-style: none;
    display: none;
    flex-direction: column;
    position: absolute;
    background: #eaeaea;
    border-right: 1px solid;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    right: 0px;
    width: 200px;
}

.nav-links li {
    text-align: right;
    padding: 15px;
}
.nav-links a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover, .nav-links a:focus {
    color: lightgray;
    outline: 2px dashed lightgray;
}

/* Show active menu */
.nav-links.active {
    display: flex;
}




/*Homepage Widget One*/
@media (min-width:869px){
    body.page-default .main, body.page-legal .main {
        padding-top: 80px !important;
    }
    .column.left-column {
        border-right: 1px solid black;
    }
    .column {
        flex: 1;
        padding: 20px 20px 30px 20px;
        padding-top: 30px;
    }
    .accordion-header.active {
    top: 156px !important;
    }
}
.homepage-additional {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid black;
    margin-top: -40px;
}

.columns {
    width: 100%;
}

.column {
    flex: 1
}
.homepage-additional .column .button{
    color: black;
    text-decoration: none;
    padding: 4px 20px;
    font-size: 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bolder;
    box-shadow: 3px 3px 0px #000;
    text-transform: lowercase;
}

.left-column .button {
    background-color: #e94f30;

}

.right-column .button {
    background-color: #1db811;
}

.column-text {
    margin-top: 15px;
    line-height: 1.4;
}

.column-text p {
    margin-bottom: 10px;
}


/*Footer*/
footer.footer {
    margin: 190px 0 40px 10px;
    border-top: 1px solid black;
    padding: 50px 0 0 0;
}
footer.footer * {
    display: inline-block;
    vertical-align: middle;
}
.footer-logo {
    width: 70px;
    padding-right: 13px;
}
img.footer-logo-img {
    width: 100%;
}





/* Homepage Entries listed */
@media (min-width:860px){
    .col-1{
       width: 35px;
    }
    .col-2{
        width: 90px;
     }
     .col-3 {
        width: calc(50% - 205px);
    }
    .col-4 {
        width: 50%;
    }
    .col-5 {
        width: 20%;
    }
    .entries {
        padding: 0 15px;
    }
}
.entries {
    display: flex;
    flex-direction: column;
}
.entries table {
    border-collapse: collapse;
}

.entries-header {
    position: sticky;
    top: 89px;
    z-index: 10;
    background-color: white;
    box-shadow: 0px 2px black;
}

.entries-header table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures columns align properly */
}

.entries-header th {
    text-align: left;
    font-family: sans-serif;
    font-weight: 600;
    border-bottom: 2px solid black;
    padding: 15px 5px;
}

.entries-body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    table-layout: fixed; /* Ensures consistent column widths */
}

.entries-body td {
    padding: 10px;
    vertical-align: top; /* Aligns content to the top of the cell */
    text-align: left; /* Matches header alignment */
}

.entry:nth-child(odd) {
    background-color: #f9f9f9;
}

.entries-body tr:hover {
    background-color: #f1f1f1;
}
.accordion td {
    padding: 13px 5px;
    border-bottom: 1px solid gainsboro;
}

/* Individual Entry Styling */
.entries-body tr {
    border: 1px solid #ddd;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    gap: 15px;
}

.entry-header, .entry-body, .entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.entry-number, .entry-date, .entry-type-of-silencing,
.entry-silenced-person, .entry-identity, .entry-responsible,
.entry-place, .entry-type-of-institution {
    flex: 1 1 100%;
    font-size: 14px;
    font-weight: bold;
}

.entry-summary p, .entry-links a, .entry-direct-action a {
    margin: 5px 0;
    font-size: 14px;
}

.info-link, .action-link {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #000;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    margin-right: 10px;
}

.info-link:hover, .action-link:hover {
    background-color: #f0f0f0;
}

.entry-footer {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}


/* Default Page */
body.page-default .main, body.page-legal .main {
    padding: 10px;
}