/* 
 Theme Name:   arile-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     arilewp
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/
html {
    font-size: 16px !important;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    clear: none !important;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
    clear: none !important;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
    clear: none !important;
}

p {
    margin-bottom: 0.5rem !important;
    padding-bottom: 0 !important;
    font-size: 1rem !important;
}

section {
    padding: 15px 0;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
}

.theme-blog .post {
    background-color: unset !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 0;
    transition: all 0.5s;
}

.theme-blog .post:hover {
    box-shadow: none !important;
}

.title {
    margin-bottom: 15px;
}

.title h2 {
    color: #836907;
}

.navbar .nav .menu-item:hover .nav-link,
.navbar .nav .menu-item.active .nav-link,
.navbar .nav .menu-item .nav-link:focus {
    color: #836907 !important;
}

.page-scroll-up a,
.page-scroll-up a:hover,
.page-scroll-up a:active {
    background: #836907 !important;
}

.cust-bg {
    background: #f4f5e0 !important;
    padding: 11px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* blog  */

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 15px;
}

.blog-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    font-size: 1.4rem;
}

.blog-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.read-more-btn {
    background: linear-gradient(45deg, #836907, #534307);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.read-more-btn:hover {
    background: linear-gradient(45deg, #836907, #836907);
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

.read-more-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
    transform: translateX(3px);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: #2c3e50;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .blog-section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 1.25rem;
    }
}

.box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
}

.img_el {
    padding: 60px 0;
    position: relative;
    margin-top: 17px;
}

.img_el:before {
    content: "";
    background: color-mix(in srgb, #00000091, transparent 30%);
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 17px;
}

.img_el .img_el-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("/wp-content/themes/arile-child/assets/img/justice.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: 17px;
}

.img_el .container {
    position: relative;
    z-index: 3;
}

.img_el .container h2,
.img_el .container p {
    color: white !important;
}

.img_el .container h3 {
    color: #EF8A54;
}

.box-first,
.box-second {
    background-color: #e7e9ebde;
    padding: 17px 15px
}

.box-second {
    background-color: #c5c5c5de
}

@media (min-width:767px) {
    .box-first {
        border-top-left-radius: 21px;
        border-bottom-left-radius: 21px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none
    }

    .box-second {
        border-top-right-radius: 21px;
        border-bottom-right-radius: 21px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0
    }
}

@media (max-width:767px) {
    .box-first {
        border-radius: 21px 21px 0 0
    }

    .box-second {
        border-radius: 0 0 21px 21px
    }
}

.theme-page-header-area .overlay {
    background: linear-gradient(135deg, #836907 0%, #afb18f 100%);
}

@media (max-width: 991px) {
    .navbar-light .navbar-toggler {
        float: right !important;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: 0 !important;
    }
}

.example-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.example-list li {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 11px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #836907;
}

.example-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.example-list li:last-child {
    margin-bottom: 0;
}

.example-image {
    margin-right: 20px;
}

.example-content {
    flex: 1;
    line-height: 1.6;
    color: #495057;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .example-list li {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }

    .example-image {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
}

.table-responsive-custom {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .table-responsive-custom {
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

.tg {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    min-width: 600px;
    /* Ensures table doesn't shrink too much */
}

.tg td {
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
    padding: 12px 8px;
    word-break: normal;
    white-space: nowrap;
}

.tg th {
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    padding: 12px 8px;
    word-break: normal;
    background-color: #f8f9fa;
    white-space: nowrap;
}

.tg .tg-0lax {
    text-align: left;
    vertical-align: top;
}

@media (max-width: 768px) {

    .tg td,
    .tg th {
        font-size: 12px;
        padding: 8px 6px;
    }
}

.flex-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 25px;
    list-style-position: inside;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: white;
    padding: 21px;
    border-radius: 20px;
    height: 100%;
}

.section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    outline: none;
}

.btn-submit {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Newsletter Styles */
.newsletter-wrapper {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-icon {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.newsletter-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.newsletter-form {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    border: none;
    border-radius: 0;
    padding: 15px 20px;
    font-size: 1rem;
    flex: 1;
}

@media screen and (max-width: 768px) {
    .newsletter-input {
        width: 100% !important;
    }
}

.newsletter-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.btn-subscribe {
    background: #28a745;
    color: white;
    border: none;
    padding: 15px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: #218838;
}

.newsletter-benefits {
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.check-icon {
    background: #28a745;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 15px 0;
    }

    .contact-form-wrapper,
    .newsletter-wrapper {
        padding: 15px 14px;
    }

    .section-title {
        font-size: 2rem;
    }

    .input-group {
        flex-direction: column;
        border-radius: 10px;
    }

    .newsletter-input,
    .btn-subscribe {
        border-radius: 10px;
    }

    .btn-subscribe {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .newsletter-wrapper {
        margin-top: 30px;
    }
}

.widget_archive li,
.widget_categories li,
.widget_links li,
.widget_meta li,
.widget_nav_menu li,
.widget_pages li,
.widget_recent_comments li,
.widget_recent_entries li {
    padding-bottom: 0 !important;
}


.sidebar .widget ul {
    padding: 1rem 0.5rem 1rem !important;
}

.widget {
    margin: 0 0 1rem !important;
}

.sidebar .widget_text .textwidget {
    padding: 1rem 1.000rem 1rem !important;
}

.sidebar .widget .widget-title,
.sidebar .widget .wp-block-heading {
    border-top: 3px solid #836907 !important;
}

.widget_pages li a {
    color: #836907 !important;
}

.blog-card h3 {
    font-size: clamp(1.3rem, 3vw, 1.5rem) !important;
}

.site-footer {
    background: linear-gradient(135deg, #836907 0%, #2d2e16 100%);
    color: white !important;
    border-top: 3px solid #836907 !important;
    border-bottom: 3px solid #836907 !important;
}

.site-footer a {
    color: #c5e705;
}

.theme-error-page .error-title b,
.theme-error-page .error-title i {
    color: #836907 !important;
}

.theme-error-page .error-title i {
    font-size: 5rem !important;
}