/*
Theme Name: Oshin Child
Description: Oshin Child Theme
Author: Brand Exponents
Template: oshin
Version: 1.0
*/

/* 🧼 Basic Reset */
body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* ✨ Link Styles */
a {
    color: #FF7400;
    text-decoration: none;
}
a:hover {
    color: #bfbfbf;
    text-decoration: underline;
}

/* 🔘 Button Styles */
.button {
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s ease;
}
.button:hover {
    background-color: #003d82;
}

/* 🔤 Custom Icon Font */
@font-face {
    font-family: 'ncf_icons';
    src: url('/wp-content/themes/oshin_child/fonts/ncf_icons.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/ncf_icons.woff') format('woff');
    font-display: swap;
}


/* 🖼️ Font Awesome Icons Compatibility */
.fas, .fab, .far, .fa {
    font-family: 'FontAwesome' !important;
}

/* 🔠 Lato Font Faces */
@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-Thin.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-Light.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-Regular.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-Bold.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-Black.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-ThinItalic.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-LightItalic.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-RegularItalic.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-RegularItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-BoldItalic.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/wp-content/themes/oshin_child/fonts/lato/Lato-BlackItalic.woff2') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/lato/Lato-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* 🏷️ Lato Font Classes */
.lato-thin         { font-family: "Lato", sans-serif; font-weight: 100; font-style: normal; }
.lato-light        { font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; }
.lato-regular      { font-family: "Lato", sans-serif; font-weight: 400; font-style: normal; }
.lato-bold         { font-family: "Lato", sans-serif; font-weight: 700; font-style: normal; }
.lato-black        { font-family: "Lato", sans-serif; font-weight: 900; font-style: normal; }

.lato-thin-italic      { font-family: "Lato", sans-serif; font-weight: 100; font-style: italic; }
.lato-light-italic     { font-family: "Lato", sans-serif; font-weight: 300; font-style: italic; }
.lato-regular-italic   { font-family: "Lato", sans-serif; font-weight: 400; font-style: italic; }
.lato-bold-italic      { font-family: "Lato", sans-serif; font-weight: 700; font-style: italic; }
.lato-black-italic     { font-family: "Lato", sans-serif; font-weight: 900; font-style: italic; }

/* 🎯 Targeted Fixes */
#menu-item-6538 a {
    color: #d6d6d6 !important;
}

a[href*="photoscotland.net/wp-content/uploads/2021/09/Tales-of-the-Unex"] {
    color: #100400;
}


@font-face {
    font-family: 'ncf_icons';
    src: url('/wp-content/themes/oshin_child/fonts/ncf_icons.woff') format('woff');
    font-display: swap;
}

.photographer-wrapper {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 120px;
  z-index: 99;
}

#photographer-img {
  width: 100%;
  transform-origin: bottom left;
}

#camera-flash {
  position: absolute;
  top: 20%;
  left: 60%;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 60px 30px white;
  pointer-events: none;
}

/* Container for the security warning */
.security-warning-container {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    background-color: #fff3cd;
    border: 2px solid #f5c6cb;
    color: #721c24;
    border-radius: 8px;
    max-width: 90%;
    margin: 20px auto;
}

/* Flashing exclamation mark */
.flashing-icon {
    font-size: 50px;
    font-weight: bold;
    color: red;
    animation: flashing 1s infinite;
}

/* Flashing animation */
@keyframes flashing {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

      
/* ==========================================================
// ✅ Hosting Playfair Display Locally for Performance
// ========================================================== */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400; /* Regular weight */
  font-display: swap;
  src: url('/wp-content/themes/oshin_child/fonts/PlayfairDisplay-Regular.woff2') format('woff2');
}

/* ===== Oshin Layout Overrides ===== */
/* These override parent theme !important rules without editing parent files */

/* Fixed sidebar layout */
body.fixed-sidebar-page { padding: 0; }
body.fixed-sidebar-page #left-sidebar,
body.fixed-sidebar-page #right-sidebar { margin: 0; }

/* Custom scroll box adjustments */
.fixed-sidebar-page .mCustomScrollBox > .mCSB_scrollTools { right: -30px; }
.fixed-sidebar-page .mCustomScrollBox { overflow: visible; }

/* Header and widget spacing */
#header-wrap .be-button-wrap,
#header-wrap .be-shortcode,
#header-wrap .icon-shortcode,
.widget .be-button-wrap,
.widget .be-shortcode,
.widget .icon-shortcode { margin-bottom: 0; }

/* Background positioning */
.be-bg-cover,
.be-section { background-attachment: scroll; }
.be-bg-cover:not(.be-bg-parallax),
.be-section:not(.be-bg-parallax) { background-position: 50%; }

/* Fullscreen section padding */
.full-screen-section-wrap .be-section-pad {
  padding-top: 0;
  padding-bottom: 0;
  display: table-cell;
  vertical-align: middle;
}

/* Hide layout box container */
.layout-box-container { display: none; }

/* Blog date wrap adjustments */
.style1-blog .post-date-wrap {
  font-size: inherit;
  color: inherit;
  margin-bottom: 5px;
}

/* Column spacing */
.be-column-spacing .column-block { margin-bottom: 20px; }

/* Disable animations on mobile */
body.disable-css-animation-mobile .be-animate,
body.disable-css-animation-mobile .tatsu-animate {
  visibility: visible;
  animation-duration: 0s;
  animation-name: none;
}

/* Hide video section video */
.be-video-section video { display: none; }

.menu-falling-animate-controller {
    display: inline-block !important;
}


/* Hide Mobile Menu */
.sliderbar-menu-controller {
  display: inline-block !important;
}

/* Restore hamburger menu visibility only on mobile */
@media screen and (max-width: 1024px) {
    .mobile-nav-controller-wrap {
        display: inline-block !important;
    }
}

.landscape-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0;              /* No extra padding */
    font-family: "Garamond", serif;
    font-weight: 400;
    color: #222;
    line-height: 1.7;
}

.landscape-intro h1 {
    font-size: 2.2rem;
    margin-bottom: 0.4em;
    color: #111;
}

.landscape-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 1em;
    font-style: italic;
    color: #555;
    font-weight: 400;
}

.landscape-intro p {
    margin-bottom: 1.2em;
}

.landscape-intro strong {
    font-weight: 600;
}

.landscape-intro em {
    font-style: italic;
}

/* 🖼️ Font Awesome Icons Compatibility */
@font-face {
    font-family: 'FontAwesome';
    src: url('/wp-content/themes/oshin_child/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
         url('/wp-content/themes/oshin_child/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;  /* Ensures font is visible immediately */
}

/* 🖼️ Font Awesome Icons Compatibility */
.fas, .fab, .far, .fa {
    font-family: 'FontAwesome' !important;
}

/* Desktop only: fixed dimensions to eliminate layout shift */
@media (min-width: 1025px) {
  #photographer-img {
    width: 150px;          /* fixed width on desktop */
    height: auto;          /* scale height naturally */
    aspect-ratio: 1 / 1;   /* enforce square if needed */
    object-fit: cover;     /* crops gracefully if mismatch */
  }
}

.logo-stars .star {
  position: absolute;
  width: 2px;   /* center dot */
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* Spike lines using ::before, ::after, plus two extra for diagonals */
.logo-stars .star::before,
.logo-stars .star::after,
.logo-stars .star .diag1,
.logo-stars .star .diag2 {
  content: '';
  position: absolute;
  background: white;
  width: 2px;
  height: 6px; /* length of spike */
  top: 50%;
  left: 50%;
  transform-origin: center;
}

/* vertical spike */
.logo-stars .star::before {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* horizontal spike */
.logo-stars .star::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* diagonal spikes */
.logo-stars .star .diag1 {
  transform: translate(-50%, -50%) rotate(45deg);
}
.logo-stars .star .diag2 {
  transform: translate(-50%, -50%) rotate(135deg);
}