html {
  min-height: 100%; }

body {
  background-color: #f5f5f5;
  
  
  
  
  font-family: 'Lato', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

main {
  flex: 1; }

a {
  color: #0072bc;
  text-decoration: none !important;
  transition: color 0.2s ease; }

a:hover {
  color: #005389; }

/* === SOCIAL === */
.social {
  color: #0072bc;
  font-family: 'Pangolin', cursive;
  font-size: 16px; }
  .social a {
    background: #0072bc;
    border-radius: 50%;
    color: #ffffff;
    display: block;
    height: 32px;
    line-height: 32px;
    text-align: center;
    width: 32px;
    transition: background 0.2s ease; }
  .social a:hover {
    background: #005389; }

/* === HEADER === */
header {
  background: linear-gradient(135deg, #0072bc 0%, #4a9fd9 50%, #60b143 100%);
  color: #fff; }

/* === SITE LOGO === */
.site-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px;
  color: #fff !important;
  text-decoration: none !important; }
.site-logo:hover {
  opacity: 0.9;
  color: #fff !important; }
.site-logo__icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  max-height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; }
.site-logo__icon svg {
  width: 28px !important;
  height: 28px !important;
  display: block; }
.site-logo__text {
  display: inline-flex !important;
  flex-direction: column; }
.site-logo__name {
  font-family: 'Pangolin', cursive;
  font-size: 26px !important;
  line-height: 1.1 !important;
  color: #fff !important;
  display: block; }
.site-logo__name span {
  opacity: 0.7;
  font-size: inherit !important; }
.site-logo__sub {
  font-family: 'Lato', sans-serif;
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: rgba(255,255,255,0.7) !important;
  margin-top: 1px;
  display: block; }
h1 .site-logo {
  font-size: 16px; }

/* === NAVIGATION === */
.navigation {
  background: #0072bc;
  font-family: 'Pangolin', cursive;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
  .navigation__item {
    position: relative; }
    .navigation__item a {
      color: #ffffff;
      display: block;
      padding: 15px 10px;
      transition: background 0.2s ease; }
      .navigation__item a:hover {
        background: #005389;
        color: #fff; }
  @media (min-width: 768px) {
    .navigation__item:hover .navigation__child {
      display: block; }
  }
  .navigation__child {
    background: #0072bc;
    display: none;
    font-size: 70%;
    list-style: none;
    padding: 5px 0;
    position: absolute;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px; }
    .navigation__child a {
      padding: 5px 10px;
      text-transform: initial;
      white-space: nowrap; }

/* === FOOTER === */
footer {
  background: #60b143 !important;
  background: linear-gradient(135deg, #60b143, #4a9a36) !important;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  width: 100%;
  font-size: 14px;
  position: relative;
  z-index: 10;
  min-height: 50px; }
  footer a {
    color: #ffffff !important;
    transition: opacity 0.2s ease; }
  footer a:hover {
    opacity: 0.8; }
.footer__title {
  font-family: 'Pangolin', cursive;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255,255,255,0.3); }
.footer__links li {
  margin-bottom: 6px; }
.footer__links a {
  font-size: 13px; }
.footer__text {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding: 12px 0;
  font-size: 13px;
  opacity: 0.8; }

/* === CATEGORIES (homepage) === */
.categories {
  font-family: 'Pangolin', cursive;
  text-transform: uppercase; }
  .categories__item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #0072bc;
    display: block;
    padding: 18px 15px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    border: 2px solid transparent; }
    .categories__item:hover {
      background: #0072bc;
      color: #ffffff;
      box-shadow: 0 4px 16px rgba(0,114,188,0.3);
      transform: translateY(-2px); }
  .categories__count {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    text-transform: none; }
  .categories__item:hover .categories__count {
    color: rgba(255,255,255,0.7); }

/* === BACK BUTTON === */
.btn-back {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0072bc;
  font-family: 'Pangolin', cursive;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #e8f4fd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
  .btn-back:hover {
    background: #0072bc;
    color: #fff;
    border-color: #0072bc;
    box-shadow: 0 4px 12px rgba(0,114,188,0.25);
    transform: translateX(-3px); }
  .btn-back .fa {
    transition: transform 0.25s ease; }
  .btn-back:hover .fa {
    transform: translateX(-3px); }

/* === HEADLINES / CARD HEADERS === */
.headline,
.card-header {
  background: transparent;
  border-bottom: 3px solid #60b143;
  border-radius: 0;
  font-family: 'Pangolin', cursive;
  font-size: 25px;
  margin: 0 0 15px 0;
  padding: 0 0 10px 0;
  text-transform: uppercase; }

/* === CARDS === */
.card {
  background: transparent;
  border: none;
  border-radius: 12px;
  overflow: hidden; }

.card-body {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 0;
  padding: 20px;
  border-radius: 0 0 12px 12px; }

/* === BUTTONS === */
.btn {
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 25px;
  padding: 10px 24px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  letter-spacing: 0.3px; }

.btn-primary {
  background-color: #0072bc !important;
  border-color: #0072bc !important;
  color: #fff !important; }
  .btn-primary:hover {
    background-color: #005389 !important;
    border-color: #005389 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,114,188,0.3) !important; }

.btn-success {
  border-radius: 25px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
  .btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96,177,67,0.3) !important; }

.btn-danger {
  border-radius: 25px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
  .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220,53,69,0.3) !important; }

.btn-outline-primary {
  border: 2px solid #0072bc;
  color: #0072bc;
  background: transparent;
  border-radius: 25px; }
  .btn-outline-primary:hover {
    background: #0072bc;
    color: #fff; }

/* === FORM === */
.form-control {
  box-shadow: none !important;
  outline: 0 !important;
  border-width: 2px;
  border-radius: 8px; }
  .form-control:focus {
    border-color: #0072bc; }

/* === GALLERY CARDS (homepage listing) === */
.gallery {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .gallery:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px); }
  .gallery__info {
    color: #0072bc;
    font-size: 80%; }
  .gallery__image {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center center;
    background-color: #ffffff;
    border-radius: 8px;
    border: 3px solid #f0f0f0;
    transition: border-color 0.2s ease; }
  .gallery:hover .gallery__image {
    border-color: #0072bc; }
  .gallery__headline {
    color: #0072bc;
    font-family: 'Pangolin', cursive;
    font-size: 22px; }
  .gallery__description {
    color: #666666;
    font-size: 14px; }

/* === SIDEBAR PANELS === */
.panel {
  background: linear-gradient(135deg, #0072bc, #005389);
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,114,188,0.2); }
  .panel__headline {
    color: #ffffff;
    font-family: 'Pangolin', cursive;
    font-size: 16px;
    text-transform: uppercase; }
  .panel a {
    color: #ffffff;
    transition: opacity 0.2s ease; }
  .panel a:hover {
    opacity: 0.8; }
.panel--light {
  background: #ffffff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
  .panel--light .panel__headline {
    color: #333;
    font-size: 18px;
    border-bottom: 3px solid #60b143;
    padding-bottom: 8px; }
  .panel--light a {
    color: #0072bc;
    font-size: 14px; }
  .panel--light a:hover {
    color: #005389;
    opacity: 1; }

/* === TRUST BAR === */
.trust-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 20px;
  text-align: center; }
.trust-bar__item {
  display: inline-block;
  padding: 10px 20px; }
.trust-bar__number {
  font-family: 'Pangolin', cursive;
  font-size: 28px;
  color: #0072bc;
  font-weight: 700;
  line-height: 1; }
.trust-bar__label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px; }

/* === BREADCRUMBS === */
.breadcrumb {
  background: linear-gradient(90deg, #60b143, #4a9a36);
  border-radius: 8px;
  padding: 10px 16px; }
  .breadcrumb li {
    color: #ffffff; }
    .breadcrumb li a {
      color: #ffffff;
      transition: opacity 0.2s ease; }
    .breadcrumb li a:hover {
      opacity: 0.8; }
  .breadcrumb .breadcrumb-item.active {
    color: rgba(255,255,255,0.85); }
  .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #9cd288; }

/* === ALERTS === */
.alert {
  border-radius: 8px; }
  .alert-info {
    background-color: #0072bc;
    border-color: #0072bc;
    color: #fff; }

/* === PAGINATION === */
.pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px; }
  .pagination .page-item {
    margin-right: 0; }
    .pagination .page-item .page-link {
      background: #fff;
      border-radius: 8px !important;
      border: 2px solid #dee2e6;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      padding: 0;
      text-align: center;
      width: 38px;
      height: 38px;
      color: #555;
      font-size: 14px;
      font-weight: 600;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .pagination .page-item .page-link:hover {
      background: #0072bc;
      border-color: #0072bc;
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 3px 8px rgba(0,114,188,0.25); }
    .pagination .page-item.active .page-link {
      background: #60b143;
      border-color: #60b143;
      color: #fff;
      font-weight: bold;
      box-shadow: 0 2px 8px rgba(96,177,67,0.3); }
    .pagination .page-item.disabled .page-link {
      background: #f8f9fa;
      border-color: #eee;
      color: #ccc;
      box-shadow: none; }

/* === TAGS === */
.tag {
  color: #ffffff;
  display: inline-block;
  transition: opacity 0.2s ease; }
  .tag:hover {
    color: #ffffff !important;
    opacity: 0.8; }

/* === FILE INFO TABLE (photo page) === */
.table-file-info {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
  .table-file-info td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle; }
  .table-file-info tr:last-child td {
    border-bottom: none; }
  .table-file-info tr:hover {
    background-color: #f8f9fa; }
  .table-file-info .fit-column {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    width: 1%; }

/* === PHOTO PAGE === */
.photo__container img {
  max-height: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.photo__description {
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #444; }
  .photo__description h2,
  .photo__description h3 {
    color: #0072bc;
    font-family: 'Pangolin', cursive;
    margin-top: 16px; }

/* === THUMBNAILS (gallery/related) === */
.img-thumbnail {
  border-radius: 8px;
  border: 2px solid #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  padding: 2px; }
  .img-thumbnail:hover {
    border-color: #0072bc;
    box-shadow: 0 2px 8px rgba(0,114,188,0.2);
    transform: scale(1.03); }

/* === SECTION HEADERS ON PHOTO PAGE === */
.section-header {
  color: #0072bc;
  font-family: 'Pangolin', cursive;
  font-size: 20px;
  border-bottom: 2px solid #60b143;
  padding-bottom: 8px;
  margin-bottom: 16px; }

.fit-column {
  white-space: nowrap;
  width: 1%; }

/* === MOBILE NAVIGATION === */
.nav-toggle {
  background: none;
  border: none;
  padding: 8px 12px; }

.nav-child-more a {
  background: rgba(255,255,255,0.1);
  font-size: 90%; }

@media (max-width: 767px) {
  .nav-list {
    display: none; }
  .nav-list.nav-open {
    display: block; }
  .nav-list .list-inline-item {
    display: block !important;
    margin-right: 0 !important; }
  .navigation__item a {
    padding: 12px 15px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1); }
  .navigation__child {
    position: static !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: rgba(0,0,0,0.15); }
  .navigation__child a {
    padding: 10px 20px !important;
    font-size: 14px !important; }
}

/* === RESPONSIVE === */
html {
  overflow-x: hidden;
  max-width: 100vw; }

@media (max-width: 768px) {
  /* Fix background-attachment on mobile (iOS doesn't support fixed) */
  body {
    background-attachment: scroll; }

  /* === PAGINATION mobile === */
  .pagination {
    gap: 4px; }
  .pagination .page-item .page-link {
    width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 6px !important; }

  /* === FOOTER mobile === */
  footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    min-height: 100px !important;
    background: #60b143 !important;
    padding-top: 10px; }
  footer .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left; }
  footer .col-12.col-md-6 {
    text-align: center; }
  .footer__title {
    font-size: 14px; }
  .footer__links a {
    font-size: 13px; }
  .footer__text {
    font-size: 13px; }
  .footer__bottom {
    text-align: center;
    font-size: 12px; }

  /* === HIDE TAG CLOUD on mobile === */
  .panel:not(.panel--light) {
    display: none; }

  /* === LOGO mobile === */
  .site-logo__icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px; }
  .site-logo__icon svg {
    width: 22px !important;
    height: 22px !important; }
  .site-logo__name {
    font-size: 20px !important; }
  .site-logo__sub {
    font-size: 10px !important; }
  .site-logo {
    gap: 8px; }

  /* === FONT CONSISTENCY mobile === */
  .headline,
  .card-header {
    font-size: 20px; }
  .gallery__headline {
    font-size: 18px; }
  .panel__headline,
  .panel--light .panel__headline {
    font-size: 16px; }
  .gallery__description {
    font-size: 13px; }
  .gallery__info {
    font-size: 12px; }
  h2.h5 {
    font-size: 16px; }

  /* === GALLERY IMAGE mobile === */
  .gallery__image {
    height: 250px; }
  .img-thumbnail {
    padding: 4px; }
  .photo__container img {
    max-height: 450px; }

  /* === BUTTONS mobile === */
  .btn-lg {
    padding: 8px 16px;
    font-size: 14px; }

  /* === PHOTO PAGE mobile === */
  .card-body {
    padding: 12px !important; }
  .table td {
    font-size: 13px;
    padding: 8px 10px !important; }
  .table .fit-column {
    white-space: normal !important;
    width: auto !important;
    font-size: 12px; }
  .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }

  /* === CATEGORIES mobile === */
  .categories__item {
    padding: 12px 10px;
    font-size: 13px; }

  /* === BREADCRUMBS mobile === */
  .breadcrumb {
    font-size: 12px;
    padding: 8px 12px; }
  .breadcrumb-item {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
}
