ul {
    list-style-type: disc;
}

ul,
ol {
    padding-left: 15px;
}

ol li {
    list-style-type: decimal;
}

.getsocial,
.ga-views {
    display: inline-block;
}

.custom_social_setting .getsocial,
.ga-views {
    float: left;
}

.getsocial.gs-inline-group.gs-big-counter {
    margin: 0;
}

.ga-views {
    color: #606060;
}

.ga-views-count {
    font-size: 37px;
    line-height: 37px;
    display: none;
}

.views-title {
    display: none;
}

.ga-views p:last-child {
    margin: 0;
}

.feature-item p img {
    display: block;
}

#article-container img {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: initial !important;
}

.feature-item li {
    position: relative;
    /* padding-left: 10px; */
    list-style-type: inherit;
}

#subscribe-modal .modal-body {
    padding: 30px;
}

#subscribe-modal .modal-body h4 {
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 30px;
}

#subscribe-modal .modal-body .btn {
    font-size: 25px;
    line-height: 40px;
}

section.wrap-content .sidebar .graybox {
    margin: 0 30px;
}

html .gs-buttons.gs-big-counter:not(.gs-floating),
html .gs-buttons.gs-big-counter>.gs-big-counter {
    padding-top: 0px !important;
    ;
}

html .gs-buttons.gs-big-counter.gs-medium>.gs-big-counter {
    bottom: 1px !important;
    font-size: 37px !important;
    padding-bottom: 5px;
    margin-top: 0px !important;
    text-align: center;
    padding-right: 0px !important;
}

html .gs-buttons.gs-big-counter.gs-medium>.gs-big-counter>span {
    margin: 0px !important;
}

html .gs-buttons.gs-big-counter>.gs-big-counter>span {
    right: auto !important;
    text-shadow: none;
    display: inline-block !important;
    position: relative !important;
    top: 5px !important;
    width: 100%;
}

.gs-tracking {
    vertical-align: top !important;
    margin-bottom: 0px !important;
    position: relative;
    top: 10px;
    left: 15px;
}

/* Fix for Font Awesome social icons */
.social-icons-wrapper .icon-wrapper {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.social-icons-wrapper .icon-wrapper i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    display: inline-block;
}

.social-icons-wrapper .icon-wrapper i.fas {
    font-weight: 900;
}

.social-icons-wrapper .facebook i {
    color: #fff;
}

.social-icons-wrapper .linkedin i {
    color: #fff;
}

.social-icons-wrapper .twitter i {
    color: #fff;
}

.social-icons-wrapper .newsletter i {
    color: #fff;
}

.social-icons-wrapper .instagram i {
    color: #fff;
}

/* Chosen.js sprite overrides to prevent missing chosen-sprite.png requests */
.chosen-container-single .chosen-single abbr,
.chosen-container-single .chosen-single div b,
.chosen-container-single .chosen-search input[type="text"],
.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
.chosen-results-scroll-down span,
.chosen-results-scroll-up span {
    background-image: none !important;
}

/* Explicitly clear background on the search input area used by Chosen */
.chosen-container-single .chosen-search input[type="text"] {
    background: none !important;
}

/* Magazine Slider Styles */
.magazine-slider {
    background-color: #434143;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Prevent flash by constraining image size before slider initialization */
.magazine-slider:not(.slider-ready) img {
    max-height: 100px !important;
    max-width: 80px !important;
    width: auto !important;
    height: auto !important;
}

.magazine-slider.slider-ready {
    opacity: 1;
}

.magazine-slider .slider .slide:active,
.magazine-slider .slider .slide:focus,
.magazine-slider .slider .slide:hover,
.magazine-slider .slider .slide.black-bg {
    background-color: #000000;
    outline: none;
    text-decoration: none;
}

.magazine-slider .slider .slide {
    text-align: center;
    padding: 30px 30px 20px 30px;
}

.magazine-slider .slider .slide h4 {
    font-size: 11px;
    color: #bcbdbf;
    text-transform: uppercase;
    font-family: 'DINOT medium', serif;
}

.magazine-slider .slider .slide img {
    margin: 0 auto;
    max-width: 120px;
    max-height: 160px;
    width: auto;
    height: auto;
    display: block;
}

.magazine-slider .slider .slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    width: 32px;
    height: 63px;
    border: 0;
    display: block;
    z-index: 3;
    text-indent: -9999px;
    background: transparent no-repeat;
}

.magazine-slider .slider .slick-prev.slick-arrow {
    background-image: url('/media/images/site/magazine/prev.png');
    left: 0px;
}

.magazine-slider .slider .slick-next.slick-arrow {
    background-image: url('/media/images/site/magazine/next.png');
    right: 0px;
}


/* Remove aspect-ratio constraint from magazine slider images */
.magazine-slider .slider .slide img {
}

/* Remove aspect-ratio constraint from magazine slider images */
.magazine-slider .slider .slide img {
    aspect-ratio: unset !important;
    object-fit: unset !important;
}

/* Update slider arrows to use CSS instead of missing images */
.magazine-slider .slider .slick-arrow {
    background: #666 !important;
    color: white;
    font-size: 18px;
    line-height: 63px;
    text-align: center;
    text-indent: 0 !important;
    border-radius: 4px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.magazine-slider .slider .slick-arrow:hover {
    opacity: 1;
    background: #333 !important;
}

.magazine-slider .slider .slick-prev.slick-arrow:before {
    content: "‹";
    font-size: 24px;
}

.magazine-slider .slider .slick-next.slick-arrow:before {
    content: "›";
    font-size: 24px;
}

.magazine-slider .slider .slick-arrow.slick-disabled {
    opacity: 0.3;
}

/* Additional arrow styling for custom buttons */
.magazine-slider .slider .slick-arrow {
    cursor: pointer;
    border: none;
    z-index: 10;
}

.magazine-slider .slider .slick-prev {
    left: -40px;
}

.magazine-slider .slider .slick-next {
    right: -40px;
}

/* Ensure arrows are visible even on small containers */
@media (max-width: 1200px) {
    .magazine-slider .slider .slick-prev {
        left: -20px;
    }
    
    .magazine-slider .slider .slick-next {
        right: -20px;
    }
}

/* Make sure the magazine slider container has enough space for arrows */
.magazine-slider {
    position: relative;
    margin: 0 50px;
}

@media (max-width: 1200px) {
    .magazine-slider {
        margin: 0 30px;
    }
}

/* Force remove aspect-ratio from magazine slider images - override any JavaScript */
.magazine-slider .slider .slide img,
.magazine-slider img[src*="/magazine/"][src*="/covers/"] {
    aspect-ratio: unset !important;
    object-fit: unset !important;
    width: auto !important;
    height: auto !important;
}

/* Force arrow visibility with higher specificity */
.magazine-slider .slick-prev.slick-arrow,
.magazine-slider .slick-next.slick-arrow {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0,0,0,0.7) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    text-indent: 0 !important;
}

.magazine-slider .slick-prev.slick-arrow {
    left: -50px !important;
}

.magazine-slider .slick-next.slick-arrow {
    right: -50px !important;
}

.magazine-slider .slick-prev.slick-arrow:hover,
.magazine-slider .slick-next.slick-arrow:hover {
    background: rgba(0,0,0,0.9) !important;
}

/* Ensure the container has relative positioning */
.magazine-slider .slider {
    position: relative !important;
}

/* Override arrow positioning - place them inside the slider area */
.magazine-slider .slick-prev.slick-arrow,
.magazine-slider .slick-next.slick-arrow {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    background: rgba(0,0,0,0.8) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    text-indent: 0 !important;
    line-height: 30px !important;
    text-align: center !important;
}

.magazine-slider .slick-prev.slick-arrow {
    left: 10px !important;
}

.magazine-slider .slick-next.slick-arrow {
    right: 10px !important;
}

.magazine-slider .slick-prev.slick-arrow:hover,
.magazine-slider .slick-next.slick-arrow:hover {
    background: rgba(0,0,0,1) !important;
}

/* Ensure magazine slider has overflow visible for arrows */
.magazine-slider {
    position: relative !important;
    overflow: visible !important;
}

.magazine-slider .slider {
    position: relative !important;
    overflow: visible !important;
}

/* Fix arrow background images to use production domain */
.magazine-slider .slider .slick-prev.slick-arrow {
    background-image: url('https://maritime-executive.com/media/images/site/magazine/prev.png') !important;
}

.magazine-slider .slider .slick-next.slick-arrow {
    background-image: url('https://maritime-executive.com/media/images/site/magazine/next.png') !important;
}

/* Magazine Year Selector Styling */
#magazineYearSelector {
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    color: #333;
    min-width: 150px;
}

#magazineYearSelector:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 3px rgba(0,124,186,0.3);
}

/* Responsive adjustments for year selector */
@media (max-width: 767px) {
    #magazineYearSelector {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    .magazine-year-selector-wrapper {
        text-align: center !important;
        margin-bottom: 10px;
    }

}

/* Med-signup sidebar specific styles */
.med-signup-sidebar .med-signup__headline {
    display: none !important;
}

.med-signup-sidebar .med-signup__headline--small {
    display: block !important;
}

.med-signup-sidebar {
    margin-bottom: 20px;
}

/* Med-signup component styles */
.med-signup {
  background: #fff;
  border: 10px solid #d9d9d9;
  margin-top: 30px;
  margin-bottom: 30px;
}

.med-signup-sidebar .med-signup{
  border: 5px solid #d9d9d9;
  margin-top: 5px;
  margin-bottom: 10px;
}

.med-signup__top {
  display: flex;
  justify-content: space-between;
}
.med-signup__mid{
    padding:20px;
    padding-top: 0px;
}

.med-signup-sidebar .med-signup__mid{
    padding:10px;
    padding-top: 0px;
}

.med-signup__hero {
  aspect-ratio: unset !important;
  object-fit: contain !important;
  width: 100%;
}

.med-signup__headline {
  font-size: 24px;
  font-weight: bold;
  font-family: 'Fira Sans';
  line-height: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  display: block;
}

.med-signup__headline--small {
  font-size: 18px;
  font-weight: bold;
  font-family: 'Fira Sans';
  line-height: 22px;
  padding-top: 15px;
  padding-bottom: 15px;
  display: none;
}
.med-signup-sidebar .med-signup__headline--small{
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  text-align: left;
}


.med-signup__rule {
  width: 100px;
  height: 5px;
  background: #ff0000;
  display: block;
  margin-bottom: 15px;
}
.med-signup-sidebar .med-signup__rule{
  margin-bottom: 7.5px;
}

.med-signup__copy {
  font-size: 15px;
  line-height: 20px;
  color: #555 !important;
  font-family: 'Open Sans'
}
.med-signup-sidebar .med-signup__copy {
  font-size: 15px;
  line-height: 20px;
  color: #555;
  font-family: 'Open Sans';
  text-align:left;
}

/* Email-signup component styles */
.email-signup {
  display: flex;
  gap: 20px;
  padding-top: 7px;
}

.med-signup-sidebar .email-signup{
  gap: 10px;

}

.email-signup__input {
  height: 50px;
  width: calc(50% - 7px);
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  padding: 0 14px 0 40px;
  font-size: 14px;
  box-sizing: border-box;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%23999"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 16px 16px;
}

.med-signup-sidebar .email-signup__input {
  height: 30px;
  width: calc(50% - 5px);
  padding: 0 10px 0 25px;
  font-size: 12px;
  box-sizing: border-box;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%23999"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  background-repeat: no-repeat;
  background-position: 6px center;
  background-size: 16px 16px;
}

.email-signup__input:invalid {
  /* Only show red border after form submission attempt */
}

.email-signup__input.error {
  border-color: #ff4d4f;
}

.email-signup__button {
  height: 50px;
  width: calc(50% - 7px);
  background: #ff0000;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.med-signup-sidebar .email-signup__button {
  height: 30px;
  width: calc(50% - 5px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 13.5px;
  font-family: 'Fira Sans';
}
@media (max-width: 996px) {
  .med-signup__headline {
    display: none;
  }
  
  .med-signup__headline--small {
    display: block;
  }
  .med-signup-sidebar .email-signup__button {
    height: 30px;
    width: calc(50% - 5px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 9.5px;
    font-family: 'Fira Sans';
    line-height: 32px;
  }
  .med-signup-sidebar .email-signup__input {
    height: 30px;
    width: calc(50% - 5px);
    padding: 0 9px 0 18px;
    font-size: 9.5px;
    box-sizing: border-box;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%23999"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: 2px center;
    background-size: 16px 16px;
  } 
}

@media (max-width: 500px) {
  .med-signup {
    display: none;
  }
  .med-signup-sidebar .med-signup {
    display: block;
    max-width: 300px;
    margin:auto;
  }
    .med-signup-sidebar .email-signup__input {
        padding: 0 9px 0 20px;
        font-size: 10.5px;
        line-height: 27px;
      }
}