/* --------------------------
   Resource title
--------------------------- */
.resource-name {
    font-family: "Montserrat", sans-serif;
    font-size: 20px !important;
    color: #000 !important; /* RAL comment */
}

/* --------------------------
   Global background
--------------------------- */
html,
body,
.oc-container,
.oc-pusher {
    background-color: #ffffff !important;
}

/* --------------------------
   Header / Top Row / Logo / Button
--------------------------- */

/* Make sure the whole header bar is purple, not black */
header,
.oc-header,
.site-header {
    background-color: #672483 !important;
    padding: 10px 40px; 
    position: relative;
}
header:before {
    background-color: #672483;
}

/* Row with logo + button */
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* logo + button grouped on the left */
    gap: 24px;
    padding: 0;                  /* no extra vertical padding here */
}

/* Logo container */
.gumu-logo-wrapper {
    flex: 0 0 auto;             /* keep logo on the left */
}

/* Logo size – adjust height if needed */
.gumu-logo-wrapper img.gumu-logo {
    height: 100px;               /* try 72–80px for balance */
    width: auto;
    display: block;
}

/* Helper to right-align things if needed elsewhere */
.button-align-right {
    text-align: right;
}

/* Main button style */
.gumu-button {
    font-family: "Montserrat", sans-serif;
    padding: 10px 20px;
    background: #672483;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #ffffff;
}

/* Hover effect for main button */
.gumu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    background-color: #d31f88;
}

/* Header links */
header a:hover {
    text-decoration: none !important;
}


/* Hide off-canvas menu trigger & menu */
#oc-trigger,
#menu {
    display: none !important;
}

/* --------------------------
   Search form & standard buttons
--------------------------- */
#search-form input[type=text] {
    background-color: #FFFFFF;
    color: #000000;
    border: 0;
}

/* Keep default search position; theme likely floats it right already.
   If you want it vertically centered in the purple bar, you can add:
   #search-form { position:absolute; right:40px; top:50%; transform:translateY(-50%); }
*/

input[type=submit],
button,
.button {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 24px;
    background-color: #672483;
    text-align: center;
    padding: 6px;
    border-radius: 2px;
    color: #eeeeee;
    display: inline-block;
    font-weight: bold;
    border: 0;
    cursor: pointer;
}

a.advanced-search {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 24px;
    background-color: #672483;
    text-align: center;
    padding: 6px;
    border-radius: 2px;
    color: #eeeeee;
    display: inline-block;
    font-weight: bold;
    border: 0;
    cursor: pointer;
    float: right;
}

/* --------------------------
   Resource view
--------------------------- */
.resource.show #content > h2 + h3 {
    font-family: "Lora", serif;
    font-size: 16px;
    background-color: #000000;
    color: #e7e7e7;
    padding: 6px 12px;
    display: block;
    margin: 6px 0;
    line-height: 24px;
    width: calc(20% - 18px);
    float: left;
    text-align: right;
}

/* --------------------------
   Language switcher
--------------------------- */
.block-language-switcher ul.language-switcher {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.block-language-switcher ul.language-switcher li {
    font-size: 1rem;
}

.block-language-switcher ul.language-switcher a,
.block-language-switcher ul.language-switcher span {
    text-decoration: none;
    color: #004f57; /* your RAL color */
    font-weight: 600;
}

/* --------------------------
   Form field hiding
--------------------------- */
#resource-class {
    display: none !important;
}

#item-sets {
    display: none !important;
}

#has_media {
    display: none !important;
    pointer-events: none; /* optional */
}

label[for="has_media"] {
    display: none !important;
}

#id,
label[for="id"],
label[for="id"] ~ .collapsible,
label[for="id"] + a.expand {
    display: none !important;
}

/* --------------------------
   Footer Override
--------------------------- */
.gumu-footer {
    background-color: #f4f4f4;     /* light background */
    color: #333333;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #672483;
    font-size: 15px;
}

/* Footer Links */
.gumu-footer .footer-links a {
    margin-right: 20px;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
}

.gumu-footer .footer-links a:hover {
    color: #672483;
}

/* Social Buttons */
.gumu-footer .footer-social {
    display: flex;
    gap: 10px;
}

.gumu-footer .social-btn {
    background-color: #672483;
    color: #ffffff;
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.gumu-footer .social-btn:hover {
    background-color: #c81f82;  /* slightly darker */
}

.social-instagram {
    background-image: url("/themes/gumuTheme/asset/icons/instagram_icon.svg");
}

.social-facebook {
    background-image: url("/themes/gumuTheme/asset/icons/facebook_logo.svg");
}

.social-email {
    background-image: url("/themes/gumuTheme/asset/icons/email_logo.svg");
}
