/* Google Font Import Example for Inter */

@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
body {
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
}

@font-face {
    font-family: 'Sony Sketch';
    src: url('../fonts/Sony_Sketch.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media (min-width: 1400px) {
    .container {
        max-width: 95%;
    }
}

h1,
h2,
h3,
.heading-class {
    font-family: 'Sony Sketch', cursive;
}

.border-theme-dark {
    border-color: #1D0C86 !important;
}

.text-theme-secondary {
    color: #1D0C86 !important;
}

.text-theme-primary {
    color: #A100FF;
}

.vh-50 {
    height: 50vh;
}

.vh-30 {
    height: 30vh;
}

.dropdown-item.active,
.dropdown-item:active {
    background: linear-gradient(135deg, rgba(81, 45, 168, 0.75), rgba(161, 0, 255, 0.45));
}

.carousel-bg-slide {
    height: 70vh;
    /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #001837 9.72%, rgba(0, 0, 0, 0.05) 90.04%);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    position: relative;
    font-size: 1.25rem;
}

.carousel-caption h2,
.carousel-caption p {
    color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    z-index: 3;
}

.carousel-overlay {
    pointer-events: none;
    z-index: 1;
}

a.text-white:hover {
    color: #fff;
    text-decoration: none;
}

.featured-block {
    height: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-size 0.5s ease;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
}

.featured-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background-size: 110%;
}

.featured-block .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #001837 9.72%, rgba(0, 0, 0, 0.05) 90.04%);
    transition: background 0.3s ease;
    z-index: 1;
    border-radius: inherit;
}

.featured-block:hover .overlay {
    background: linear-gradient(135deg, rgba(81, 45, 168, 0.85), rgba(161, 0, 255, 0.85));
}

#v-tabs .nav-link {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    background: linear-gradient(to right, #243B55, #141E30);
    /* subtle background */
    color: #fff !important;
    transition: all 0.3s ease;
}

#v-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#v-tabs .nav-link.active {
    background: #673AB7;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #512DA8, #673AB7);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #512DA8, #673AB7);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: white !important;
    border-color: transparent;
    box-shadow: none;
}

#v-tabs .nav .nav-item button.active::after {
    content: "";
    border-right: 0px solid #ff00b1;
    height: 100%;
    position: absolute;
    right: -1px;
    top: 0;
    border-radius: 5px 0 0 5px;
}

.tab-content {
    background: #141E30;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #243B55, #141E30);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #243B55, #141E30);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

@media (max-width: 767.98px) {
    #v-tabs .nav .nav-item button.active::after {
        border-right: none;
        border-bottom: 4px solid var(--bs-danger);
        width: 100%;
        height: 4px;
        top: auto;
        bottom: -2px;
        right: 0;
        left: 0;
        border-radius: 0 0 5px 5px;
    }
}


/* Base: mobile-first */

.contact-block {
    position: static;
    margin-top: 1rem;
    width: 100%;
}


/* Apply overlap only for large screens */

@media (min-width: 992px) {
    .contact-block {
        position: absolute;
        left: -6%;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        z-index: 2;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(3px);
    }
    .contact-block.reverse {
        left: auto;
        right: -10%;
    }
}

.bg-footer {
    background: linear-gradient(135deg, #3F0D98 0%, #A100FF 100%);
}

.bg-theme-primary {
    background-color: #A100FF;
}

.bg-theme-secondary {
    background-color: #1D0C86;
}

.footer-widget ul {
    list-style: none;
    padding-left: 0;
}

.footer-widget ul li {
    margin-bottom: 4px;
    word-break: break-word;
    /* Prevents long words from breaking layout */
}

.footer-widget a {
    color: #ccc;
    text-decoration: none;
}

.footer-widget a:hover {
    color: #fff;
    text-decoration: underline;
}

.legal-info {
    color: #ccc;
}


/* Base Input Styling */

input[type="email"],
input[type="number"],
input[type="password"],
input[type="select"],
input[type="tel"],
input[type="text"],
select,
textarea {
    background-color: #fcf7ff;
    color: #333;
    border: 1px solid #A100FF;
    width: 100%;
    padding: 0.75em 1em;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(161, 0, 255, 0.05);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1D0C86;
    box-shadow: 0 0 0 4px rgba(29, 12, 134, 0.15);
}


/* Select adjustments */

select {
    -webkit-appearance: none;
    /* for Chrome/Safari */
    -moz-appearance: none;
    /* for Firefox */
    appearance: none;
    background-color: #fcf7ff;
    color: #333;
    border: 1px solid #A100FF;
    border-radius: 8px;
    padding: 0.75em 1em;
    width: 100%;
    font-size: 1rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%231D0C86' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1em;
}


/* Submit Button Styling */

input[type="submit"],
button[type="submit"],
.theme-cta {
    display: inline-block;
    padding: 0.75em 2em;
    background: linear-gradient(135deg, #512DA8, #A100FF);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(81, 45, 168, 0.3);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}


/* Hover effect */

input[type="submit"]:hover,
button[type="submit"]:hover,
.theme-cta:hover {
    background: linear-gradient(135deg, #1D0C86, #A100FF);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(161, 0, 255, 0.4);
    cursor: pointer;
    color: #fff;
}


/* Responsive adjustments */

@media (max-width: 576px) {
    input[type="submit"],
    button[type="submit"],
    .theme-cta,
    .theme-cta-alt {
        width: 100%;
        font-size: 1rem;
        padding: 0.75em 1.25em;
        text-align: center;
    }
}

.theme-cta-alt, .wp-block-button__link {
    display: inline-block;
    padding: 0.75em 2em;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(81, 45, 168, 0.3);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.theme-cta-alt:hover, .wp-block-button__link:hover {
    background: linear-gradient(135deg, #1D0C86, #A100FF);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(161, 0, 255, 0.4);
    cursor: pointer;
    color: #fff;
}

.contact-form sup {
    color: #ff00b1;
}

@media all and (max-width:991px) {
    a,
    h1,
    h2,
    h3,
    h3 {
        word-wrap: break-word;
    }
    .d-small-none {
        display: none
    }
    .carousel-caption {
        left: 0;
    }
    .dropdown-item {
        border-bottom: 1px solid #000;
    }
	.dropdown-item {
	  white-space: normal;
	  padding-right: 1rem;
	  padding-left: 1rem;
	}
	.carousel-caption p{
		font-size:12px;
	}
}

@media all and (min-width:991px) {
    .d-large-none {
        display: none
    }
}

@media (min-width: 1200px) {
    body {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 3rem;
    }
    h3 {
        font-size: 2rem;
    }
    .carousel-caption {
        background: linear-gradient(0deg, #001837 9.72%, rgba(0, 0, 0, 0.05) 90.04%);
    }
    .bg-menu-cta {
        display: inline-block;
        padding: 0 1rem;
        margin: 0 1rem;
        background: linear-gradient(135deg, #512DA8, #A100FF);
        color: #fff !important;
        border: none;
        border-radius: 50px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(81, 45, 168, 0.3);
        text-decoration: none;
        text-align: center;
        white-space: nowrap;
    }
    /* Hover effect */
    .bg-menu-cta:hover {
        background: linear-gradient(135deg, #1D0C86, #A100FF);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(161, 0, 255, 0.4);
        cursor: pointer;
        color: #fff !important;
    }
    .bg-menu-cta>.nav-link {
        color: #fff !important;
    }
}

@media (min-width: 1921px) {
    body,
    p,
    .theme-cta,
    .theme-cta-alt,
    #v-tabs .nav-link {
        font-size: 1.2vw;
    }
    h2 {
        font-size: 3vw;
    }
    h3 {
        font-size: 2vw;
    }
    h4 {
        font-size: 1.5vw;
    }
    .social svg {
        width: 1.2vw !important;
        height: auto;
    }
}

.archive-article a {
    color: inherit;
    text-decoration: none;
}

.bg-archive-article {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}

.social svg {
    width: 24px !important;
    height: 24px !important;
    fill: #fff;
    transition: fill 0.3s ease;
}

.social a:hover svg {
    fill: #A100FF;
}

.author-box {
    background: #f9f3ff;
    border-left: 5px solid #A100FF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(81, 45, 168, 0.15);
}

.author-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.author-box:hover .author-img img {
    transform: scale(1.05);
}

.author-info h5 {
    color: #1D0C86;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info p {
    font-size: 0.95rem;
    color: #333;
}

.category-search-form input[type="text"] {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

.category-search-form .btn {
    background: linear-gradient(135deg, #512DA8, #A100FF);
    border: none;
    border-radius: 50px;
    font-weight: 600;
}

.tag-filter ul {
    padding-left: 0;
    margin: 0;
}

.tag-filter a {
    background-color: #f4f4f4;
    color: #333;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tag-filter a:hover {
    background: linear-gradient(135deg, #512DA8, #A100FF) !important;
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(161, 0, 255, 0.2);
}

.block-link:hover {
    background: linear-gradient(135deg, #512DA8, #A100FF);
    color: #fff !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.block-link h2,
.block-link div {
    transition: color 0.3s ease;
}

.block-link:hover h2,
.block-link:hover div {
    color: #fff !important;
}

.block-link:hover div {
    color: #fff !important;
    text-decoration: underline;
}

.bg-records {
    background: #6190E8;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #A7BFE8, #6190E8);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #A7BFE8, #6190E8);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}


@media (max-width: 781px) {
    .records-block>.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 40% !important;
    }
	 .wp-block-column.certified.is-layout-flow.wp-block-column-is-layout-flow {
        flex-basis: 26% !important;
    }
}

ul.page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.page-numbers li {
  display: inline-block;
}

.page-numbers a,
.page-numbers span {
  display: inline-block;
  padding: 0.5em 1em;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  color: #512DA8;
  border: 1px solid #ccc;
  border-radius: 50px;
  background: #fff;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
}

.page-numbers a:hover {
  background: linear-gradient(135deg, #512DA8, #A100FF);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(161, 0, 255, 0.25);
}

.page-numbers.current,
.page-numbers.current:hover {
  background: linear-gradient(135deg, #512DA8, #A100FF);
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

.tag-filter {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 5px; /* for scrollbar spacing */
}

/* Optional: better scrollbar for WebKit */
.tag-filter::-webkit-scrollbar {
  width: 6px;
}
.tag-filter::-webkit-scrollbar-thumb {
  background-color: #A100FF;
  border-radius: 3px;
}

