/*!
Theme Name: webbistarter
Theme URI: http://underscores.me/
Author: Amar Deric
Author URI: http://underscores.me/
Description: A starter theme for Webbi WordPress projects.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: webbistarter
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

webbistarter is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}
a:visited {
  color: #800080;
}
a:hover, a:focus, a:active {
  color: #191970;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

.footer {
  padding: 2rem 0;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer__inner p {
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.footer__inner a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__inner a:hover {
  color: rgb(0, 98.4, 204);
  transition: color 0.3s;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#masthead {
  background-color: transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.site-header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-branding img {
  max-height: 60px;
  width: auto;
  max-width: 280px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}
.main-navigation ul li {
  position: relative;
}
.main-navigation ul li a {
  text-decoration: none;
  color: #2f2f2f;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 10px;
  position: relative;
  display: block;
  overflow: hidden;
}
.main-navigation ul li a::before, .main-navigation ul li a::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 100%;
  width: 0;
  background-color: #2f2f2f;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out, right 0.3s ease-in-out;
}
.main-navigation ul li a::before {
  left: 50%;
  transform: translateY(-50%);
}
.main-navigation ul li a::after {
  right: 50%;
  transform: translateY(-50%);
}
.main-navigation ul li a:hover::before, .main-navigation ul li a:hover::after {
  width: 2px;
}
.main-navigation ul li a:hover::before {
  left: 0;
}
.main-navigation ul li a:hover::after {
  right: 0;
}
.main-navigation ul li.current_page_item a {
  border-left: 2px solid #2f2f2f;
  border-right: 2px solid #2f2f2f;
}
@media (max-width: 980px) {
  .main-navigation ul li.current_page_item a {
    border-left: none;
    border-right: none;
  }
}

button.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .site-header__content {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-navigation {
    width: 100%;
    margin-top: 1rem;
  }
  .main-navigation ul {
    flex-direction: column;
    gap: 10px;
    display: none;
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .main-navigation ul {
    margin: 0;
  }
}
@media (max-width: 768px) {
  .main-navigation ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
  }
  .main-navigation .active {
    display: flex;
    transition: max-height 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }
  button.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    align-self: flex-end;
    padding: 10px;
    margin-left: auto;
    position: absolute;
    right: 10px;
    top: 100px;
  }
  button.menu-toggle .hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2f2f2f;
    position: relative;
  }
  button.menu-toggle .hamburger::before, button.menu-toggle .hamburger::after {
    content: "";
    width: 25px;
    height: 3px;
    background-color: #2f2f2f;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
  }
  button.menu-toggle .hamburger::before {
    top: -8px;
  }
  button.menu-toggle .hamburger::after {
    top: 8px;
  }
  button.menu-toggle[aria-expanded=true] .hamburger {
    background-color: transparent;
  }
  button.menu-toggle[aria-expanded=true] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  button.menu-toggle[aria-expanded=true] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .site-header__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .site-branding {
    position: absolute;
    top: 25px;
  }
  .site-branding img {
    max-height: 50px;
    width: auto;
  }
  button.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    position: static;
  }
  .main-navigation {
    width: 100%;
    margin-top: 1rem;
  }
  .main-navigation ul {
    margin-top: 15px;
  }
}
/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.site-main {
  background-color: #f9f9f9;
  z-index: -1;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

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

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Blocks
--------------------------------------------- */
.hero {
  background: url("../images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  color: #fff;
  height: 500px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Overlay added here */
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
  z-index: 2; /* Ensure it stays on top of the background */
}
.hero__inner {
  position: absolute;
  text-align: center;
  color: #fff;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers both horizontally & vertically */
  width: 100%;
  max-width: 700px;
}
.hero__inner h1 {
  font-size: 3rem;
}
@media (max-width: 768px) {
  .hero__inner h1 {
    font-size: 2rem;
  }
}

.news-block {
  padding: 6rem 0;
  background-color: #f9f9f9;
}
.news-block .news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.news-block .news-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.news-block .news-item:hover {
  transform: translateY(-5px);
}
.news-block .news-item .news-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-block .news-item .news-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.news-block .news-item .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-block .news-item .news-content {
  padding: 20px;
}
.news-block .news-item .news-content .news-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.news-block .news-item .news-content .news-excerpt {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}
.news-block .news-item .news-content .news-date {
  font-size: 0.875rem;
  color: #999;
}

.gallery {
  padding: 6rem 0;
  background: #f5f5f5;
  /* Better image sizing for a natural flow */
  /* ✅ Mobile Optimization */
}
.gallery__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  grid-auto-flow: dense; /* 🔥 Forces items to fill gaps properly */
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
}
.gallery__item:hover {
  transform: scale(1.05);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 Ensures images fill the box without stretching */
  display: block;
  border-radius: 12px;
}
.gallery .size-0 {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery .size-1, .gallery .size-4 {
  grid-column: span 1;
  grid-row: span 1;
}
.gallery .size-2, .gallery .size-3 {
  grid-column: span 2;
  grid-row: span 1;
}
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
@media (max-width: 768px) {
  .gallery {
    padding: 4rem 1rem;
  }
  .gallery__container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 8px;
  }
  .gallery .size-0, .gallery .size-2, .gallery .size-3 {
    grid-column: span 1;
    grid-row: span 1;
  }
}
@media (max-width: 480px) {
  .gallery__container {
    grid-template-columns: repeat(1, 1fr); /* 1 column for smaller phones */
  }
  .gallery__item {
    border-radius: 8px;
  }
  .gallery img {
    border-radius: 8px;
  }
}

.text-with-image {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.text-with-image .text-content {
  flex: 1;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}
.text-with-image .image-content {
  flex: 1;
}
.text-with-image .image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.text-with-image.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .text-with-image {
    flex-direction: column;
    text-align: center;
  }
  .text-with-image.reverse {
    flex-direction: column;
  }
  .text-with-image .text-content, .text-with-image .image-content {
    width: 100%;
  }
}
.large-gallery {
  padding: 6rem 0;
  background: #ffffff;
  /* New varied grid layout for a dynamic appearance */
}
.large-gallery__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  grid-auto-flow: dense;
}
.large-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}
.large-gallery__item:hover {
  transform: scale(1.05);
}
.large-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.large-gallery .size-0 {
  grid-column: span 3;
  grid-row: span 2;
}
.large-gallery .size-1, .large-gallery .size-5 {
  grid-column: span 1;
  grid-row: span 1;
}
.large-gallery .size-2, .large-gallery .size-3, .large-gallery .size-4 {
  grid-column: span 2;
  grid-row: span 1;
}
@media (max-width: 768px) {
  .large-gallery .size-0, .large-gallery .size-2, .large-gallery .size-3, .large-gallery .size-4 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.board {
  padding: 4rem 0;
  background: #f9f9f9;
}
.board__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.board__member {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.board__member:hover {
  transform: translateY(-5px);
}
.board__image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}
.board__name {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 5px 0;
}
.board__title {
  font-size: 1rem;
  color: #777;
}
.board__contact {
  font-size: 0.9rem;
  color: #333;
}
.board__contact a {
  text-decoration: none;
  color: #0073e6;
  font-weight: bold;
}
.board__contact a:hover {
  text-decoration: underline;
}

.contact-block {
  padding: 4rem 2rem;
  background: #f9f9f9;
  /* Responsive */
}
.contact-block__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}
.contact-block__title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}
.contact-block__description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.contact-block__form {
  width: 100%;
}
.contact-block__form form {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact-block__form input,
.contact-block__form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: 0.3s ease-in-out;
}
.contact-block__form input:focus,
.contact-block__form textarea:focus {
  border-color: #0073e6;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
}
.contact-block__form button,
.contact-block__form input[type=submit] {
  background: #0073e6;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.contact-block__form button:hover,
.contact-block__form input[type=submit]:hover {
  background: #005bb5;
}
@media (max-width: 768px) {
  .contact-block__inner {
    padding: 1.5rem;
  }
  .contact-block__title {
    font-size: 1.75rem;
  }
  .contact-block__description {
    font-size: 0.95rem;
  }
}

/* Pages
--------------------------------------------- */
.index-container {
  background-color: #f9f9f9;
  /* Pagination */
}
.index-container__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 0;
}
@media (max-width: 768px) {
  .index-container__inner {
    padding: 2rem 1rem;
  }
}
.index-container .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.index-container .post-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.index-container .post-card:hover {
  transform: translateY(-5px);
}
.index-container .post-card .post-thumbnail {
  height: 200px;
  overflow: hidden;
}
.index-container .post-card .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.index-container .post-card .post-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.index-container .post-card .post-content .post-meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}
.index-container .post-card .post-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2f2f2f;
}
.index-container .post-card .post-content h2 a {
  color: #2f2f2f;
  text-decoration: none;
}
.index-container .post-card .post-content h2 a:hover {
  text-decoration: underline;
}
.index-container .post-card .post-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}
.index-container .post-card .post-content .read-more {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 10px;
  text-decoration: none;
  background: #0073e6;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.index-container .post-card .post-content .read-more:hover {
  background: #005bb5;
}
.index-container .pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.index-container .pagination a, .index-container .pagination span {
  padding: 10px 15px;
  margin: 0 5px;
  text-decoration: none;
  color: #0073e6;
  font-weight: bold;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.index-container .pagination a:hover, .index-container .pagination span:hover {
  background: #0073e6;
  color: white;
}
.index-container .pagination .current {
  background: #0073e6;
  color: white;
  border-color: #0073e6;
}

.single-container {
  background-color: #f9f9f9;
  padding: 6rem 0;
}
.single-container__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}
@media (max-width: 1024px) {
  .single-container__inner {
    grid-template-columns: 1fr;
  }
}
.single-container .single-post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}
.single-container .single-post .post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.single-container .single-post .post-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.single-container .single-post .post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.single-container .single-post .post-meta .post-categories {
  background: #0073e6;
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: bold;
}
.single-container .single-post .post-meta .post-categories a {
  color: white;
  text-decoration: none;
}
.single-container .single-post .post-meta .post-categories a:hover {
  text-decoration: underline;
}
.single-container .single-post .post-body {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}
.single-container .single-post .post-navigation {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
.single-container .single-post .post-navigation .nav-subtitle {
  font-size: 0.9rem;
  color: #666;
}
.single-container .single-post .post-navigation .nav-title {
  font-size: 1rem;
  font-weight: bold;
  color: #0073e6;
}
.single-container .single-post .post-navigation .nav-title:hover {
  color: #005bb5;
}
.single-container .single-post .post-comments {
  margin-top: 3rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
@media (max-width: 1024px) {
  .single-container .sidebar {
    padding: 1.5rem;
  }
}
.single-container .sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.single-container .sidebar .widget {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-in-out;
}
.single-container .sidebar .widget:hover {
  transform: translateY(-3px);
}
.single-container .sidebar .widget h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 2px solid #0073e6;
  padding-bottom: 5px;
  display: inline-block;
}
.single-container .sidebar .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.single-container .sidebar .widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.single-container .sidebar .widget ul li:last-child {
  border-bottom: none;
}
.single-container .sidebar .widget ul li a {
  text-decoration: none;
  color: #0073e6;
  font-weight: 500;
  transition: color 0.3s ease;
}
.single-container .sidebar .widget ul li a:hover {
  color: #005bb5;
}
.single-container .sidebar .widget form {
  display: flex;
  flex-direction: column;
}
.single-container .sidebar .widget form input[type=text],
.single-container .sidebar .widget form input[type=search] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: 0.3s;
}
.single-container .sidebar .widget form input[type=text]:focus,
.single-container .sidebar .widget form input[type=search]:focus {
  border-color: #0073e6;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
}
.single-container .sidebar .widget form button {
  background: #0073e6;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.single-container .sidebar .widget form button:hover {
  background: #005bb5;
}

.comments-area {
  margin-top: 3rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  /* Comment Form Styling */
}
.comments-area .comments-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #0073e6;
  padding-bottom: 0.5rem;
  color: #333;
}
.comments-area .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comments-area .comment-list .comment {
  background: #f8f9fa;
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-in-out;
}
.comments-area .comment-list .comment:hover {
  transform: translateY(-2px);
}
.comments-area .comment-list .comment .comment-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.comments-area .comment-list .comment .comment-meta .comment-author {
  font-weight: bold;
  color: #333;
}
.comments-area .comment-list .comment .comment-meta .comment-date {
  font-size: 0.8rem;
  color: #999;
}
.comments-area .comment-list .comment .comment-content {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
.comments-area .comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  font-weight: bold;
  color: #0073e6;
  transition: color 0.3s ease;
}
.comments-area .comment-reply-link:hover {
  color: #005bb5;
}
.comments-area .no-comments {
  font-size: 1rem;
  color: #777;
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}
.comments-area .comment-respond {
  margin-top: 2rem;
}
.comments-area .comment-respond .comment-reply-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.comments-area .comment-respond .comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comments-area .comment-respond .comment-form input[type=text],
.comments-area .comment-respond .comment-form input[type=email],
.comments-area .comment-respond .comment-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border 0.3s ease;
}
.comments-area .comment-respond .comment-form input[type=text]:focus,
.comments-area .comment-respond .comment-form input[type=email]:focus,
.comments-area .comment-respond .comment-form textarea:focus {
  border-color: #0073e6;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
}
.comments-area .comment-respond .comment-form textarea {
  min-height: 120px;
  resize: vertical;
}
.comments-area .comment-respond .comment-form .form-submit {
  text-align: right;
}
.comments-area .comment-respond .comment-form .form-submit input[type=submit] {
  background: #0073e6;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.comments-area .comment-respond .comment-form .form-submit input[type=submit]:hover {
  background: #005bb5;
}

.protocol-container,
.protocol-category-container,
.protocol-single {
  background-color: #f9f9f9;
  padding: 3rem 0;
}
.protocol-container .inner,
.protocol-category-container .inner,
.protocol-single .inner {
  max-width: 1200px;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 100vh;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .protocol-container .inner,
  .protocol-category-container .inner,
  .protocol-single .inner {
    padding: 2rem 1rem;
    text-align: center;
    min-height: 800px;
    height: 100%;
  }
}
.protocol-container h1,
.protocol-category-container h1,
.protocol-single h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
  border-bottom: 3px solid #0073e6;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.protocol-single .inner {
  height: 100%;
}

.protocol-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  list-style: none;
  text-align: center;
}
@media (max-width: 768px) {
  .protocol-categories {
    margin: 0;
  }
}
.protocol-categories li {
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}
.protocol-categories li a {
  text-decoration: none;
  color: #0073e6;
  transition: color 0.3s ease-in-out;
  width: 100%;
  display: block;
}
.protocol-categories li a:hover {
  color: #005bb5;
}
.protocol-categories li:hover {
  transform: translateY(-3px);
  background: #e3f2fd;
}

.protocol-single article {
  text-align: center;
}
.protocol-single article h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.protocol-single article .download-button {
  display: inline-block;
  background: #0073e6;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease-in-out;
}
.protocol-single article .download-button:hover {
  background: #005bb5;
}
.protocol-single article iframe {
  margin-top: 2rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  overflow: hidden;
}
.protocol-single article p {
  font-size: 1.1rem;
  color: #555;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .protocol-container,
  .protocol-category-container,
  .protocol-single {
    padding: 2rem 1rem;
  }
  .protocol-categories li {
    font-size: 1rem;
  }
  .protocol-single article .download-button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
  .protocol-single article iframe {
    height: 500px;
  }
}
.protocol-category-container .protocol-documents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}
@media (max-width: 768px) {
  .protocol-category-container .protocol-documents {
    margin: 0;
  }
}
.protocol-category-container .protocol-documents li {
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}
.protocol-category-container .protocol-documents li a {
  text-decoration: none;
  color: #0073e6;
  transition: color 0.3s ease-in-out;
  width: 100%;
  display: block;
}
.protocol-category-container .protocol-documents li a:hover {
  color: #005bb5;
}
.protocol-category-container .protocol-documents li:hover {
  transform: translateY(-3px);
  background: #e3f2fd;
}
.protocol-category-container .child-categories {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.protocol-category-container .child-categories li {
  background: #eef4fb;
  border-left: 4px solid #0073e6;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}
.protocol-category-container .child-categories li a {
  color: #005bb5;
  text-decoration: none;
  display: block;
}
.protocol-category-container .child-categories li a:hover {
  color: #003f80;
}
.protocol-category-container .child-categories li:hover {
  background: #dbeeff;
}

/*# sourceMappingURL=style.css.map */
