:root {
    --link-color: #1a73e8;
    --link-hover-color: #0056b3;
}

/* Header social icons design */
.website-socials {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 15px;
}

.website-socials li {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid #fff;
}

.website-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 19px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

@media only screen and (max-width: 550px) {
    .website-socials a {
        width: 25px;
        height: 25px;
        font-size: 15px;
    }

    main {
        padding-top: 118px !important;
    }
}

.website-socials a:hover {
    background-color: #fff;
    color: #110022;
}

/* homepage */
.section-item {
    margin-bottom: 25px;
}

.last-news-category2 {
    border-left: 1px solid #5e5e5e;
    padding: 1px 7px 4px 7px;
    color: #707070;
    margin-left: 6px;
}

/* application */
.articles-calendar {
    max-width: 349px !important;
    margin-bottom: 25px;
}

.articles-calendar * {
    border-radius: 0px !important;
    font-family: unset !important;
}

.articles-calendar .ui-datepicker,
.articles-calendar .ui-datepicker-header {
    border-radius: 3px !important;
}

.articles-calendar .ui-datepicker-header {
    background-image: none !important;
}

.articles-calendar img.loading {
    width: 50px;
    display: block;
    margin: 0 auto;
}

.articles-calendar span.counter {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 25px;
    margin: 0px !important;
    padding: 0px !important;
    font-size: 17px;
    font-weight: normal;
    float: none !important;
    border: none !important;
    background: #fff !important;
}

.articles-calendar .ui-datepicker td a {
    display: inline-flex !important;
    flex-direction: column;
    width: 100%;
    gap: 5px !important;
}

.articles-calendar a.active span.counter {
    outline: 1px solid #fad42e !important;
    background: #fbec88 !important;
}

.articles-calendar .ui-datepicker {
    width: 22em;
    max-width: 100%;
}

.articles-calendar a.ui-state-default,
.articles-calendar .ui-widget-content a.ui-state-default,
.articles-calendar .ui-widget-header a.ui-state-default {
    font-weight: normal !important;
    cursor: default;
}

.articles-calendar a.active,
.articles-calendar .ui-datepicker-prev,
.articles-calendar .ui-datepicker-next {
    cursor: pointer !important;
}

.articles-calendar .ui-datepicker-header .ui-state-hover {
    background: none !important;
    border: none !important;
}

/* pagination */
.pagination ul {
    list-style: none;
    flex-wrap: wrap !important;
    gap: 5px;
}

.pagination ul li span {
    text-decoration: none;
    padding: 5px 10px;
}

.pagination ul li a.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* common */
main .container .content #news-detail .container-md .post-title {
    font-size: 40px;
    margin: 20px 0;
}

main .container .content #news-detail .container-md .description p {
    margin-bottom: 1rem;
    font-size: 18px !important;
    line-height: 1.5rem;
}

main .container .content #news-detail .edit-link {
    display: inline-flex;
    color: blue;
    text-decoration: none;
}

main .container .content #news-detail .edit-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url('../assets/images/svg/edit-link.svg') no-repeat center center;
    background-size: contain;
}

main .container .content #news-detail .container-md .description * {
    font-size: 18px !important;
    font-family: Tahoma, Helvetica, sans-serif !important;
    line-height: 26px !important;
    color: rgb(34, 34, 34) !important;
}

main .container .content #news-detail .container-md .description a {
    text-decoration: underline;
    color: var(--link-color) !important;
}

main .container .content #news-detail .container-md .description a:hover {
    color: var(--link-hover-color) !important;
}

main .container .content #news-detail .container-md .description iframe,
main .container .content #news-detail .container-md .description video,
main .container .content #news-detail .container-md .description img {
    max-width: 100% !important;
}

.autohr .desc {
    display: inline-flex;
    flex-direction: column;
    padding: 10px 5px;
}

.autohr .desc a {
    margin-top: auto;
}

.autohr .img {
    width: 150px;
    height: 150px;
}

#presidents-diary-swipper-responsive,
#latest-news-responsive {
    display: none !important;
}

@media only screen and (max-width: 550px) {
    main .container .content #news-detail .container-md .post-title {
        font-size: 22px;
    }

    main .container .content #news-detail .edit-icon {
        width: 32px;
        height: 32px;
    }

    .autohr {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .autohr .img {
        width: 75px;
        height: 75px;
    }

    .latest-news-res {
        width: 100% !important;
    }

    .section-item {
        display: none !important;
    }

    #presidents-diary-swipper-responsive,
    #latest-news-responsive {
        display: block !important;
    }
}

main .container .presidents-diary #latest-news .title h3,
.news-card .description h4,
.latest-news-list li a div .news-title {
    font-weight: normal;
}

.latest-news-list li a div:not(.news-image-thumb) {
    width: 220px !important;
}

.latest-news-list li a .news-image-thumb {
    max-width: 90px;
    padding: 8px 0;

    display: flex;
    align-items: center;
}

.latest-news-list li a .news-image-thumb img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: contain;
}

.latest-news-list li a button {
    position: inherit;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: auto;
    min-height: 34px;
}

/* search bar for mobile */
/* Genel stil */
.search-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 44px;
}

.search-toggle-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #fff;
}

.search-form-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    height: 44px;
    display: flex;
    align-items: center;
}

.search-form-container form {
    width: 100%;
    height: 36px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: white;
    border-radius: 6px;
}

.search-form-container.active {
    width: 270px;
}

.search-input {
    flex: auto;
    border: none;
    padding: 6px 9px;
    outline: none;
}

.search-btn,
.close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 6px;
}

/* Mobil iÃ§in */
@media (max-width: 768px) {
    .search-container {
        display: flex;
    }

    #footer .container .wrapper {
        flex-direction: column;
    }

    #footer .container .wrapper .wrapper__left,
    #footer .container .wrapper .wrapper__right {
        width: 100%;
    }
}

/* not found page design */
.not-found-container {
    text-align: center;
    min-height: 60vh;
    padding: 100px 20px;
    width: 100%;
}

.not-found-container h1 {
    font-size: 8rem;
    margin: 0;
    color: #110022;
    text-shadow: 0 4px 10px rgb(17, 0, 34, .5);
}

.not-found-container p {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #ddd;
}

.home-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1rem;
    color: #fff;
    background-color: #110022;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.home-btn:hover {
    background-color: #1f003e;
    transform: scale(1.05);
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
}

@media only screen and (max-width: 1200px) {
    .mySwiper-presidents-diary-responsive {
        height: 250px !important;
    }

    .mySwiper-home-banner .swiper-wrapper .swiper-slide img,
    .mySwiper-presidents-diary-responsive .swiper-wrapper .swiper-slide img {
        -o-object-fit: contain;
        object-fit: contain;
    }
}

/* metbuat banner */
.right-default-category-box {
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
}

.right-default-category-box a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-default-category-box a img {
    width: 100%;
    object-fit: contain;
}

/* Mobil iÃ§in */
@media (max-width: 768px) {
    .right-default-category-box {
        max-width: 100% !important;
        margin: 50px 0 -30px;
    }
}

#categories .category-card {
    min-height: 370px;
}

#home-banner img {
    -o-object-fit: cover !important;
    object-fit: cover !important;
}