/*
Theme Name: Isus te iubeste
Theme URI: https://isusteiubeste.ro/
Author: Numele tau
Author URI: https://isusteiubeste.ro/
Description: Tema minimală în limba română pentru site-ul "Isus te iubeste".
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isusteiubeste
Tags: starter, minimal, romanian
*/

/* Basic layout and typography */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

.container { max-width: 900px; margin: 0 auto; padding: 1rem; }
.site-header, .site-footer { background: #222; color: #fff; padding: 1rem 0; }
.site-title { margin: 0; font-size: 1.25rem; }
.site-title a { color: inherit; text-decoration: none; }
.site-description { margin: 0.25rem 0 0; color: #bbb; }

.site-header .container { display: flex; align-items: center; gap: 1rem; }
.site-logo img { display: block; width: 88px; height: auto; }
.site-branding { flex: 1; }
.site-nav { margin-left: auto; }

/* Custom logo handling */
.custom-logo, .site-default-logo { width: 88px; height: auto; display: block; }
.custom-logo { max-height: 80px; }

/* When WP outputs the custom logo it may include inline width/height — make it responsive */
.custom-logo { width: auto; max-width: 88px; height: auto; }

/* Ensure branding and nav align nicely on small screens */
@media (max-width: 599px) {
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .site-nav { margin-left: 0; margin-top: 0.5rem; }
}

/* Buttons — Orthodox-inspired style */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06);
  transition: transform .08s ease, box-shadow .08s ease, opacity .08s ease;
}
.btn:active { transform: translateY(1px); }

/* Orthodox primary (gold + deep red accent, subtle ornament) */
.btn-orthodox {
  background: linear-gradient(180deg,#fbe7b7 0%,#f2c37a 100%);
  color: #111;
  border: 1px solid rgba(0,0,0,0.06);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.btn-orthodox:hover{ opacity: .95; }

.btn-orthodox .btn-icon { display:inline-flex; width:20px; height:20px; align-items:center; justify-content:center; }
.btn-orthodox .cross { fill:#8b2e2e; }

/* Outline variant */
.btn-outline {
  background: transparent;
  color: #f2c37a;
  border: 2px solid #f2c37a;
}

/* Compact variant */
.btn-sm { padding: .25rem .5rem; font-size: .9rem; border-radius: 4px; }

/* Buttons container */
.theme-buttons { display: flex; gap: .5rem; align-items:center; }

@media (max-width:599px){ .theme-buttons{ flex-wrap:wrap; } }

/* Focus and accessibility styles */
.btn:focus-visible, .btn:focus { outline: 3px solid rgba(242,195,122,0.35); outline-offset: 2px; }
.btn:focus { box-shadow: 0 0 0 3px rgba(242,195,122,0.12); }

input[type="text"], input[type="email"], textarea { border: 1px solid #ddd; padding: .5rem; border-radius: 4px; width: 100%; }
input:focus, textarea:focus { border-color: #f2c37a; box-shadow: 0 0 0 3px rgba(242,195,122,0.08); outline: none; }

.prayer-error { font-weight: 600; }

/* Utility: visually-hidden text for screen readers */
.screen-reader-text {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; /* added line */
}

.entry { margin-bottom: 2rem; }
.entry-title { margin: 0 0 0.5rem 0; font-size: 1.5rem; }
.entry-title a { color: #111; text-decoration: none; }
.entry-content img { max-width: 100%; height: auto; }

.site-nav { margin-top: 0.75rem; }

@media (min-width: 800px) {
  .site-title { font-size: 1.5rem; }
}

/* Hero styles for scripture section */
.hero { padding: 2.5rem 0; background: linear-gradient(180deg,#fffaf0,#fff); }
.hero-inner { display:flex; gap:1.25rem; align-items:flex-start; flex-wrap:wrap; }
.hero-media img{ width:100%; height:auto; border-radius:8px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.hero-quote { font-style: italic; margin:0 0 1rem 0; padding-left:1rem; border-left:4px solid #f2c37a; color:#222; }
.hero-interpretation h3{ margin-top:.25rem; }

@media (max-width: 599px){
  .hero-inner{ flex-direction:column; }
}

/* Styles for the Învățături listing */
.invataturi-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 1rem; }
.invataturi-item { padding: 1rem; border: 1px solid #eee; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.invataturi-link { color: inherit; text-decoration: none; }
.invataturi-link strong { font-size: 1.05rem; color: #111; }
.invataturi-excerpt { margin-top: 0.5rem; color: #444; }
.invataturi-tags { margin-top: 0.75rem; }
.invataturi-tags a { display: inline-block; background: #f2c37a; color: #111; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.85rem; text-decoration: none; margin-right: 0.4rem; }
.invataturi-tags a:hover { opacity: 0.95; }

@media (max-width: 599px) {
  .invataturi-item { padding: .75rem; }
}
