@media only screen and (max-width: 1920px) {
}

@media only screen and (max-width: 1850px) {
}

@media only screen and (max-width: 1600px) {
}

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

  .areas-grid.remaining-posts {
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 20px;
    grid-column-gap: 30px;
  }

  .search-form.active .search-field{
    width: 175px;
  }
  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 8px;
  }

  .login-btn {
    font-size: 16px;
  }

  .join-btn {
    font-size: 18px;
  }
  .prev-btn {
    left: 0.5%;
  }

  .next-btn {
    right: 0.5%;
  }

  .content-sidebar-section-wrapper.has-media {
    gap: 80px;
  }
}

@media only screen and (max-width: 1280px) {
  .heading2 {
    font-size: 42px;
  }
  .sit-header {
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .hero h1 {
    font-size: 56px;
  }
  .stat-value {
    font-size: 34px;
  }

  .content-sidebar-section-wrapper.has-media {
    gap: 60px;
  }
  .content-sidebar-section-wrapper {
    grid-template-columns: auto 400px;
  }
  .content-sidebar-section-wrapper.has-media {
    gap: 20px;
  }
  .coreValues-boxWrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .presidents-boxWrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .past-webinars-card-wrapper.col-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}

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

  .resource-content {
    gap: 30px;
  }

  .other-podcasts .podcast-list-item{
   flex-direction: column;
  }

  .other-podcasts .thumb-wrapper iframe {
    max-width: 100%;
    width: 100%;
    height: 300px;
  }

  .podcast-list-item-left {
    max-width: 100%;
  }

  .title-date-wrap .date {
    font-size: 16px;
  }

  .podcast-social-links {
    justify-content: center;
  }

  .video-grid{
    display: flex;
    flex-direction: column;
  }

  .video-card {
    padding: 30px 14px;
  }

  .video-title {
    font-size: 18px;
    margin-top: 30px;
  }

  .video-link {
    font-size: 14px;
  }
  
  .areas-grid.remaining-posts {
    grid-template-columns: 1fr 1fr;
  }
  .mec-district-event{
    flex-direction: column;
    align-items: flex-start;
  }
  .mec-event-details {
    flex-grow: 1;
    padding: 0;
  }
  .mec-event-location {
    margin: 16px 0;
  }
  .insurance-single .acf-wysiwyg img:not(.pdf-image):not(.side-image) {
    height: auto;
}
  .top-header {
    display: none;
  }
  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero {
    padding-top: 250px;
    padding-bottom: 180px;
  }

  .difference-section p.subtitle {
    font-size: 20px;
  }

  .player-header {
    flex-direction: column;
    padding: 20px;
  }

  .cover {
    max-width: 180px;
    height: 180px;
  }

  .episode-title {
    font-size: 20px;
    flex-wrap: wrap;
  }

  .show-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .player-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .audio-time {
    width: 100%;
  }

  .bottom-icon {
    align-items: flex-start;
    gap: 12px;
    padding-left: 0;
  }

  .right-image,
  .left-image {
    gap: 12px;
    flex-wrap: wrap;
  }

  .episode {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }

  .episode-right {
    gap: 20px;
    flex-wrap: wrap;
  }

  .episode-name,
  .episode-date,
  .episode-length {
    font-size: 18px;
  }

  .explore-btn {
    width: 100%;
    padding: 14px;
  }

  .swiper-button-lock {
    display: flex !important;
  }

  .fighting-content {
    flex-direction: column;
  }

  .fighting-content p {
    font-size: 18px;
  }

  .cta-section h3 {
    font-size: 22px;
    line-height: 150%;
  }

  .left-content {
    padding: 0;
  }

  .playIcon {
    width: 80px;
    height: 80px;
  }

  .content-sidebar-section-wrapper {
    grid-template-columns: 100%;
    gap: 0;
  }

  .video-wrapper video {
    width: 100%;
    max-width: 100%;
  }

  .left-content .content-block {
    width: 100%;
    max-width: 100%;
  }

  .mobile-explore-dropdown {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .mobile-explore-dropdown {
    display: block;
    width: 100%;
    margin: 24px 0px;
  }

  .mobile-explore-dropdown select {
    width: 100%;
    padding: 16px 16px;
    font-size: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
  }

  .mobile-sidebar {
    display: block;
    margin-top: 32px;
  }

  .submenu {
    display: none;
    padding-left: 24px;
  }

  .has-submenu.open .submenu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  .menu-header {
    cursor: pointer;
  }

  .menu-item .arrow {
    transition: transform 0.3s ease;
  }

  .has-submenu.open .arrow {
    transform: rotate(180deg);
  }

  .video-wrapper video {
    width: 100%;
    height: auto;
  }

  .buttons {
    flex-direction: column;
    gap: 16px;
  }

  .yellow-btn,
  .blue-btn {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }

  .inner-heading {
    font-size: 28px;
  }

  .inner-h3 {
    font-size: 30px;
  }

  .breadcrumb-section, .mec-events-template-default main {
    padding-top: 150px;
  }
  .breadcrumb-wrapper span {
    font-size: 14px;
  }
  .coreValues-boxWrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .text-content {
    font-size: 18px;
  }
  .presidents-boxWrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .members-left-content {
    width: 100%;
    max-width: 100%;
  }
  .insurance-card-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .insurance-card-title {
    font-size: 30px;
  }
  .insurance-directory-table .header {
    gap: 20px;
  }

  .past-webinars-card-wrapper.col-1 .past-webinars-card {
    max-width: 100%;
  }

  .past-webinars-title {
    font-size: 20px;
  }

  .past-webinars-month {
    font-size: 12px;
    padding: 6px;
    border-radius: 6px;
  }

  .insurance-webinars {
    max-width: 100%;
  }

  .playIcon {
    width: 80px;
    height: 80px;
  }

  .video-wrapper video {
    width: 100%;
    max-width: 100%;
  }

  .left-content .about-content {
    width: 100%;
    max-width: 100%;
  }
  .application-card-wrapper {
    gap: 24px;
  }
  .application-card-link{
    max-width: 100%;
    width: 100%;
  }
  .form-container {
    max-width: 100%;
  }

  .button-wrapper {
    width: 100%;
    justify-content: start;
  }

  .submit-btn {
    width: 100%;
  }
}

@media only screen and (max-width: 900px) {
  .news-section.plain .news-card.latest-card {
    padding: 24px 16px 18px 16px;
    gap: 24px;
  }
  .districts-single .news-grid{
    grid-template-columns: 1fr 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-grid.large{
    grid-template-columns: 1fr 1fr;
  }
  .right-news {
    grid-template-columns: 1fr;
  }

  .large-card img {
    height: 200px;
  }
}

@media only screen and (max-width: 768px) {
  .scholarship-section .responsive-table tbody tr td{
    display: block;
  } 
  .responsive-table, .empac-award, .acf-wysiwyg table{
    min-width: 100%;
    width: 100%;
  }
  .resource-box{
    max-width: 100%;
    width: 100%;
  }
  .news-grid.large{
    grid-template-columns: 1fr;
  }
  .video-thumbnail > img, .video-thumbnail iframe{
    height: 200px !important;
  }
  .seanc-logos{
    margin-top: 30px;
  }
  .seanc-logos-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .areas-grid.remaining-posts, .areas-grid.first-post {
    grid-template-columns: 1fr;
  }
  .areas-grid.remaining-posts {
    margin-top: 20px;
  }
  .areas-grid .area-box h4 {
    font-size: 24px;
  }
  .areas-grid .area-box p.seanc-district {
    font-size: 16px;
  }
  .districts-single .news-grid{
    grid-template-columns: 1fr 1fr;
  }
  .officer-grid{
    grid-template-columns: 1fr;
  }
  /* .search-form{
    display: none;
  } */
  .why-grid {
    display: grid;
    gap: 20px;
    row-gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 2fr));
  }
  .playIcon {
    width: 80px;
    height: 80px;
  }
  .text-overlay {
    padding: 0px 40px;
  }

  .text-overlay a {
    font-size: 16px;
    padding: 10px 12px;
  }

  .upcomingEvents-container p {
    font-size: 20px;
  }

  .custom-btn {
    width: 36px;
    padding: 10px 12px;
  }

  .custom-btn img {
    width: 18px;
    height: 18px;
  }

  .cover {
    max-width: 100px;
    height: 100px;
  }

  .player-section {
    padding: 20px 16px;
  }

  .title {
    font-size: 24px;
  }

  .subtitle {
    font-size: 16px;
  }

  .player-header {
    padding: 16px;
    gap: 16px;
  }

  .cover {
    width: 100%;
    height: auto;
  }

  .episode-title {
    font-size: 18px;
    flex-wrap: wrap;
  }

  .play-btn img {
    width: 48px;
    height: 48px;
  }

  .audio-time .start-time,
  .audio-time .duration {
    font-size: 14px;
  }

  .dots {
    width: 16px;
    height: 16px;
  }

  .episode {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .episode-name,
  .episode-date,
  .episode-length {
    font-size: 16px;
  }

  .episode-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bottom-icon {
    align-items: flex-start;
    gap: 12px;
    padding-left: 0;
  }

  .right-image,
  .left-image {
    gap: 10px;
    flex-wrap: wrap;
  }

  .explore-btn {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }

  .inner-heading {
    font-size: 24px;
  }

  .inner-h3 {
    font-size: 26px;
  }

  .breadcrumb-wrapper span {
    font-size: 12px;
  }

  .Staff-card-wrapper {
    justify-content: center;
  }

  .text-content {
    font-size: 16px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .timeline-item::after,
  .timeline-item::before {
    content: none;
    /* Adjust line closer to left edge */
  }

  .timeline-decade {
    position: relative;
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .timeline-content {
    width: 100%;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }

  .timeline-content ul {
    padding-left: 1rem;
    gap: 10px;
  }

  /* Hide the SVG connector on mobile */
  .timeline-item svg {
    display: none;
  }
  .inner-paragraph .btn {
    font-size: 16px;
    padding: 12px 16px;
  }
  .inner-paragraph:has(.btn) {
    flex-direction: column;
    gap: 16px;
  }
  .insurance-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance-card-title {
    font-size: 28px;
  }

  .insurance-card .accidentBgImage {
    width: 120px;
    height: 120px;
  }
  .accordion-section .accordion-content {
    gap: 24px;
  }
  .responsive-table th,
  .responsive-table td {
    font-size: 16px;
  }

  .header {
    gap: 16px;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 1rem;
    background: #f9fbff;
    border-radius: 6px;
    padding: 1rem;
  }

  .responsive-table td {
    display: flex;
    border: none;
    border-bottom: 1px dashed #ccc;
    padding: 0.6rem 0;
  }

  .responsive-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #004999;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }

  .past-webinars-card-wrapper {
    margin-top: 20px;
  }

  .past-webinars-card .video-wrapper {
    max-width: 400px;
    width: 100%;
    height: 250px;
  }

  .top-heading {
    flex-direction: column;
  }

  .video-wrapper {
    height: 400px;
  }

  .past-webinars-card {
    padding: 24px 18px;
  }

  .search-form .search-field{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 8px;
  }

  .search-form.active .search-field{
    border-radius: 8px;
    width: 100%;
  }
  .search-form.active .search-btn{
    border-radius: 8px;
  }

  .search-form{
    position: static;
  }
  
}

@media only screen and (max-width: 640px) {
  .Seancvideo-wrapper{
    height: 350px !important;
    aspect-ratio: 1122 / 350;
  }
  .Seancvideo-wrapper iframe{
    height: 350px !important;
  }
  .districts-single .news-grid{
    grid-template-columns: 1fr;
  }
  .heading2 {
    font-size: 34px;
  }
  #toggleopen {
    border-radius: 0px 0px 12px 12px;
  }

  .sit-header {
    border-radius: 12px;
    padding: 16px;
  }

  .mobile-toggle {
    border-radius: 12px 12px 0px 0px;
  }

  .desktop-view .btn {
    display: none;
  }

  .desktop-view .theme-toggle {
    display: flex;
    height: 40px;
    padding: 6px 10px;
    border-radius: 6px;
  }

  .desktop-view .search-btn {
    display: flex;
    height: 40px;
    padding: 6px 10px;
    border-radius: 6px;
  }

  .desktop-view .search-btn svg{
    width: 16px;
    height: 16px;
  }

  .mobile-toggle-icon {
    width: 30px;
    height: 30px;
  }

.mobile-view .theme-toggle {
    display: none;
}

.mobile-toggle {
    display: flex;
}

  .mobile-view {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .logo img {
    width: 100px;
    height: 40px;
    aspect-ratio: 100/40;
    object-fit: contain;
  }

  .footer {
    padding-top: 50px;
  }

  .footer-wrapper {
    padding-bottom: 80px;
  }

  .footer-logo {
    width: 100%;
    max-width: 120px;
    height: 56px;
    aspect-ratio: 120/56;
  }

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

  .footer-nav {
    gap: 30px;
    justify-content: space-between;
  }
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero {
    padding-top: 180px;
    padding-bottom: 90px;
  }

  .difference-section p.subtitle {
    font-size: 18px;
    line-height: 120%;
  }

  .stat-value {
    font-size: 30px;
  }

  .bg-icon {
    width: 140px;
    height: 140px;
    right: -20px;
  }

  .inner-h3 {
    font-size: 20px;
  }

  .breadcrumb-section, .mec-events-template-default main {
    padding-top: 110px;
  }

  .coreValues-boxWrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .box-description {
    font-size: 14px;
  }

  .box-title {
    font-size: 20px;
  }

  .presidents-boxWrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .accordion-section .accordion-content {
    gap: 20px;
  }
  .application-card {
    width: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .breadcrumb-wrapper .active {
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 120px;
    overflow: hidden;
  }
}

@media only screen and (max-width: 480px) {
  .heading2 {
    font-size: 28px;
  }
  .footer-bottom-wraper {
    flex-direction: column;
  }

  .footer-info .footer-item {
    flex-direction: column;
    gap: 16px;
  }

  .arrow-controls {
    display: none;
  }
  .coreValues-boxWrapper {
    grid-template-columns: repeat(1, 1fr);
  }
  .timeline-decade {
    font-size: 0.8rem;
  }

  .timeline-content li {
    font-size: 11px;
  }

  .presidents-boxWrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance-card-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .insurance-card {
    min-height: auto;
  }

  .accordion-section .accordion-content {
    gap: 18px;
  }
  .past-webinars-card .video-wrapper {
    max-width: 300px;
    width: 100%;
    height: 200px;
  }
  .video-wrapper {
    height: 300px;
    margin-top: 20px;
  }
  .two-inputs .inner-paragraph {
    flex-direction: column;
  }
  .two-inputs .inner-paragraph br {
    display: none;
  }
  .form-container input:not([type="submit"]),
  .form-container textarea {
    margin-top: 8px;
  }
}

@media only screen and (max-width: 400px) {
  .bottom-icon {
    flex-direction: column;
  }
}

@media only screen and (min-width: 640px) {
  .mobile-view {
    display: none;
  }
}

@media only screen and (min-width: 1200px) {
  .district-card-wrapper .district-card {
    width: calc((100% - (32px * 3)) / 4);
    height: 110px;
  }
  .district-card-wrapper.full .district-card {
    width: calc((100% - (32px * 6)) / 7);
    height: 110px;
  }
}

@media (max-width: 1199px) and (min-width: 900px) {
  .district-card-wrapper .district-card {
    width: calc((100% - (32px * 2)) / 3);
    height: 100px;
  }
  .district-card-wrapper.full .district-card {
    width: calc((100% - (32px * 3)) / 4);
    height: 100px;
  }
}

@media (max-width: 899px) and (min-width: 600px) {
  .district-card-wrapper .district-card {
    width: calc((100% - 32px) / 2);
    height: 90px;
  }
  .district-card-wrapper.full .district-card {
    width: calc((100% - (32px * 1)) / 2);
    height: 90px;
  }
}

@media only screen and (max-width: 599px) {
  .district-card-wrapper .district-card {
    width: 100%;
    height: 80px;
  }
  .district-card-wrapper.full .district-card {
    width: 100%;
    height: 80px;
  }
}

