main{
    padding-left: min(6vw, 60px);
    padding-right: min(6vw, 60px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
h1{
    font-size: min(15vw, 96px);
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 40px;
    margin-top: 20px;
}
.e-card {
    width: 100%;
    max-width: 375px;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.37);
    border-radius: 8px;
    flex-shrink: 0;
}

.e-img {
    background-color: #277D31;
    background-image: url('/img/admin/news-placeholder.jpg');
    height: 210px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-bottom: 2px solid #277D31;
}

.e-cont {
    
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

.e-title {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    max-width: 100%;
    line-height: 25px;

}

.e-desc {
    font-size: 15px;
    line-height: 19px;
    margin-top: 3px;
}

.e-card button {
    margin-top: auto;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: white;
    font-weight: 400;
    font-size: 20px;
    background-color: #277D31;
    border-radius: 6px;
    padding: 4px 11px;
    border: none;
    cursor: pointer;
    
    margin-bottom: 0;
}

.e-card button a {
    text-decoration: none;
}

.e-card.big {
    width: 490px;
}

.e-card button {
    width: max-content;
}

.e-card button a {
    color: white;
}

.cards{
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: stretch;
}
.smallflex{
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}
.smallflex .button{
    padding: 4px 8px;
}
.e-card .date{
    color: #3b3b3b;
}

.pager{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 70px;
    gap: 20px;
}
.pager .p1{
    display: flex;
    font-size: 22px;
}
.pager .p2{
    display: flex;
    align-items: center;
}
.pager input{
    padding: 2px;
    width: 40px;
    height: 3ch;
    text-align: center;
}
.backlink, .fwdlink{
    color: #277D31;
    text-decoration: none;
    margin: 0 3px;
}
.i-pair{
    display: grid;
    grid-template-areas: 
    "a a a"
    "b b c";
    margin: 0 10px;
    max-width: 80px;
    align-items: center;
}
.i-pair:nth-child(2){
    grid-template-areas: 
    "a a a"
    "b b b";
}
.i-pair *:nth-child(1){grid-area: a;}
.i-pair *:nth-child(2){grid-area: b;}
.i-pair *:nth-child(3){grid-area: c;}

.send{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    height: max-content;
    width: max-content;
    padding: 5px 8px;
}
a.button{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
}
.pages{
    flex-shrink: 0;
    display: flex;
}
.page{
    text-decoration: none;
    width: 30px;
    height: 30px;
    aspect-ratio: 1;
    /* padding: 5px; */
    text-align: center;
    border: 2px solid #277D31;
    border-radius: 5px;
    flex-shrink: 0;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    
}
.page.current{
    color: #fff;
    background-color: #277d31;
}

.hidden{
    display: none;
}

.send.disabled{
    background-color: #1e5f26;
    color: gray;
}

.decor{
    position: absolute;
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
}

.decor:nth-child(1){
    top: 0;
    left: 0;
    background-color: #294936;
    width: 30vw;
    max-width: 250px;
    aspect-ratio: 1;
    transform: translateX(-60%) translateY(-60%);
    border-radius: 50%;
}

.decor:nth-child(2){
    bottom: 10%;
    right: 0;
    background-color: #277D31;
    width: 30vw;
    max-width: 250px;
    aspect-ratio: 1;
    transform: translateX(60%);
    border-radius: 50%;
}

.decor:nth-child(3){
    bottom: 10%;
    left: 0;
    background: url('/img/decor/checker.png');
    width: 50vw;
    max-width: 800px;
    height: 30vw;
    max-height: 500px;
    transform: translateX(-30%);
}

@media only screen and (max-width: 650px){
    .cards{
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }
}