/**
 * Main Stylesheet for Lifetime11 Theme
 * Author: Based on Lifetime theme for Drupal 7, migrated to Drupal 11
 *
 * This theme uses Bootstrap 5 and custom styling
 *
 * TABLE OF CONTENTS:
 * 1. Reset & Base Styles
 * 2. Typography - see typography.css
 * 3. Layout - see layout.css
 * 4. Navigation - see navigation.css
 * 5. Forms - see forms.css
 * 6. Components - see components.css
 * 7. Regions - see regions.css
 * 8. Responsive - see responsive.css
 */

/* === Reset & Base Styles === */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* === Clearfix === */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* === Skip Link === */
#skip-link {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#skip-link a:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 9999;
  background: #fff;
  padding: 10px 20px;
  border: 2px solid #22aae0;
  color: #22aae0;
  text-decoration: none;
  width: auto;
  height: auto;
}

/* === Main Content === */
.main-content {
  position: relative;
}

/* === Breadcrumbs === */
.breadcrumb {
  background-color: transparent;
  padding: 15px 0;
  margin-bottom: 20px;
  font-size: 14px;
}

.breadcrumb a {
  color: #82b62a;
}

/* === Tabs === */
.tabs {
  margin: 20px 0;
}

.tabs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-bottom: 2px solid #22aae0;
}

.tabs ul li {
  margin-right: 5px;
}

.tabs ul li a {
  display: block;
  padding: 10px 20px;
  background-color: #e6edf0;
  color: #69797f;
  text-decoration: none;
  border-radius: 3px 3px 0 0;
  transition: background-color 0.3s ease;
}

.tabs ul li a:hover,
.tabs ul li a.is-active {
  background-color: #22aae0;
  color: #fff;
}

/* === Action Links === */
.action-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.action-links li {
  display: inline-block;
  margin-right: 10px;
}

.action-links a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #b2cc27;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.action-links a:hover {
  background-color: #9ab525;
}

/* === Pagers === */
.pager {
  text-align: center;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.pager li {
  display: inline-block;
  margin: 0 5px;
}

.pager li a {
  display: block;
  padding: 8px 15px;
  background-color: #e6edf0;
  color: #69797f;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pager li a:hover {
  background-color: #22aae0;
  color: #fff;
}

.pager li.is-active a {
  background-color: #22aae0;
  color: #fff;
}

/* === Node Specific === */
.node {
  margin-bottom: 40px;
}

.node-title {
  margin-bottom: 20px;
}

.node-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}

.node-content {
  line-height: 1.6;
}

/* === Comments === */
.comment-wrapper {
  margin-top: 40px;
}

.comment {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 3px solid #22aae0;
}

.comment-header {
  margin-bottom: 15px;
  font-size: 14px;
  color: #999;
}

.comment-author {
  font-weight: 700;
  color: #22aae0;
}

/* === Utility Classes === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

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

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

/* === Print Styles === */
@media print {
  .no-print {
    display: none !important;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }
}

