/* ====== GLOBAL ====== */

body {
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  font-family: "Inter", system-ui, sans-serif;
  color: #222;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* ====== HEADER ====== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 35px 0 25px;
  text-align: center;
}

.header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 15px;
}

.logo a {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111;
  display: inline-block;
  margin-bottom: 18px;
}

.main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-menu a {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.main-menu a:hover {
  text-decoration: underline;
}

.tagline {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}


/* ====== GRID / HUVUDSIDA ====== */

.container {
  max-width: 760px; /* samma bredd som single */
  margin: 0 auto;
  padding: 35px 15px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 25px;
  color: #222;
  font-weight: 600;
}

/* ====== GRID LAYOUT ====== */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exakt två per rad */
  gap: 25px;
}

/* Första kortet full bredd */
.card.full-width {
  grid-column: 1 / -1;
}

/* ====== KORT ====== */

.card {
  display: block; /* hela kortet är klickbart */
  background: #ffffff;
  padding: 22px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all .2s ease;
  color: inherit;
}

.card:hover {
  background: #ececec; /* mörkare hover */
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  cursor: pointer;
}

.card-title {
  margin: 0 0 10px;
  font-size: 19px;
  color: #222;
  font-weight: 600;
}

.excerpt {
  font-size: 16px;            /* lite större, mer lättläst  */
  color: #444;                /* mjukare än #555 */
  line-height: 1.7;           /* mer luft, mer premium */
  letter-spacing: 0.1px;      /* subtil förbättring av läsbarhet */
  margin-bottom: 14px;        /* lite mer spacing */
}

.source {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

/* ====== SINGLE ====== */

.single-container {
  max-width: 700px;
  margin: 40px auto;
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.post-title {
  font-size: 32px;
  margin: 0 0 12px;
  color: #222;
  font-weight: 700;
}

.post-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.post-content {
  font-family: "Merriweather", serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 15px;
  margin-left: 0;
  font-style: italic;
  color: #555;
}
.copy-post-btn {
  background: #f2f2f2;
  border: 1px solid #ddd;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.2s ease;
}

.copy-post-btn:hover {
  background: #e5e5e5;
}

.main-menu .brand a {
  font-size: 15px;       /* samma som menyn */
  font-weight: 700;      /* lite fetare */
  color: #111;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
/* Sökikon */
.search-toggle {
  font-size: 18px;
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
}

/* Sökbox (dold som standard) */
.search-box {
  display: none;
  margin-top: 15px;
}

.search-box form input {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.menu-search {
  display: flex;
  align-items: center;
}

.menu-search input {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 140px;
  transition: width .3s ease;
}

/* Expandera vid fokus */
.menu-search input:focus {
  width: 200px;
}
.no-results {
  margin-top: 30px;
  padding: 20px;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 6px;
}

.search-again-form {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.search-again-form input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.search-again-form button {
  padding: 8px 14px;
  background: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.site-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.main-menu ul.menu > li {
    padding-top: 0;
    padding-bottom: 0;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: white;
    border-bottom: 1px solid #eee;
}
.site-main {
    margin-top: 80px; /* justera efter din header-höjd */
}
.admin-bar .site-header {
    top: 32px; /* flytta ner headern så den inte hamnar bakom admin--baren */
}
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}

.koran-box {
  background: radial-gradient(circle, #fff 60%, #faf5e8 100%);
  border: 3px double #d4c29c;
  padding: 35px;
  margin: 50px auto;
  max-width: 750px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);

  font-size: 22px;
  line-height: 1.8;
  color: #7B1E1E;
  text-align: center;
  font-family: "Merriweather", serif;
  position: relative;
}

.koran-box::before {
  content: "﴾ ﴿";
  font-size: 32px;
  color: #d4c29c;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 12px;
}
@media (max-width: 768px) {
    .single-container,
    .home-container,
    .archive-container {
        padding-top: 25px; /* justera värdet tills det känns perfekt */
    }
}
@media (max-width: 768px) {
    body {
        padding-top: 45px; /* justera mellan 20–60px */
    }
}
.koran-box::before,
.koran-box::after {
    content: none !important;
}
@media (min-width: 1025px) {
    .pagination,
    .page-numbers,
    .nav-links a,
    .nav-links span {
        font-size: 22px !important;   /* större text */
        padding: 10px 12px !important; /* större klickyta */
    }
}
@media (min-width: 1025px) {
    .pagination .page-numbers,
    .nav-links a,
    .nav-links span {
        font-size: 18px !important;
        padding: 8px 14px !important;
        border: 1px solid #ccc;
        border-radius: 25px; /* gör knapparna runda */
        margin: 0 4px;
        display: inline-block;
    }

    .pagination .current,
    .page-numbers.current {
        background: #e5e5e5;
        border-color: #bbb;
        font-weight: 600;
    }

    .pagination .page-numbers:hover,
    .nav-links a:hover {
        background: #f2f2f2;
        border-color: #aaa;
    }
}
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: #e5e5e5;
    color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}
.post-navigation-box {
    background: #e2d7c8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #cbbba7;
    text-align: center;
}
.no-results-box {
    background: #e2d7c8;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #cbbba7;
    text-align: center;
    margin: 40px 0;
}

.no-results-box .back-home {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #cbbba7;
    color: #4a3a28;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.page-content-box {
    background: #e2d7c8;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #cbbba7;
    margin-top: 30px;
}

.page-title {
    margin-bottom: 20px;
    color: #4a3a28;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}
.bonetider-manad-tabell {
    width: 100%;
    border-collapse: collapse !important;
    margin-top: 20px;
    font-size: 16px;
}

.bonetider-manad-tabell th,
.bonetider-manad-tabell td {
    padding: 10px 12px !important;
    border: 1px solid #ddd !important;
    text-align: center;
}

.bonetider-manad-tabell th {
    background: #f5f5f5;
    font-weight: 600;
}

.bonetider-manad-tabell tr:nth-child(even) {
    background: #fafafa;
}
.bonetider-manad-tabell {
    width: 100%;
    border-collapse: collapse !important;
    margin-top: 20px;
    font-size: 16px;
}

.bonetider-manad-tabell th,
.bonetider-manad-tabell td {
    padding: 10px 12px !important;
    border: 1px solid #ddd !important;
    text-align: center;
}

.bonetider-manad-tabell th {
    background: #f5f5f5;
    font-weight: 600;
}

.bonetider-manad-tabell tr:nth-child(even) {
    background: #fafafa;
}
.bonetider-kategori-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.bonetider-kort {
    background: #ffffff;
    border: 1px solid #e3e6ee;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.bonetider-kort:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.bonetider-kort a {
    text-decoration: none;
    color: #1F2D5C;
    font-size: 18px;
    font-weight: 600;
}
.stadsvaljare select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5df;
    font-size: 16px;
    background: #f8f9fc;
    margin-bottom: 20px;
}
.footer-links {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}

.footer-links a {
    color: #1F2D5C;
    text-decoration: none;
    font-weight: 600;
}

.footer-links .divider {
    margin: 0 10px;
    color: #999;
}
/* Slumpmässiga random */
.random-posts-box {
    margin-top: 40px;
}

.random-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.random-column .card {
    background: #e2d7c8;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #cbbba7;
    text-decoration: none;
    color: #4a3a28;
    display: block;
}

.random-column .card:hover {
    background: #d8cbb8;
}

.random-column .card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
/*slut här */
.section-divider {
    border-top: 1px solid #cbbba7;
    margin: 35px 0 25px 0;
    opacity: 0.7;
}
body {
    font-size: 18px;
    line-height: 1.7;
    color: #3f3528;
}
h1 {
    font-size: 32px;
    font-weight: 700;
    color: #4a3a28;
    margin-bottom: 20px;
}

h2 {
    font-size: 26px;
    font-weight: 700;
    color: #4a3a28;
    margin-bottom: 18px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #4a3a28;
    margin-bottom: 12px;
}
p {
    margin-bottom: 18px;
}
a {
    color: #4a3a28;
    text-decoration: none;
}

a:hover {
	/*     text-decoration: underline; */
    text-decoration: none;
}
.card-title {
    font-size: 18px;
    line-height: 1.4;
}
@media (max-width: 600px) {
    body {
        font-size: 17px;
        line-height: 1.75;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 19px;
    }
}
.card {
    background: #f3ece3;
    padding: 18px 22px;
    border-radius: 12px;
    border: 1px solid #d8c9b8;
    display: block;
    text-decoration: none;
    color: #4a3a28;
    transition: 
        background 0.25s ease,
        transform 0.18s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.card:hover {
    background: #e7dbcd;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
}

.article-title {
    font-size: 34px;
    font-weight: 700;
    color: #3f3528;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 14px;
    color: #6a5a48;
    margin-bottom: 20px;
}

.meta-item {
    margin: 0 8px;
}

.article-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    margin-bottom: 25px;
}

.copy-btn {
    background: #e2d7c8;
    border: 1px solid #cbbba7;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 15px;
}

.copy-btn:hover {
    background: #d6c9b7;
}

.article-content {
    font-size: 18px;
    line-height: 1.75;
    color: #3f3528;
}

.article-content p {
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .article-title {
        font-size: 28px;
    }
    .article-content {
        font-size: 17px;
    }
}
.meta-item {
    margin: 0 8px;
    color: #6a5a48;
    font-size: 14px;
}

.section-title {
    color: #4a3a28; /* Brun ton */
}
blockquote {
    border-left: 4px solid #4a3a28; /* Brun linje */
    padding: 12px 18px;
    margin: 20px 0;
    background: #f7f2ec;
    font-style: italic;
    color: #3f3528;
    border-radius: 6px;
}
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.city-box {
    background: #f3ece3;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #d8c9b8;
    text-decoration: none;
    color: #4a3a28;
    font-size: 17px;
    transition: 0.25s ease;
}

.city-box:hover {
    background: #e7dbcd;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.city-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-icon {
    font-size: 18px;
    color: #4a3a28;
}.city-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.city-icon {
    font-size: 20px;
    color: #4a3a28;
}
.city-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.city-item {
    background: #f3ece3;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #d8c9b8;
    text-decoration: none;
    color: #4a3a28;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.25s ease;
}

.city-item:hover {
    background: #e7dbcd;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.city-icon {
    font-size: 20px;
    color: #4a3a28;
}

/* Mobil: 1 kolumn */
@media (max-width: 600px) {
    .city-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Tablet: 2 kolumner */
@media (max-width: 900px) {
    .city-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
.city-item {
    background: #f3ece3;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #d8c9b8;
    text-decoration: none;
    color: #4a3a28;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.25s ease;
}

.city-item:hover {
    background: #e7dbcd;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.city-icon {
    font-size: 20px;
    color: #4a3a28;
}
.city-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.city-wrapper {
    max-width: 900px;      /* gör att allt hamnar i mitten */
    margin: 0 auto;        /* centrerar */
    padding: 20px 0;
}
.copy-post-btn {
    background: #e2d7c8;
    border: 1px solid #cbbba7;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 15px;
    color: #4a3a28;
    font-weight: 600;
}

.copy-post-btn:hover {
    background: #d6c9b7;
}
