/*
Theme Name: Sexoblogue Mails
Author: Sexoblogue
Version: 1.0.3
*/

:root {
  --page-bg: #eeeeee;
  --text: #333333;
  --muted: #6f7b85;
  --line: #d8dde2;
  --soft: #f6f8f9;
  --blue: #58bfe8;
  --blue-dark: #1686b6;
  --nav: #f0f1f2;
  --nav-text: #65727c;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.utility-row {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 6px 14px;
  color: #6d7378;
  font-size: 12px;
}

.utility-row a {
  color: #5b6268;
}

.brand {
  display: block;
  padding: 8px 16px 0;
  text-align: center;
}

.brand img {
  display: block;
  width: min(100%, 830px);
  height: auto;
  margin: 0 auto;
}

.tagline {
  margin-top: 0;
  padding: 10px 14px;
  background: var(--blue);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-height: 36px;
  background: var(--nav);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--nav-text);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #ffffff;
  color: var(--blue-dark);
  text-decoration: none;
}

.content {
  padding: 18px 14px 28px;
}

.portal-head {
  display: grid;
  gap: 8px;
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--line);
}

.portal-head h1,
.page-title {
  margin: 0;
  color: #4a4a4a;
  font-size: 28px;
  line-height: 1.12;
}

.portal-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.portal-card h2 {
  margin: 0;
  color: #4a4a4a;
  font-size: 18px;
  line-height: 1.2;
}

.portal-card p {
  margin: 0;
  color: var(--muted);
}

.portal-card .button,
.page-actions .button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  margin-top: auto;
  padding: 7px 12px;
  border-radius: 4px;
  background: var(--blue-dark);
  color: #ffffff;
  font-weight: 700;
}

.portal-card .button:hover,
.portal-card .button:focus,
.button:hover,
.button:focus {
  background: #0f6f98;
  color: #ffffff;
  text-decoration: none;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.quick-links a {
  font-weight: 700;
}

.page-wrap {
  max-width: 860px;
}

.page-title {
  margin-bottom: 14px;
}

.page-body {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.page-body > *:first-child {
  margin-top: 0;
}

.page-body > *:last-child {
  margin-bottom: 0;
}

.page-body input,
.page-body select,
.page-body textarea {
  max-width: 100%;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 14px 22px;
  border-top: 1px solid var(--line);
  background: #f8f8f8;
  color: #6d7378;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .utility-row {
    justify-content: center;
    gap: 10px;
  }

  .tagline {
    font-size: 16px;
  }

  .main-nav a {
    flex: 1 1 50%;
    justify-content: center;
    padding: 0 10px;
  }

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

  .portal-head h1,
  .page-title {
    font-size: 24px;
  }
}
