/*
Theme Name: Prout Classic
Theme URI: https://prout.it/
Author: BNK / Codex
Description: Tema classico per Proutist Universal Italia, derivato dal layout storico Edicola.
Version: 1.0.2
Text Domain: prout-classic
*/

* {
  box-sizing: border-box;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

html {
  min-width: 320px;
}

body {
  margin: 1px 0;
  color: #222222;
  background-color: #ccccff;
  background-image: url("assets/pu.back.jpg");
  background-repeat: repeat-y;
  background-attachment: scroll;
  background-position: top left;
}

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

form,
div {
  margin: 0;
}

a:link,
.lco1:link,
.lte1:link,
.lta1:link {
  color: #0000ff;
  background-color: transparent;
}

a:visited,
.lco1:visited,
.lte1:visited,
.lta1:visited {
  color: #880088;
  background-color: transparent;
}

.site-frame {
  width: 100%;
}

.site-head {
  background: transparent;
}

.site-head-inner {
  display: grid;
  grid-template-columns: minmax(90px, 10%) 1fr minmax(90px, 10%);
  align-items: center;
  gap: 8px;
  padding: 2px;
}

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

.site-logo img {
  width: 113px;
  height: auto;
}

.site-title-wrap {
  text-align: center;
}

.site-title {
  margin: 0;
  font-size: 172%;
  font-weight: 700;
}

.site-title a {
  color: #222222;
  text-decoration: none;
}

.site-description {
  margin: 2px 0 0;
  font-size: 95%;
}

.site-tools {
  min-height: 1px;
}

.subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 4px 2px;
}

.breadcrumbs,
.pathart {
  font-size: 70%;
}

.feed-meta-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.layout {
  display: grid;
  grid-template-columns: minmax(150px, 15%) minmax(0, 1fr) minmax(150px, 15%);
  gap: 8px;
  align-items: start;
  width: 100%;
  padding: 0 4px;
}

.col1,
.col2,
.col3 {
  min-width: 0;
}

.content-column {
  padding: 2px 0;
}

.side-nav {
  display: grid;
  gap: 2px;
  justify-items: center;
  margin: 0 0 14px;
}

.side-nav a,
.side-nav .current {
  display: inline-block;
  max-width: 100%;
  font-size: 70%;
  font-weight: bolder;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
}

.side-nav .current {
  color: #222222;
}

.info-box {
  border: 1px solid #b3c2cf;
  padding: 3px;
  font-size: 11px;
  line-height: 1.32;
  background: rgba(204, 204, 255, 0.35);
}

.info-box p {
  margin: 0 0 6px;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.right-box {
  border-color: #b3a2cf;
}

.right-box h2,
.left-box h2 {
  margin: 0 0 6px;
  font-size: 11px;
}

.right-box h3 {
  margin: 8px 0 4px;
  font-size: 11px;
}

.right-box ul {
  margin: 0 0 4px 14px;
  padding: 0;
}

.article-box {
  color: #222222;
  background: transparent;
}

.arttito,
.article-title {
  margin: 0 0 12px;
  font-size: 110%;
  text-align: center;
  font-weight: 400;
}

.rubric-title,
.rubric-subtitle {
  margin: 0 0 6px;
  text-align: left;
}

.artsubt {
  font-size: 90%;
  text-align: center;
}

.arttext,
.article-content {
  font-size: 80%;
  line-height: 1.35;
  text-align: justify;
}

.article-content p {
  margin: 0 0 1em;
}

.article-content ul,
.article-content ol {
  margin-top: 0;
}

.article-meta,
.artauth {
  margin: 12px 0 0;
  font-size: 80%;
  text-align: right;
}

.hco1 {
  border: 0;
  border-bottom: thin solid #222222;
}

.abstract-list {
  display: grid;
  gap: 10px;
}

.absitem {
  width: 100%;
}

.abstito {
  margin: 0 0 3px;
  font-size: 70%;
  text-align: center;
  font-weight: bolder;
}

.abstext {
  margin: 0;
  font-size: 70%;
  line-height: 1.35;
  text-align: justify;
}

.paragraph {
  margin: 0 2px;
}

.contactpage {
  color: #222222;
  background-color: #ccccff;
  font-size: 86%;
}

.contactbutt {
  text-align: center;
  color: #222222;
  background-color: #ccccff;
  font-size: 86%;
}

.index-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.index-table,
.prout-index-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.index-table caption,
.prout-index-table caption {
  caption-side: top;
  padding: 0 0 4px;
  font-weight: bolder;
  text-align: center;
}

.index-table th,
.index-table td,
.prout-index-table td,
.prout-index-table th {
  padding: 1px 3px;
  vertical-align: top;
}

.index-table thead th,
.prout-index-table th {
  text-align: center;
  font-weight: 700;
}

.index-table tbody th {
  font-weight: normal;
  text-align: left;
}

.index-title-cell,
.prout-index-table td:first-child {
  overflow-wrap: anywhere;
}

.author-index {
  display: grid;
  gap: 14px;
}

.author-heading {
  margin: 0 0 4px;
  text-align: left;
  font-weight: bolder;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prout-links {
  display: grid;
  gap: 14px;
}

.prout-link-item {
  display: flow-root;
}

.prout-link-item img {
  float: left;
  width: 120px;
  height: 90px;
  object-fit: cover;
  margin: 4px 10px 6px 4px;
}

.prout-link-item h2 {
  margin: 0 0 4px;
  font-size: 70%;
  text-align: center;
}

.prout-link-item p {
  margin: 0;
  font-size: 70%;
  line-height: 1.35;
  text-align: justify;
}

.prout-contact-form {
  max-width: 34rem;
  margin: 0 auto;
}

.prout-contact-form fieldset {
  margin: 0 0 12px;
  padding: 8px;
  border: 1px solid #b3a2cf;
}

.prout-contact-form legend {
  padding: 0 5px;
  font-size: 80%;
  font-weight: 700;
}

.prout-contact-row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  margin: 0 0 7px;
}

.prout-contact-row label {
  font-size: 86%;
}

.prout-contact-row input,
.prout-contact-form textarea {
  width: 100%;
  max-width: 100%;
  color: #222222;
  background-color: #ccccff;
  border: 1px solid #7777aa;
  padding: 3px;
  font-size: 86%;
}

.prout-contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.prout-contact-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.prout-contact-actions button {
  color: #222222;
  background-color: #ccccff;
  border: 1px solid #7777aa;
  padding: 3px 12px;
  font-size: 86%;
}

.prout-contact-message {
  text-align: center;
  font-size: 80%;
  font-weight: 700;
}

.site-footer {
  min-height: 1px;
  padding: 8px 0;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(140px, 24%) minmax(0, 1fr);
  }

  .right-sidebar {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-head-inner {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .site-tools {
    display: none;
  }

  .site-title {
    font-size: 140%;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    justify-items: start;
  }

  .side-nav a,
  .side-nav .current {
    text-align: left;
    white-space: normal;
  }

  .prout-contact-row {
    grid-template-columns: 1fr;
  }
}

.breadcrumbs,
.pathart,
.side-nav a,
.side-nav .current,
.info-box,
.right-box h2,
.left-box h2,
.right-box h3,
.arttext,
.article-content,
.article-meta,
.artauth,
.abstito,
.abstext,
.contactpage,
.contactbutt,
.prout-index-table,
.index-table,
.prout-link-item h2,
.prout-link-item p,
.prout-contact-row label,
.prout-contact-row input,
.prout-contact-form textarea,
.prout-contact-actions button,
.prout-contact-message {
  font-size: 90%;
}
