footer:has(+ .gwp-stickyFooter) .l_footer {
  @media screen and (max-width: 960px) {
    padding-bottom: 80px;
  }
}
/* ==========================
  Components
=========================== */
.gwc-container {
  margin: 0 auto;
  width: 90%;
  max-width: 1000px;
}



/* ==========================
  Projects
=========================== */

/**
 * Header
 */
.gwp-header__cvLinkList {
  display: flex;
  gap: 0.64rem;
  position: fixed;
  top: 20px;
  right: 74px;
  z-index: 100;

  @media screen and (min-width: 960px) {
    display: none;
  }
}

.gwp-header__cvLinkItem {
  background-color: #d7d2cb;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  height: 48px;
  border-radius: 2px;
  letter-spacing: 0;
}

.gwp-header__cvLinkItem.--line {
  background-color: #00b900;
  color: #ffffff;
}

.gwp-header__cvLinkIcon {
  width: 20px;
  height: auto;
  fill: #4d4034
}

.gwp-header__cvLinkItem.--line .gwp-header__cvLinkIcon {
  fill: #ffffff;
}

/**
 * Sticky Footer
 */
.gwp-stickyFooter {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;

  @media screen and (min-width: 960px) {
    display: none;
  }
}

.gwp-stickyFooter[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.gwp-stickyFooter__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  width: 50%;
  padding-block: .96rem;
  padding-inline: clamp(.8rem, 3.5vw, 1.5rem);
  background-color: #d2b48c;
  color: #ffffff;
  font-size: 0.92rem;
}

.gwp-stickyFooter__link:nth-child(even) {
  background-color: #b94047;
}

.gwp-stickyFooter__icon {
  font-size: 1.4rem;
}

.gwp-stickyFooter__label {
  line-height: 1.2;
  margin: 0;
}

/**
 * Home Banner
 */
.gwp-homeBanner {
  margin: 88px auto;
  text-align: center;

  @media screen and (max-width: 959px) {
    margin: 88px auto 46px;
  }
}

.gwp-homeBanner__link {
  transition: .4s opacity ease;
  display: inline-block;
}

.gwp-homeBanner__link:hover {
  opacity: .85;
}

.gwp-homeBanner__image {
  max-width: 100%;
}

/**
 * News Single Page
 */

.gwp-newsSingle__body {
  margin: 3rem 0;
  line-height: 1.8;
  width: 100%;
  overflow-x: clip;
}

.gwp-newsSingle__body > :first-child {
  margin-top: 0;
}

.gwp-newsSingle__body > :last-child {
  margin-bottom: 0;
}

.gwp-newsSingle__body :where(p, ul, ol, dl, blockquote, pre, table, figure, hr) {
  margin: 1.2em 0;
}

/* Links (avoid affecting block buttons) */
.gwp-newsSingle__body a:not(.wp-block-button__link):not(.btn_line) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Headings (inherit theme mood, keep neutral) */
.gwp-newsSingle__body :where(h1, h2, h3, h4, h5, h6) {
  font-weight: normal;
  letter-spacing: 0.22em;
  line-height: 1.6;
}

.gwp-newsSingle__body h2 {
  font-size: 1.25rem;
  margin: 3em 0 1.2em;
}

.gwp-newsSingle__body h3 {
  font-size: 1.125rem;
  margin: 2.4em 0 1em;
}

.gwp-newsSingle__body h4 {
  font-size: 1.05rem;
  margin: 2em 0 0.8em;
}

/* Lists (reset.css removes list-style globally) */
.gwp-newsSingle__body ul {
  list-style: disc;
  padding-left: 1.6em;
}

.gwp-newsSingle__body ol {
  list-style: decimal;
  padding-left: 1.8em;
}

.gwp-newsSingle__body li {
  margin: 0.4em 0;
}

.gwp-newsSingle__body :where(ul ul, ul ol, ol ul, ol ol) {
  margin: 0.6em 0;
}

.gwp-newsSingle__body ul ul {
  list-style: circle;
}

.gwp-newsSingle__body ol ol {
  list-style: lower-alpha;
}

/* Inline text */
.gwp-newsSingle__body :where(b, strong) {
  font-weight: 700;
}

.gwp-newsSingle__body :where(em, i) {
  font-style: italic;
}

.gwp-newsSingle__body :where(code, kbd, samp) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  padding: 0.1em 0.35em;
  background: var(--light-gray-color);
  border-radius: 4px;
}

.gwp-newsSingle__body pre {
  padding: 1em 1.2em;
  background: var(--light-gray-color);
  border-radius: 12px;
  overflow-x: auto;
}

.gwp-newsSingle__body pre code {
  padding: 0;
  background: transparent;
}

/* Quote (support both classic and Gutenberg) */
.gwp-newsSingle__body :where(blockquote, .wp-block-quote) {
  padding: 1rem 1rem;
  background-color: var(--light-gray-color);
  border-radius: 1rem;
}

.gwp-newsSingle__body :where(blockquote, .wp-block-quote) :first-child {
  margin-top: 0;
}

.gwp-newsSingle__body :where(blockquote, .wp-block-quote) :last-child {
  margin-bottom: 0;
}

.gwp-newsSingle__body .wp-block-pullquote {
  padding: 1.2em 1.2em;
  border-top: 2px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
}

/* Separator */
.gwp-newsSingle__body :where(hr, .wp-block-separator) {
  border: 0;
  border-top: 1px solid rgba(77, 77, 77, 0.25);
}

/* Images / Align (Classic + Gutenberg) */
.gwp-newsSingle__body :where(img, video, iframe) {
  max-width: 100%;
  height: auto;
}

.gwp-newsSingle__body :where(.wp-block-image, figure) {
  max-width: 100%;
}

.gwp-newsSingle__body :where(.aligncenter, .wp-block-image .aligncenter) {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.gwp-newsSingle__body :where(.alignleft, img.alignleft, figure.alignleft) {
  float: left;
  margin: 0.4em 1.2em 1em 0;
}

.gwp-newsSingle__body :where(.alignright, img.alignright, figure.alignright) {
  float: right;
  margin: 0.4em 0 1em 1.2em;
}

.gwp-newsSingle__body::after {
  content: "";
  display: block;
  clear: both;
}

/* Caption (Classic + Gutenberg) */
.gwp-newsSingle__body :where(.wp-caption, .wp-block-image) {
  margin-left: auto;
  margin-right: auto;
}

.gwp-newsSingle__body :where(.wp-caption-text, figcaption) {
  margin-top: 0.6em;
  font-size: 0.85em;
  color: var(--gray-color);
  letter-spacing: 0.08em;
  text-align: center;
}

/* Tables (wrap for overflow) */
.gwp-newsSingle__body .wp-block-table,
.gwp-newsSingle__body .table_wrap {
  overflow-x: auto;
}

.gwp-newsSingle__body table {
  width: 100%;
  min-width: max-content;
  border-collapse: collapse;
}

.gwp-newsSingle__body :where(th, td) {
  text-align: center;
  border: 3px solid var(--main-color);
  padding: 1rem 0.5rem;
}

.gwp-newsSingle__body th {
  background-color: var(--main-color);
  color: var(--white-color);
  font-size: 1rem;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.gwp-newsSingle__body th:first-child {
  border-left: 3px solid var(--main-color);
}

.gwp-newsSingle__body th:last-child {
  border-right: 3px solid var(--main-color);
}

/* Gutenberg: Buttons */
.gwp-newsSingle__body .wp-block-button {
  margin: 1.4em 0;
}

.gwp-newsSingle__body .wp-block-button__link {
  display: inline-block;
  padding: 0.9em 1.6em;
  background: var(--main-color);
  color: var(--white-color);
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.12em;
}

.gwp-newsSingle__body .wp-block-button__link:hover {
  opacity: 0.85;
}

/* Gutenberg: Columns / Media text */
.gwp-newsSingle__body .wp-block-columns {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}

.gwp-newsSingle__body .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}

@media screen and (max-width: 959px) {
  .gwp-newsSingle__body .wp-block-columns {
    flex-direction: column;
  }
}

.gwp-newsSingle__body .wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: center;
}

.gwp-newsSingle__body .wp-block-media-text__media,
.gwp-newsSingle__body .wp-block-media-text__content {
  min-width: 0;
}

@media screen and (max-width: 959px) {
  .gwp-newsSingle__body .wp-block-media-text {
    grid-template-columns: 1fr;
  }
}

/* Gutenberg/Classic: Gallery */
.gwp-newsSingle__body :where(.wp-block-gallery, .gallery, .blocks-gallery-grid) {
  margin: 1.6em 0;
}

.gwp-newsSingle__body .wp-block-gallery,
.gwp-newsSingle__body .blocks-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

@media screen and (max-width: 959px) {
  .gwp-newsSingle__body .wp-block-gallery,
  .gwp-newsSingle__body .blocks-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 519px) {
  .gwp-newsSingle__body .wp-block-gallery,
  .gwp-newsSingle__body .blocks-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gwp-newsSingle__body :where(.wp-block-gallery figure, .blocks-gallery-item, .gallery-item) {
  margin: 0;
}

.gwp-newsSingle__body :where(.wp-block-gallery img, .blocks-gallery-item img, .gallery-item img) {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Classic gallery markup support */
.gwp-newsSingle__body .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gwp-newsSingle__body .gallery.gallery-columns-1 {
  grid-template-columns: 1fr;
}

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

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

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

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

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

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

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

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

.gwp-newsSingle__body .gallery .gallery-item {
  width: auto !important;
  float: none !important;
}

.gwp-newsSingle__body .gallery br {
  display: none;
}

@media screen and (max-width: 959px) {
  .gwp-newsSingle__body .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 519px) {
  .gwp-newsSingle__body .gallery {
    grid-template-columns: 1fr;
  }
}

.gwp-newsSingle__body .gallery .gallery-caption {
  margin-top: 0.4em;
  font-size: 0.85em;
  color: var(--gray-color);
  letter-spacing: 0.08em;
}

/* Gutenberg: Embeds (simple responsive wrapper) */
.gwp-newsSingle__body .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.gwp-newsSingle__body .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Gutenberg: utility classes */
.gwp-newsSingle__body .has-text-align-left {
  text-align: left;
}

.gwp-newsSingle__body .has-text-align-center {
  text-align: center;
}

.gwp-newsSingle__body .has-text-align-right {
  text-align: right;
}

.gwp-newsSingle__body .wp-block-group.has-background,
.gwp-newsSingle__body .wp-block-cover {
  padding: 1.2em 1.2em;
  border-radius: 12px;
}

.gwp-newsSingle__body .wp-block-cover {
  overflow: hidden;
}

.gwp-newsSingle__body .wp-block-file {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.gwp-newsSingle__body .wp-block-file__button {
  background: var(--main-color);
  color: var(--white-color);
  padding: 0.6em 1.2em;
  border-radius: 999px;
  text-decoration: none;
}

.gwp-newsSingle__cvWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4.8rem 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.gwp-newsSingle__cvBtn {
  flex: 1 1 0;
  font-size: 1.1rem;
  max-width: 50%;
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0.5em 1em;
  min-height: 50px;
  letter-spacing: 0.2em;
  border-radius: 5px;
  color: var(--white-color);
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
  position: relative;
  cursor: pointer;
  transition: all 0.5s;
}

@media screen and (max-width: 959px) {
  .gwp-newsSingle__cvBtn {
    flex: 1 1 100%;
    max-width: none;
    font-size: 1.02rem;
  }
}
  
.gwp-newsSingle__cvBtn:hover {
  opacity: 1;
  background-color: var(--light-main-color);
}