/* Custom styles for better text layout */

/* Make content wider and left-aligned */
.main-content {
    max-width: none !important;
    text-align: left !important;
}

/* Ensure paragraphs and lists are left-aligned */
p, ul, ol, li {
    text-align: left !important;
}

/* Make content container wider */
.measure-wide-l, .measure-wide {
    max-width: 80% !important;
}

/* Override center alignment */
.tc-l, .tc {
    text-align: left !important;
}

/* Make care page content full width */
.w-two-thirds-l {
    width: 100% !important;
}

/* Limit image width on care pages */
.care-page img {
    max-width: 600px !important;
    width: 100% !important;
    height: auto !important;
}

/* Dropdown Navigation Styles */
.dropdown-nav {
  position: relative;
}

.dropdown-item {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-link {
  color: white !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.dropdown-link:hover {
  background-color: #555;
  color: white !important;
}

/* Kerry Way Images */
.kerry-way-left {
  float: left;
  width: 200px;
  margin: 0 20px 20px 0;
}

.kerry-way-right {
  float: right;
  width: 200px;
  margin: 0 0 10px 20px;
  clear: right;
}

.kerry-way-left img,
.kerry-way-right img {
  width: 100%;
  height: auto;
}

/* Hide dropdown arrow on desktop */
.dropdown-arrow {
  display: none;
  font-size: 0.7em;
}

/* Mobile dropdown behavior */
@media screen and (max-width: 768px) {
  .dropdown-arrow {
    display: inline;
  }
  
  .dropdown-item > a {
    pointer-events: auto;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background-color: transparent;
    padding-left: 20px;
  }
  
  .dropdown-link {
    color: #ccc !important;
    padding: 8px 0;
  }
  
  .kerry-way-left,
  .kerry-way-right {
    float: none;
    width: 100%;
    margin: 20px 0;
  }
}