/*
Theme Name: I Love Bretagne
Author: Claudio
Version: 1.0
*/

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
}


body {
  color: var(--ilb-slate);  
  background: #f7f5f1;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}


/* ========================================
   HEADER
======================================== */
.site-header {
  color: var(--ilb-white);
}

.site-header {
  position: relative;
  min-height: 420px;

  display: flex;
  align-items: flex-start;

  background-image:
    linear-gradient(
      rgba(10, 10, 10, 0.05)
    ),
    url('../images/header-ploumanach.jpg');

  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.site-header__inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  min-height: 420px;
}

.site-branding {
  display: flex;
  align-self: center;
  max-width: 55%;
}

.site-branding__link {
  display: inline-block;
  line-height: 0;
}

.site-branding__logo {
  display: block;
  width: 800px;
  max-width: 100%;
  height: auto;
}

.site-branding h1,
.site-branding .site-title {
  margin: 0;

  color: #fff;

  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;

  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.site-branding p,
.site-branding .site-description {
  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.95);

  font-size: 22px;
  line-height: 1.3;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);
}

.site-header__account {
  display: flex;
  gap: 12px;
  align-self: flex-start;
}

.site-header__account-link {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.site-header__account-link:hover {
  text-decoration: underline;
}

.site-header__user {
  font-size: 13px;
}

.site-header__account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 14px;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;

  background: rgba(179, 111, 82, 0.55);

  color: var(--ilb-white);

  font-size: 13px;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;

  transform: translate(6px, -3px);

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.site-header__account-link:hover {
  background: rgba(179, 111, 82, 0.72);
  border-color: rgba(255, 255, 255, 0.42);
  border-color: #713b28;
  transform: translate(6px, -4px);

  text-decoration: none;
}
/* STRUTTURA CENTRALE */

.site-layout {
    width: calc(100% - 40px);
    max-width: 1600px;

    margin: 30px auto;

    display: grid;

    grid-template-columns:
        240px
        minmax(0, 1fr)
        280px;

    gap: 30px;
}


/* SIDEBAR SINISTRA */
.sidebar-left {
  background: var(--ilb-sand);
  border-radius: 8px;
  padding: 18px;
  min-width: 0;
}

.sidebar-left ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


.sidebar-left li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}


/* CONTENUTO */

.main-content {
  min-width: 0;

  background: var(--ilb-white);
  border-radius: 8px;
  padding: 24px 28px;
}

.main-content a {
  color: var(--ilb-ocean);
}

.main-content a:hover {
  color: var(--ilb-granite);
}

.main-content p {
  line-height: 1.6;
}


/* SIDEBAR DESTRA */

.sidebar-right {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* FOOTER */
.site-footer__inner,
.site-footer__bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.site-footer {
  margin-top: 48px;
  background: var(--ilb-slate);
  color: var(--ilb-white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 32px 32px 20px;
}

.site-footer__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.site-footer__column {
  font-size: 13px;
  line-height: 1.35;
}

.site-footer__column p {
  margin: 0;
}

.site-footer__links {
  margin: 0;
  padding: 0;

  list-style: none;
}

.site-footer__links li {
  margin-bottom: 4px;
}

.site-footer__links a {
  color: inherit;
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 32px 32px 16px;

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  font-size: 12px;
  line-height: 1.3;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;

  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 32px 16px;

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  font-size: 12px;
  line-height: 1.3;
}

.site-footer__visits {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

.site-footer__visits span {
  opacity: 0.85;
}

/* ========================================
   PAGINA SINGOLO LUOGO
======================================== */

.place-single {
  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
  padding: 36px 30px 60px;
}

.place-single__article {
  width: 100%;
}

.place-single__header {
  margin-bottom: 24px;
}

.place-single__title {
  margin: 0;

  color: var(--ilb-ocean);

  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
}


/* ========================================
   IMMAGINE IN EVIDENZA
======================================== */

.place-single__featured-image {
  margin: 0 0 32px;

  overflow: hidden;

  border-radius: 10px;
}

.place-single__featured-image img {
  display: block;

  width: 100%;
  height: auto;
}


/* ========================================
   CONTENUTO EDITORIALE
======================================== */

.place-single__content {
  max-width: 1050px;

  margin: 0 auto;

  color: var(--ilb-slate);

  font-size: 17px;
  line-height: 1.7;
}

.place-single__content p {
  margin: 0 0 1.4em;
}

.place-single__content h2,
.place-single__content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.7em;

  color: var(--ilb-ocean);
}


