/*
Theme Name: LLWS Starter
Theme URI: https://letslearnwithstyle.com
Author: Restored from Wayback Machine archive
Description: Starter theme rebuilt to approximate the original Let's Learn With Style design (blue Twenty-Twelve-based palette, card-style post boxes, Bebas Neue titles). Built as a reference starting point, not a pixel-perfect restoration -- the original theme's PHP templates were never captured by the Wayback Machine.
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: llws-starter
*/

/* -------------------------------------------------
   Local fonts (licensed webfont kit, uploaded to /fonts/)
------------------------------------------------- */
@font-face {
  font-family: "Borgia Pro";
  src: url("fonts/BorgiaPro-Regular-webfont.woff2") format("woff2"),
       url("fonts/BorgiaPro-Regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.more-link {
  font-weight: bold !important;
  font-size: medium !important;
  font-family: "Open Sans", Arial, sans-serif !important;
}

/* -------------------------------------------------
   Reset / base
------------------------------------------------- */
* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a { color: #21759b; text-decoration: none; }
a:hover { color: #0088d0; text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------
   Header
------------------------------------------------- */
.site-header {
  border-bottom: 3px solid #21759b;
  padding: 24px 0 0 0;
  text-align: center;
}

.site-title {
  margin: 0;
  font-family: "Bebas Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 3.1em;
  line-height: 0.9;
  letter-spacing: 1px;
}

.site-title a { color: #21759b; }
.site-title a:hover { color: #0088d0; text-decoration: none; }

.site-description {
  font-family: "Open Sans Condensed", Arial, sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.1em;
  color: #757575;
  margin: 4px 0 20px 0;
}

.header-image {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 0;
}

@media (max-width: 600px) {
  .header-image {
    height: 150px;
  }
}

/* -------------------------------------------------
   Navigation
------------------------------------------------- */
.main-navigation {
  background: #21759b;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-navigation li { position: relative; }

.main-navigation a {
  display: block;
  padding: 14px 18px;
  color: #fff;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: #0088d0;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  background: #21759b;
  color: #fff;
  border: 0;
  font-size: 1em;
}

@media (max-width: 700px) {
  .menu-toggle { display: block; }
  .main-navigation ul { display: none; flex-direction: column; }
  .main-navigation ul.toggled { display: flex; }
  .main-navigation a { text-align: left; }
}

.lower-navigation .menu-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  background: #0088d0;
  color: #fff;
  border: 0;
  font-size: 1em;
  margin: 0;
  text-align: left;
  cursor: pointer;
}

.lower-navigation {
  background: #0088d0;
}

@media (max-width: 700px) {
  .lower-navigation .menu-toggle { display: block; }
}

/* -------------------------------------------------
   Layout
------------------------------------------------- */
.site-content-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
}

#primary { flex: 1 1 65%; min-width: 0; }
#secondary { flex: 0 0 30%; }

@media (max-width: 780px) {
  .site-content-wrap { flex-direction: column; }
  #secondary { width: 100%; }
}

.entry-content p:empty {
  display: none;
  margin: 0;
  padding: 0;
  height: 0;
}

/* -------------------------------------------------
   Post "card" boxes (matches archive's bordered look)
------------------------------------------------- */
.hentry,
.post {
  border: 1px solid #D0D0D0;
  padding: 1.5em;
  margin-bottom: 2em;
}

.entry-title {
  font-family: "Bebas Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2.6em;
  line-height: 0.9;
  margin: 0 0 0.3em 0;
}

.entry-title a { color: #21759b; }

#secondary_title {
  display: block;
  font-family: "Open Sans Condensed", Arial, sans-serif;
  font-weight: normal;
  font-style: italic;
  font-size: 0.55em;
  text-transform: none;
  color: #757575;
  margin-top: 4px;
}

.entry-meta {
  color: #9E9E9E;
  font-size: 0.8em;
  margin-bottom: 1em;
}

.entry-content { font-size: 1.05em; }

.entry-content p:first-of-type,
.entry-content p:first-child {
  font-family: "Borgia Pro", Georgia, Times, serif;
  font-size: 140%;
  line-height: 1.4em;
}

.wpsdc-drop-cap {
  float: left;
  padding: 0.185em 0.05em 0 0;
  font-size: 5.5em !important;
  line-height: 0.4em;
}

.entry-content img { margin: 0.5em 0; }

.archive .hentry img,
.search .hentry img {
  width: 300px;
  float: right;
  margin: 5px 0 5px 20px;
}

@media (max-width: 500px) {
  .archive .hentry img,
  .search .hentry img { width: 100%; float: none; margin: 5px 0; }
}

.post-thumb {
  display: block;
  float: right;
  margin: 0 0 10px 20px;
}

.post-thumb img {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 500px) {
  .post-thumb {
    float: none;
    margin: 0 0 10px 0;
  }
  .post-thumb img {
    width: 100%;
  }
}

.fvp-share-bar,
.fp-ratio,
[class*="otw-sidebar"] {
  display: none !important;
}

.amazon-fallback-link {
  display: inline-block;
  padding: 8px 16px;
  background: #FF9900;
  color: #111 !important;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none !important;
  margin: 0.5em 0;
}

.amazon-fallback-link:hover {
  background: #e88a00;
}

/* -------------------------------------------------
   Widgets / sidebar
------------------------------------------------- */
.widget {
  border: 1px solid #D0D0D0;
  padding: 1em;
  margin-bottom: 1.2em;
}

.widget-title {
  font-family: "Bebas Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1.2em;
  color: #21759b;
  margin: 0 0 0.6em 0;
}

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 4px 0; border-bottom: 1px dotted #ededed; }

/* -------------------------------------------------
   Footer
------------------------------------------------- */
.site-footer {
  border-top: 3px solid #21759b;
  background: #f4f4f4;
  padding: 24px 0;
  text-align: center;
  color: #757575;
  font-size: 0.85em;
  margin-top: 40px;
}

/* -------------------------------------------------
   Comments
------------------------------------------------- */
.comments-area {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid #D0D0D0;
}

.comments-title {
  font-family: "Bebas Neue", Arial, sans-serif;
  text-transform: uppercase;
  color: #21759b;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list > li {
  border-bottom: 1px dotted #ededed;
  padding: 1em 0;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.4em;
}

.comment-author img {
  border-radius: 50%;
}

.comment-author .fn {
  font-style: normal;
  color: #21759b;
}

.comment-content p:first-of-type {
  font-size: 1em;
  font-family: Georgia, Times, serif;
}

/* -------------------------------------------------
   Misc
------------------------------------------------- */
.pagination { text-align: center; margin: 20px 0; }
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #D0D0D0;
}
.pagination a:hover { background: #21759b; color: #fff; }

.tags-links, .cat-links { font-size: 0.85em; color: #757575; }

.wp-caption {
  margin-bottom: 1em;
  line-height: 0;
}

.wp-caption a {
  display: block;
  line-height: 0;
}

.wp-caption img {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  vertical-align: top;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.8em;
  color: #757575;
  line-height: 1.4;
  margin: 3px 0 0 0 !important;
  padding: 0 !important;
}