
/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Hide all images */
#digital-tabs{
	z-index: 0;
}    


#digital-tabs .elementor-widget-image{
  display:none;
}
div#digital-tabs .elementor-widget-icon-box {
    cursor: pointer;
}
/* Show active image */
#digital-tabs .elementor-widget-image.active{
	display:block;
	transition: opacity .6s ease, transform .6s ease;
	transform: scale(1.03);
	z-index: -9;
}

/* Base style for all content blocks */
#digital-tabs [class^="content-"]{
  cursor:pointer;
  padding:15px 20px;
  transition:all .3s ease;
}

/* LEFT SIDE ITEMS (1-3) */
#digital-tabs .content-1,
#digital-tabs .content-2,
#digital-tabs .content-3{
  border-right:4px solid transparent;
}

#digital-tabs .content-1.active,
#digital-tabs .content-2.active,
#digital-tabs .content-3.active{
  border-right:4px solid #0d7bc6;
}

/* RIGHT SIDE ITEMS (4-6) */
#digital-tabs .content-4,
#digital-tabs .content-5,
#digital-tabs .content-6{
  border-left:4px solid transparent;
}

#digital-tabs .content-4.active,
#digital-tabs .content-5.active,
#digital-tabs .content-6.active{
  border-left:4px solid #0d7bc6;
}



/* Location pages CSS */


table.branch-detail-table td, table.branch-detail-table th {
    border: none;
    background: transparent !important;
    padding: 8px;
    font-size: 14px;
    color: #000;
}
table.branch-detail-table {
    margin-bottom: 0px;
}
table.branch-detail-table tr:first-child td {
    font-weight: 600;
}


/* Custom Model CSS */

 .ext-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ext-modal.active {
  display: flex;
}

.ext-modal-content {
    background: #fff;
    width: 400px;
    max-width: 90%;
    padding: 24px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 15px -3px #0000001a;
}

.ext-modal-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.ext-modal-content p {
    font-size: 14px;
    line-height: 21px;
    color: #000000;
}

.ext-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 12px;
    cursor: pointer;
    color: #000000;
}

.ext-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
	    font-size: 14px;
}

.ext-cancel {
  color: #d9534f;
  text-decoration: none;
  font-weight: 500;
}

.ext-continue {
    background: #0d7bc6;
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}
.ext-actions a.ext-cancel {
    color: #d64040;
}

a.ext-continue:hover {background: #0c71be;color: #fff;}
.direction-model {
    cursor: pointer;
}




/* Filter UI */
.blog-filter-form {
  display: flex;
  gap: 16px;
  padding: 20px;
  flex-wrap: nowrap;
  align-items: center;
}

.blog-filter-form select,
.blog-filter-form input {
  padding: 10px;
  border-radius: 6px;
  border: none;
  min-width: 150px;
}

/* Blog Grid */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 20px 0;
}

.blog-card {
  flex: 0 0 calc(33.333% - 24px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid #d1d5dc;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.blog-card > a {
  display: flex;
}

.blog-card-content {
  padding: 24px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d1d5dc;
  background-color: #f8f8f8;
}

.blog-card-date {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 400;
}

.blog-card-title {
  font-size: 18px;
  line-height: 1.5;
  color: #002554 !important;
  font-weight: 400 !important;
  margin: 0;
}

.blog-card-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: #0D7BC6;
}

#blog-results{
padding: 0px 20px;
}
#search-btn {
  background: #0D7BC6;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 10px 30px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

#search-btn:hover {
  background: #0a6ab0;
}

#filter-category {
  width: 20%;
  outline: none;
  min-width: 150px;
}

#filter-year {
  width: 20%;
  outline: none;
  min-width: 120px;
}

#live-search {
  outline: none;
  flex: 1;
  min-width: 200px;
}

.blog-no-results {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 18px;
}

/* ====================================
   TABLET RESPONSIVE (768px - 1024px)
   ==================================== */
@media screen and (max-width: 1024px) {
  .blog-grid {
    gap: 24px;
  }
  
  .blog-card {
    flex: 0 0 calc(50% - 12px);
  }
  
  .blog-filter-form {
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  #filter-category {
    width: calc(50% - 6px);
  }
  
  #filter-year {
    width: calc(50% - 6px);
  }
  
  #live-search {
    width: 100%;
    min-width: 200px;
  }
  
  #search-btn {
    width: 130px;
  }
}

/* ====================================
   MOBILE RESPONSIVE (max 767px)
   ==================================== */
@media screen and (max-width: 767px) {
  .blog-filter-form {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  
  .blog-filter-form select,
  .blog-filter-form input,
  #search-btn {
    width: 100%;
    min-width: 100%;
    padding: 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  #filter-category,
  #filter-year {
    width: 100%;
  }
  
  .blog-grid {
    gap: 16px;
    padding: 16px 0;
  }
  
  .blog-card {
    flex: 0 0 100%;
  }
  
  .blog-card-image {
    height: 180px;
  }
  
  .blog-card-content {
    padding: 16px 12px;
  }
  
  .blog-card-title {
    font-size: 16px;
  }
  
  .blog-card-date {
    font-size: 11px;
  }
  
  .blog-no-results {
    padding: 30px 16px;
    font-size: 16px;
  }
}

/* ====================================
   SMALL MOBILE (max 480px)
   ==================================== */
@media screen and (max-width: 480px) {
  .blog-filter-form {
    padding: 12px;
    gap: 10px;
  }
  
  .blog-grid {
    gap: 12px;
    padding: 12px 0;
  }
  
  .blog-card {
    border-radius: 8px;
  }
  
  .blog-card-image {
    height: 160px;
  }
  
  .blog-card-content {
    padding: 12px 10px;
  }
  
  .blog-card-title {
    font-size: 15px;
    line-height: 1.4;
  }
  
  #search-btn {
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* ====================================
   LANDSCAPE MODE (Mobile)
   ==================================== */
@media screen and (max-width: 767px) and (orientation: landscape) {
  .blog-card {
    flex: 0 0 calc(50% - 8px);
  }
  
  .blog-card-image {
    height: 140px;
  }
}
    
.custom-share-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
}

.custom-share-icons .share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #000;
    transition: 0.3s ease;
}

.custom-share-icons .share-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.custom-share-icons .share-icon:hover {
	opacity: 0.6;
}


@media screen and (max-width: 767px) {

.blog-grid {
    flex-direction: column;
    padding: 40px 0px 40px 0px;
}

div#blog-results {
    padding: 0px 20px;
}

.blog-filter-form {
    flex-direction: column;
    max-width: 340px;
    margin: 0 auto;
}

#filter-category {
    width: 100%;
}

#filter-year {width: 100%;}

}