
.component-rounded {
    border-radius: 30px;
}

.btn-round {
    border-radius: 50px;
}

.component-round {
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    aspect-ratio: 1/1;
}

.component-round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.component-rounded-post {
    border-radius: 30px;
}

.component-rounded-top {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.component-rounded-left {
    border-top-left-radius: 30px !important;
    border-bottom-left-radius: 30px !important;
}

.component-rounded-right {
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
}

.hide-overflow {
    scrollbar-width: none;
}

.hide-overflow::-webkit-scrollbar {
    display: none;
}

.btn-dark {
    background-color: #031F2C;
}

.btn-pink {
    background-color: #FF9C6D;
    font-weight: 700;
}

.btn-pink:hover {
    background-color: #ffb390;
    font-weight: 700;
}

.btn-white {
    background-color: #FFFFFF;
    color: #031F2C;
    border: rgba(0, 0, 0, 0.1) 1px solid;
}

.text-pink {
    color: #FF9C6D;
}

.b-pink {
    background-color: #FF9C6D;
}

.login-border {
    border: rgba(0, 0, 0, 0.1) 1px solid;
    height: 100%;
}

.btn-white:hover {
    background-color: #F2F5F3;
    border: rgba(0, 0, 0, 0.1) 1px solid;
}

a {
    color: #031F2C;
    transition: 0.2s;
}

a svg g path {
    transition: 0.3s;
}

a svg:hover g path {
    fill: #FF9C6D;
}

.btn-popout {
    transition: 0.3s;
}

.btn-popout:hover {
    transform: scale(1.1);
}

.active svg g path {
    fill: #FF9C6D;
}

.btn-hover-pink:hover {
    background-color: #FF9C6D;
    font-weight: 700;
}

a i {
    font-size: 25px !important;
}

.active svg:hover g path {
    fill: white;
}

a:hover {
    color: #FF9C6D;
}

.best-posts-title {
    margin-top: 30px;
}

.index-title {
    min-height: 450px;
}

.b-light-grey {
    background-color: #F2F5F3;
}

.b-dark-grey {
    background-color: #C0CDC4;
}

.b-dark-grey:hover {
    background-color: #AAB7B0;
}

.index-bar {
    min-height: 110px;
}

.index-image {
    height: auto;
    max-width: 100%;
    position: relative;
    bottom: -15px;
}

.font-700 {
    font-weight: 700;
}

.w-30 {
    width: 30%;
}

@media (max-width: 992px) {
    .full-on-mobile {
        max-width: 100%;
    }
    .component-rounded-post {
        border-radius: 0;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

@media (min-width: 992px) {
    .b-lg-white {
        background-color: #FFFFFF;
    }
}

input[type='radio']:checked {
    background-color: #C0CDC4;
    border-color: white;
}

.form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: none;
}

.content {
    min-height: 53vh;
}

.px-8 {
    padding-left: 8rem;
    padding-right: 8rem;
}

.searchby {
    width: 15rem;
}

.cursor-pointer {
    cursor: pointer;
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;

    padding-top: 56.25%;

    border-radius: .25rem;
}

.blog-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

.blog-card-summary {
    flex-grow: 1;
}

.blog-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    white-space: pre-wrap;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.input-group.d-lg-none .btn {
    transform: translateX(-40px);
    z-index: 5;
}

.ad-banner {
    --ad-radius: 30px;
    --ad-bg: #fff;
    --ad-fit: contain;
    margin: 1.25rem 0;
}
.ad-banner a { display: block; }

.ad-image-wrapper{
    background: var(--ad-bg);
    border-radius: var(--ad-radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.ad-image-wrapper > img{
    width: 100%;
    height: 100%;
    object-fit: var(--ad-fit);
    object-position: center;
    display: block;
}

.ad-banner-horizontal .ad-image-wrapper{
    aspect-ratio: 21 / 9;
    max-height: 120px;
}

.ad-banner-vertical .ad-image-wrapper{
    aspect-ratio: 3 / 5;
    max-height: 320px;
}

.ad-fit-cover  { --ad-fit: cover; }
.ad-fit-contain{ --ad-fit: contain; }

@media (max-width: 576px){
    .ad-banner-horizontal .ad-image-wrapper{ max-height: 100px; }
    .ad-banner-vertical   .ad-image-wrapper{ max-height: 260px; }
}

@media print { .ad-banner { display: none !important; } }

.document-upload {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: .375rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

.document-upload:hover {
    border-color: #FF9C6D;
    background-color: #FFF5F2;
}

.document-upload.dragover {
    border-color: #0d6efd;
}

.document-upload-preview {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid #eee;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
}

.document-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}

.animal-form-entry {
    position: relative;
    border: 1px solid #FF9C6D !important;
    border-radius: 1rem;
    box-shadow: 0 4px 12px #dbd2ce;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #FF9C6D;
    color: #ffffff;
    border-radius: 50rem;
    border: 1px solid transparent;
}

.nav-pills .nav-link {
    color: #FF9C6D;
    border: 1px solid #FF9C6D;
    border-radius: 50rem;
    margin: 0 5px;
}

.nav-pills .nav-link:not(.active):hover {
    background-color: #fcaf8b;
}

.btn-action-group {
    min-width: 210px;
    margin: 0 2px 5px 2px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    transition: transform 0.2s ease-in-out;
}

.btn-action-group:hover {
    transform: translateY(-2px);
}

.ad-image-wrapper img { display:block; }

.payload {
    position:fixed;
    inset:0;
    z-index:2000;
    display:none
}

.payload.show {
    display:block
}

.payload__backdrop {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(6px)
}

.payload__dialog {
    position:relative;
    z-index:1;
    max-width:420px;
    margin:15vh auto 0;
    padding:32px;
    border-radius:16px;
    text-align:center;
    background:rgba(255,255,255,.95);
    box-shadow:0 10px 40px rgba(0,0,0,.2)
}

.payload__anim {
    width:120px;
    height:120px;
    margin:0 auto 12px
}

.payload__text {
    margin:8px 0 0;
    font-weight:600;
    color:#333
}

.body-no-scroll {
    overflow:hidden
}

.rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: .25rem;
    align-items: center;
}
.rating-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.rating-stars .star svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    color: #9da3af;
    transition: color .12s ease, fill .12s ease;
}
.rating-stars .star:hover svg,
.rating-stars .star:hover ~ .star svg {
    fill: currentColor;
    color: #111827;
}
.rating-stars input:checked ~ .star svg {
    fill: currentColor;
    color: #111827;
}
.post-actions { padding-top: .25rem; padding-right: .25rem; }

.badge-soft {
    --bs-badge-padding-x: .6rem;
    --bs-badge-padding-y: .20rem;
    --bs-badge-font-size: .90rem;
    --bs-badge-font-weight: 500;
    border: 1px solid transparent;
    border-radius: 9999px;
    line-height: 1.1;
}
.badge-soft-success {
    background: rgba(25, 135, 84, .08);
    color: #198754;
    border-color: rgba(25, 135, 84, .15);
}
.badge-soft-warning {
    background: rgba(255, 193, 7, .10);
    color: #7a5b00; /* darker amber text */
    border-color: rgba(255, 193, 7, .2);
}
.badge-soft i { font-size: .8em; margin-right: .3em; }


.delete-x{
    border: 0;
    background: transparent;
    color: #dc3545;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 0 0 .25rem;
    cursor: pointer;
}
.delete-x:hover,
.delete-x:active { color: #dc3545; background: transparent; }
.delete-x:focus { outline: none; box-shadow: none; }

.blog-gallery__frame { background: #f8f9fa; }
.blog-gallery__caption { word-break: break-word; }

.blog-gallery__progress {
    height: 4px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
}
.blog-gallery__progress-bar {
    height: 100%;
    width: 0%;
    background: #ff9c6d;
    transition: width .3s ease;
}

.blog-gallery-thumbs .thumb { opacity: .6; transition: opacity .2s ease; border-radius: .5rem; }
.blog-gallery-thumbs .thumb.is-active { opacity: 1; box-shadow: 0 0 0 .125rem rgba(255,156,109,.35); }

.carousel .carousel-control-prev,
.carousel .carousel-control-next { opacity: 1; }

.carousel .carousel-control-prev-icon,
.carousel .carousel-control-next-icon {
    width: 2.75rem;
    height: 2.75rem;
    background-color: rgba(0,0,0,.55);
    border-radius: 50%;
    background-size: 55% 55%;
    filter: invert(1);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next { opacity: 1; }

@media (max-width: 768px) {
    .ad-banner {
        margin: 1rem 0;
    }

    .ad-placeholder {
        padding: 1.5rem;
        min-height: 100px;
    }

    .ad-banner-sidebar .ad-placeholder {
        min-height: 150px;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-collapse .navbar-nav {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .navbar .navbar-collapse .navbar-nav .nav-item {
        padding: 0 !important;
        margin: 0 !important;
    }
    .navbar .navbar-collapse .navbar-nav .nav-link {
        display: inline-block;
        padding: .75rem 0 !important;
    }
    .navbar .navbar-collapse .dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center;
    }
}

